Compare commits
1 Commits
master
..
cd440a61b7
| Author | SHA1 | Date | |
|---|---|---|---|
| cd440a61b7 |
@@ -7,7 +7,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: almalinux-8
|
runs-on: almalinux-8
|
||||||
container:
|
container:
|
||||||
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
|
image: git.query.consul/unkin/almalinux9-actionsdind:latest
|
||||||
options: --privileged
|
options: --privileged
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: almalinux-8
|
runs-on: almalinux-8
|
||||||
container:
|
container:
|
||||||
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
|
image: git.query.consul/unkin/almalinux9-actionsdind:latest
|
||||||
options: --privileged
|
options: --privileged
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ LIBRARY_PATH := library
|
|||||||
SYMLINK_PREFIX := library_
|
SYMLINK_PREFIX := library_
|
||||||
|
|
||||||
# Docker registry variables
|
# Docker registry variables
|
||||||
REGISTRY := git.unkin.net
|
REGISTRY := git.query.consul
|
||||||
OWNER := unkin
|
OWNER := unkin
|
||||||
DATE_TAG := $(shell date +%Y%m%d)
|
DATE_TAG := $(shell date +%Y%m%d)
|
||||||
SUFFIX=$(shell basename $$(mktemp -u) | cut -d . -f 2)
|
SUFFIX=$(shell basename $$(mktemp -u) | cut -d . -f 2)
|
||||||
@@ -81,13 +81,12 @@ $(DIRS):
|
|||||||
# Build the image
|
# Build the image
|
||||||
@(cd $(IMAGES_PATH)/$@ && \
|
@(cd $(IMAGES_PATH)/$@ && \
|
||||||
export DATE=$(DATE_TAG) && \
|
export DATE=$(DATE_TAG) && \
|
||||||
export VERSION=$$(cat version) && \
|
|
||||||
export OS_NAME=$$(echo $@ | cut -d'/' -f1) && \
|
export OS_NAME=$$(echo $@ | cut -d'/' -f1) && \
|
||||||
export OS_VERSION_FULL=$$(echo $@ | cut -d'/' -f2) && \
|
export OS_VERSION_FULL=$$(echo $@ | cut -d'/' -f2) && \
|
||||||
export OS_IMAGE=$$(echo $@ | cut -d'/' -f3) && \
|
export OS_IMAGE=$$(echo $@ | cut -d'/' -f3) && \
|
||||||
export OS_VERSION_MAJOR=$$(echo $$OS_VERSION_FULL | cut -d'.' -f1) && \
|
export OS_VERSION_MAJOR=$$(echo $$OS_VERSION_FULL | cut -d'.' -f1) && \
|
||||||
export DOCKER_SOURCE=$$OS_NAME:$$OS_VERSION_FULL && \
|
export DOCKER_SOURCE=$$OS_NAME:$$OS_VERSION_FULL && \
|
||||||
export DOCKER_SERVER='git.unkin.net' && \
|
export DOCKER_SERVER='git.query.consul' && \
|
||||||
export INCUS_SOURCE="images:$$OS_NAME/$$OS_VERSION_MAJOR" && \
|
export INCUS_SOURCE="images:$$OS_NAME/$$OS_VERSION_MAJOR" && \
|
||||||
export SUFFIX=$(SUFFIX) && \
|
export SUFFIX=$(SUFFIX) && \
|
||||||
export GIT_COMMIT=$(GIT_COMMIT) && \
|
export GIT_COMMIT=$(GIT_COMMIT) && \
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ build {
|
|||||||
post-processors {
|
post-processors {
|
||||||
post-processor "docker-tag" {
|
post-processor "docker-tag" {
|
||||||
repository = "${var.docker_server}/unkin/${var.os_name}${var.os_version_major}-${var.os_image}"
|
repository = "${var.docker_server}/unkin/${var.os_name}${var.os_version_major}-${var.os_image}"
|
||||||
tags = ["latest", var.git_commit, var.version]
|
tags = ["latest", var.date]
|
||||||
}
|
}
|
||||||
|
|
||||||
dynamic "post-processor" {
|
dynamic "post-processor" {
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
mkdir /app
|
|
||||||
git clone --branch ${BRANCH} ${REPOSITORY} /app/repo
|
|
||||||
cd /app/repo
|
|
||||||
make run
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# almalinux/8.10/actionsdind
|
# almalinux/8.10/actionsdind
|
||||||
deploy_files_from_common = true
|
deploy_files_from_common = true
|
||||||
include_incus_client_certs = true
|
include_incus_client_certs = true
|
||||||
docker_source = "git.unkin.net/unkin/almalinux8-base:latest"
|
docker_source = "git.query.consul/unkin/almalinux8-base:latest"
|
||||||
packages = [
|
packages = [
|
||||||
"bash",
|
"bash",
|
||||||
"consul",
|
"consul",
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
20260117
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[appstream]
|
[appstream]
|
||||||
name=appstream repository
|
name=appstream repository
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux/8.10/AppStream/x86_64/os
|
baseurl=https://edgecache.query.consul/almalinux/8.10/AppStream/x86_64/os
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux/8.10/AppStream/x86_64/os/RPM-GPG-KEY-AlmaLinux-8
|
gpgkey=https://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[baseos]
|
[baseos]
|
||||||
name=baseos repository
|
name=baseos repository
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux/8.10/BaseOS/x86_64/os
|
baseurl=https://edgecache.query.consul/almalinux/8.10/BaseOS/x86_64/os
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux/8.10/BaseOS/x86_64/os/RPM-GPG-KEY-AlmaLinux-8
|
gpgkey=https://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[epel]
|
[epel]
|
||||||
name=epel repository
|
name=epel repository
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/epel/8/Everything/x86_64
|
baseurl=https://edgecache.query.consul/epel/8/Everything/x86_64
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/epel/RPM-GPG-KEY-EPEL-8
|
gpgkey=https://edgecache.query.consul/epel/RPM-GPG-KEY-EPEL-8
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
[extras]
|
||||||
|
name=extras repository
|
||||||
|
baseurl=https://edgecache.query.consul/almalinux/8.10/extras/x86_64/os
|
||||||
|
gpgkey=https://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
[ha]
|
[highavailability]
|
||||||
name=ha repository
|
name=highavailability repository
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux/8.10/HighAvailability/x86_64/os
|
baseurl=https://edgecache.query.consul/almalinux/8.10/HighAvailability/x86_64/os
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux/8.10/HighAvailability/x86_64/os/RPM-GPG-KEY-AlmaLinux-8
|
gpgkey=https://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# replaced by crb repo in EL9
|
# replaced by crb repo in EL9
|
||||||
[powertools]
|
[powertools]
|
||||||
name=powertools repository
|
name=powertools repository
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux/8.10/PowerTools/x86_64/os
|
baseurl=https://edgecache.query.consul/almalinux/8.10/PowerTools/x86_64/os
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux/8.10/PowerTools/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
gpgkey=https://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[unkin]
|
[unkin]
|
||||||
name=unkin repository
|
name=unkin repository
|
||||||
baseurl=https://git.unkin.net/api/packages/unkin/rpm/almalinux/el8
|
baseurl=https://git.query.consul/api/packages/unkin/rpm/almalinux/el8
|
||||||
gpgkey=https://git.unkin.net/api/packages/unkin/rpm/repository.key
|
gpgkey=https://git.query.consul/api/packages/unkin/rpm/repository.key
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=0
|
gpgcheck=0
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# only available on EL8
|
# only available on EL8
|
||||||
[unkinben]
|
[unkinben]
|
||||||
name=unkinben repository
|
name=unkinben repository
|
||||||
baseurl=https://git.unkin.net/api/packages/unkinben/rpm/el8
|
baseurl=https://git.query.consul/api/packages/unkinben/rpm/el8
|
||||||
gpgkey=https://git.unkin.net/api/packages/unkinben/rpm/repository.key
|
gpgkey=https://git.query.consul/api/packages/unkinben/rpm/repository.key
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=0
|
gpgcheck=0
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ packages = [
|
|||||||
]
|
]
|
||||||
scripts_pre_file_copy = [
|
scripts_pre_file_copy = [
|
||||||
"rm -f /etc/yum.repos.d/*.repo",
|
"rm -f /etc/yum.repos.d/*.repo",
|
||||||
"curl -k -o internal-ca-certificates.rpm https://git.unkin.net/unkin/-/packages/rpm/internal-ca-certificates/20240825-1.el8/files/756 && rpm -i internal-ca-certificates.rpm"
|
"curl -k -o internal-ca-certificates.rpm https://git.query.consul/unkin/-/packages/rpm/internal-ca-certificates/20240825-1.el8/files/756 && rpm -i internal-ca-certificates.rpm"
|
||||||
]
|
]
|
||||||
scripts_pre_packages = [
|
scripts_pre_packages = [
|
||||||
"dnf makecache",
|
"dnf makecache",
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
20260516
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# almalinux/8.10/jupyterlab
|
# almalinux/8.10/jupyterlab
|
||||||
docker_source = "git.unkin.net/unkin/almalinux8-base:latest"
|
docker_source = "git.query.consul/unkin/almalinux8-base:latest"
|
||||||
deploy_files_from_common = true
|
deploy_files_from_common = true
|
||||||
scripts_pre_file_copy = [
|
scripts_pre_file_copy = [
|
||||||
"dnf install -y sudo",
|
"dnf install -y sudo",
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
20260117
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
[puppet]
|
|
||||||
name=puppet repository
|
|
||||||
baseurl=https://packagerepo.service.consul/puppet7/el/8-daily/x86_64/os/
|
|
||||||
gpgkey=https://packagerepo.service.consul/puppet7/el/8-daily/x86_64/os/RPM-GPG-KEY-puppet-20250406
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
# almalinux/8.10/puppet-base
|
|
||||||
incus_source = "almalinux8/base/latest"
|
|
||||||
deploy_files_from_image = true
|
|
||||||
use_incus = true
|
|
||||||
packages = [
|
|
||||||
"htop",
|
|
||||||
"openssh-server",
|
|
||||||
"puppet-agent",
|
|
||||||
"puppet-initial"
|
|
||||||
]
|
|
||||||
scripts_pre_packages = [
|
|
||||||
"dnf makecache",
|
|
||||||
"dnf update -y",
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf",
|
|
||||||
"systemctl enable sshd"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20250712
|
|
||||||
@@ -1,12 +1,11 @@
|
|||||||
# almalinux/8.10/rpmbuilder
|
# almalinux/8.10/rpmbuilder
|
||||||
docker_source = "git.unkin.net/unkin/almalinux8-base:latest"
|
docker_source = "git.query.consul/unkin/almalinux8-base:latest"
|
||||||
packages = [
|
packages = [
|
||||||
"asciidoc",
|
"asciidoc",
|
||||||
"autoconf",
|
"autoconf",
|
||||||
"automake",
|
"automake",
|
||||||
"binutils",
|
"binutils",
|
||||||
"bison",
|
"bison",
|
||||||
"buildah",
|
|
||||||
"byacc",
|
"byacc",
|
||||||
"cmake",
|
"cmake",
|
||||||
"diffstat",
|
"diffstat",
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
20260117
|
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
# almalinux/9.7/actionsdind
|
# almalinux/9.5/actionsdind
|
||||||
deploy_files_from_common = true
|
deploy_files_from_common = true
|
||||||
include_incus_client_certs = true
|
include_incus_client_certs = true
|
||||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
docker_source = "git.query.consul/unkin/almalinux9-base:latest"
|
||||||
packages = [
|
packages = [
|
||||||
"bash",
|
"bash",
|
||||||
"consul",
|
"consul",
|
||||||
@@ -9,8 +9,8 @@ packages = [
|
|||||||
"incus-client",
|
"incus-client",
|
||||||
"incus-tools",
|
"incus-tools",
|
||||||
"nodejs",
|
"nodejs",
|
||||||
"opentofu",
|
|
||||||
"packer",
|
"packer",
|
||||||
|
"terraform",
|
||||||
"terragrunt",
|
"terragrunt",
|
||||||
"unzip",
|
"unzip",
|
||||||
"vault"
|
"vault"
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
20250525
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[appstream]
|
||||||
|
name=appstream repository
|
||||||
|
baseurl=https://packagerepo.service.consul/almalinux/9.5/appstream-daily/x86_64/os/
|
||||||
|
gpgkey=https://packagerepo.service.consul/almalinux/9.5/appstream-daily/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=1
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[baseos]
|
||||||
|
name=baseos repository
|
||||||
|
baseurl=https://packagerepo.service.consul/almalinux/9.5/baseos-daily/x86_64/os/
|
||||||
|
gpgkey=https://packagerepo.service.consul/almalinux/9.5/baseos-daily/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=1
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# new repo for EL9+, replaces PowerTools repo
|
||||||
|
[crb]
|
||||||
|
name=crb repository
|
||||||
|
baseurl=https://packagerepo.service.consul/almalinux/9.5/crb-daily/x86_64/os/
|
||||||
|
gpgkey=https://packagerepo.service.consul/almalinux/9.5/crb-daily/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=1
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[epel]
|
||||||
|
name=epel repository
|
||||||
|
baseurl=https://edgecache.query.consul/epel/9/Everything/x86_64
|
||||||
|
gpgkey=https://edgecache.query.consul/epel/RPM-GPG-KEY-EPEL-9
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=1
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[extras]
|
||||||
|
name=extras repository
|
||||||
|
baseurl=https://packagerepo.service.consul/almalinux/9.5/extras-daily/x86_64/os/
|
||||||
|
gpgkey=https://packagerepo.service.consul/almalinux/9.5/extras-daily/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=1
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
[ha]
|
||||||
|
name=ha repository
|
||||||
|
baseurl=https://packagerepo.service.consul/almalinux/9.5/ha-daily/x86_64/os/
|
||||||
|
gpgkey=https://packagerepo.service.consul/almalinux/9.5/ha-daily/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[unkin]
|
||||||
|
name=unkin repository
|
||||||
|
baseurl=https://git.query.consul/api/packages/unkin/rpm/almalinux/el9
|
||||||
|
gpgkey=https://git.query.consul/api/packages/unkin/rpm/repository.key
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
# almalinux/9.7/base
|
# almalinux/9.5/base
|
||||||
deploy_files_from_image = true
|
deploy_files_from_image = true
|
||||||
deploy_files_from_common = true
|
deploy_files_from_common = true
|
||||||
use_incus = true
|
use_incus = true
|
||||||
@@ -16,7 +16,7 @@ packages = [
|
|||||||
]
|
]
|
||||||
scripts_pre_file_copy = [
|
scripts_pre_file_copy = [
|
||||||
"rm -f /etc/yum.repos.d/*.repo",
|
"rm -f /etc/yum.repos.d/*.repo",
|
||||||
"curl -k -o internal-ca-certificates.rpm https://git.unkin.net/unkin/-/packages/rpm/internal-ca-certificates/20240825-1.el8/files/756 && rpm -i internal-ca-certificates.rpm"
|
"curl -k -o internal-ca-certificates.rpm https://git.query.consul/unkin/-/packages/rpm/internal-ca-certificates/20240825-1.el8/files/756 && rpm -i internal-ca-certificates.rpm"
|
||||||
]
|
]
|
||||||
scripts_pre_packages = [
|
scripts_pre_packages = [
|
||||||
"dnf makecache",
|
"dnf makecache",
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
20250525
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
# almalinux/9.7/jupyterlab
|
# almalinux/9.5/jupyterlab
|
||||||
deploy_files_from_common = true
|
deploy_files_from_common = true
|
||||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
docker_source = "git.query.consul/unkin/almalinux9-base:latest"
|
||||||
scripts_pre_file_copy = [
|
scripts_pre_file_copy = [
|
||||||
"dnf install -y sudo",
|
"dnf install -y sudo",
|
||||||
]
|
]
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
20250525
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
[puppet]
|
||||||
|
name=puppet repository
|
||||||
|
baseurl=https://packagerepo.service.consul/puppet7/el/9-daily/x86_64/os/
|
||||||
|
gpgkey=https://packagerepo.service.consul/puppet7/el/9-daily/x86_64/os/RPM-GPG-KEY-puppet-20250406
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
# almalinux/9.7/puppet-base
|
# almalinux/9.5/puppet-base
|
||||||
incus_source = "almalinux9/base/latest"
|
incus_source = "almalinux9/base/latest"
|
||||||
deploy_files_from_image = true
|
deploy_files_from_image = true
|
||||||
use_incus = true
|
use_incus = true
|
||||||
+2
-3
@@ -1,12 +1,11 @@
|
|||||||
# fedora/44/rpmbuilder
|
# almalinux/9.5/rpmbuilder
|
||||||
docker_source = "git.unkin.net/unkin/fedora44-base:latest"
|
docker_source = "git.query.consul/unkin/almalinux9-base:latest"
|
||||||
packages = [
|
packages = [
|
||||||
"asciidoc",
|
"asciidoc",
|
||||||
"autoconf",
|
"autoconf",
|
||||||
"automake",
|
"automake",
|
||||||
"binutils",
|
"binutils",
|
||||||
"bison",
|
"bison",
|
||||||
"buildah",
|
|
||||||
"byacc",
|
"byacc",
|
||||||
"cmake",
|
"cmake",
|
||||||
"diffstat",
|
"diffstat",
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
20250525
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260606
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
# almalinux/9.7/artifactapi
|
|
||||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
|
||||||
packages = [
|
|
||||||
"sudo"
|
|
||||||
]
|
|
||||||
scripts_post_packages = [
|
|
||||||
"git clone https://git.unkin.net/unkin/artifactapi.git /app/artifactapi && uv build --wheel /app/artifactapi",
|
|
||||||
"useradd -m -r -s /bin/sh appuser && chown -R appuser:appuser /app",
|
|
||||||
"sudo -u appuser uv tool install --from /app/artifactapi/dist/*.whl artifactapi",
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
docker_changes = [
|
|
||||||
"EXPOSE 8000",
|
|
||||||
"HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:8000/health || exit 1",
|
|
||||||
"USER appuser",
|
|
||||||
"ENV PATH=\"/home/appuser/.local/bin:$PATH\"",
|
|
||||||
"WORKDIR /app",
|
|
||||||
"CMD [\"artifactapi\"]"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
2.1.2
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[appstream]
|
|
||||||
name=appstream repository
|
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux-vault/9.7/AppStream/x86_64/os
|
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux-vault/9.7/AppStream/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[baseos]
|
|
||||||
name=baseos repository
|
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux-vault/9.7/BaseOS/x86_64/os
|
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux-vault/9.7/BaseOS/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# new repo for EL9+, replaces PowerTools repo
|
|
||||||
[crb]
|
|
||||||
name=crb repository
|
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux-vault/9.7/CRB/x86_64/os
|
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux-vault/9.7/CRB/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[epel]
|
|
||||||
name=epel repository
|
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/epel/9/Everything/x86_64
|
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/epel/RPM-GPG-KEY-EPEL-9
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[ha]
|
|
||||||
name=ha repository
|
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux-vault/9.7/HighAvailability/x86_64/os
|
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/almalinux-vault/9.7/HighAvailability/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[unkin]
|
|
||||||
name=unkin repository
|
|
||||||
baseurl=https://git.unkin.net/api/packages/unkin/rpm/almalinux/el9
|
|
||||||
gpgkey=https://git.unkin.net/api/packages/unkin/rpm/repository.key
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=0
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260606
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
# almalinux/9.7/makerun
|
|
||||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
|
||||||
packages = [
|
|
||||||
"g10k"
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
docker_changes = [
|
|
||||||
"CMD /usr/bin/g10k -config /etc/puppetlabs/r10k.yaml"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260606
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# almalinux/9.7/gobuilder
|
|
||||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
|
||||||
packages = [
|
|
||||||
"go",
|
|
||||||
"nfpm"
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260606
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260606
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# almalinux/9.7/makerun
|
|
||||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
|
||||||
packages = [
|
|
||||||
"kubeconform",
|
|
||||||
"kustomize",
|
|
||||||
"helm-4.0.5-1"
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260606
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
# almalinux/9.7/makerun
|
|
||||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
|
||||||
packages = [
|
|
||||||
"sudo"
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
docker_changes = [
|
|
||||||
"CMD /usr/local/bin/run.sh"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260606
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# almalinux/9.7/makerun
|
|
||||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
|
||||||
packages = [
|
|
||||||
"opentofu",
|
|
||||||
"tflint",
|
|
||||||
"terragrunt"
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260606
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
incus
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
|
||||||
# The parser is also very primitive, and not human-friendly.
|
|
||||||
htop_version=3.3.0
|
|
||||||
config_reader_min_version=3
|
|
||||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
|
||||||
hide_kernel_threads=1
|
|
||||||
hide_userland_threads=0
|
|
||||||
hide_running_in_container=0
|
|
||||||
shadow_other_users=0
|
|
||||||
show_thread_names=0
|
|
||||||
show_program_path=1
|
|
||||||
highlight_base_name=0
|
|
||||||
highlight_deleted_exe=1
|
|
||||||
shadow_distribution_path_prefix=0
|
|
||||||
highlight_megabytes=1
|
|
||||||
highlight_threads=1
|
|
||||||
highlight_changes=0
|
|
||||||
highlight_changes_delay_secs=5
|
|
||||||
find_comm_in_cmdline=1
|
|
||||||
strip_exe_from_cmdline=1
|
|
||||||
show_merged_command=0
|
|
||||||
header_margin=1
|
|
||||||
screen_tabs=1
|
|
||||||
detailed_cpu_time=0
|
|
||||||
cpu_count_from_one=0
|
|
||||||
show_cpu_usage=1
|
|
||||||
show_cpu_frequency=0
|
|
||||||
show_cpu_temperature=0
|
|
||||||
degree_fahrenheit=0
|
|
||||||
update_process_names=0
|
|
||||||
account_guest_in_cpu_meter=0
|
|
||||||
color_scheme=0
|
|
||||||
enable_mouse=1
|
|
||||||
delay=15
|
|
||||||
hide_function_bar=0
|
|
||||||
topology_affinity=0
|
|
||||||
header_layout=two_50_50
|
|
||||||
column_meters_0=CPU Memory Swap DiskIO
|
|
||||||
column_meter_modes_0=1 1 1 2
|
|
||||||
column_meters_1=Tasks LoadAverage Uptime NetworkIO
|
|
||||||
column_meter_modes_1=2 2 2 2
|
|
||||||
tree_view=1
|
|
||||||
sort_key=46
|
|
||||||
tree_sort_key=0
|
|
||||||
sort_direction=-1
|
|
||||||
tree_sort_direction=1
|
|
||||||
tree_view_always_by_pid=0
|
|
||||||
all_branches_collapsed=0
|
|
||||||
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
|
||||||
.sort_key=PERCENT_CPU
|
|
||||||
.tree_sort_key=PID
|
|
||||||
.tree_view_always_by_pid=0
|
|
||||||
.tree_view=1
|
|
||||||
.sort_direction=-1
|
|
||||||
.tree_sort_direction=1
|
|
||||||
.all_branches_collapsed=0
|
|
||||||
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
|
|
||||||
.sort_key=IO_RATE
|
|
||||||
.tree_sort_key=PID
|
|
||||||
.tree_view_always_by_pid=0
|
|
||||||
.tree_view=0
|
|
||||||
.sort_direction=-1
|
|
||||||
.tree_sort_direction=1
|
|
||||||
.all_branches_collapsed=0
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[puppet]
|
|
||||||
name=puppet repository
|
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/openvox/openvox7/el/9/x86_64
|
|
||||||
gpgkey=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/openvox/GPG-KEY-openvox.pub
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260112
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
# almalinux/9.7/puppet-validator
|
|
||||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
|
||||||
packages = [
|
|
||||||
"rubygems",
|
|
||||||
"ruby-devel",
|
|
||||||
"gcc",
|
|
||||||
"make",
|
|
||||||
"redhat-rpm-config",
|
|
||||||
"glibc-headers",
|
|
||||||
"glibc-devel",
|
|
||||||
"libffi",
|
|
||||||
"libffi-devel"
|
|
||||||
]
|
|
||||||
scripts_pre_packages = [
|
|
||||||
"dnf -y group install \"Development Tools\""
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260317
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
# almalinux/9.7/rpmbuilder
|
|
||||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
|
||||||
packages = [
|
|
||||||
"asciidoc",
|
|
||||||
"autoconf",
|
|
||||||
"automake",
|
|
||||||
"binutils",
|
|
||||||
"bison",
|
|
||||||
"buildah",
|
|
||||||
"byacc",
|
|
||||||
"cmake",
|
|
||||||
"diffstat",
|
|
||||||
"flex",
|
|
||||||
"gcc",
|
|
||||||
"gcc-c++",
|
|
||||||
"gdb",
|
|
||||||
"glibc-devel",
|
|
||||||
"go",
|
|
||||||
"gzip",
|
|
||||||
"intltool",
|
|
||||||
"jna",
|
|
||||||
"ltrace",
|
|
||||||
"nfpm",
|
|
||||||
"patchutils",
|
|
||||||
"perl-Fedora-VSP",
|
|
||||||
"perl-generators",
|
|
||||||
"pesign",
|
|
||||||
"pkgconf",
|
|
||||||
"pkgconf-m4",
|
|
||||||
"pkgconf-pkg-config",
|
|
||||||
"redhat-rpm-config",
|
|
||||||
"rpm",
|
|
||||||
"rpm-build",
|
|
||||||
"rpm-sign",
|
|
||||||
"rpmdevtools",
|
|
||||||
"rpmlint",
|
|
||||||
"source-highlight",
|
|
||||||
"strace",
|
|
||||||
"systemtap",
|
|
||||||
"tar",
|
|
||||||
"valgrind",
|
|
||||||
"valgrind-devel",
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260606
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[updates]
|
|
||||||
name=Fedora 42 - x86_64 - Updates
|
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/fedora/updates/42/Everything/x86_64
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-42-primary
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[fedora]
|
|
||||||
name=Fedora 42 - x86_64
|
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/fedora/releases/42/Everything/x86_64/os
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-42-primary
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[gitea-unkin-fedora-42]
|
|
||||||
name=Unkin Fedora 42
|
|
||||||
baseurl=https://git.unkin.net/api/packages/unkin/rpm/fedora/42
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://git.unkin.net/api/packages/unkin/rpm/repository.key
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
# fedora/42/base
|
|
||||||
docker_source = "artifactapi.k8s.syd1.au.unkin.net/dockerhub/library/fedora:42"
|
|
||||||
deploy_files_from_image = true
|
|
||||||
deploy_files_from_common = false
|
|
||||||
scripts_pre_file_copy = [
|
|
||||||
"rm -f /etc/yum.repos.d/*.repo",
|
|
||||||
"curl -sk -o unkin-ca-certificates.rpm https://git.unkin.net/unkin/-/packages/rpm/unkin-ca-certificates/2025.7.13-1.fc42/files/15674 && rpm -i unkin-ca-certificates.rpm",
|
|
||||||
]
|
|
||||||
packages = [
|
|
||||||
"git",
|
|
||||||
"jq",
|
|
||||||
"make",
|
|
||||||
"python3",
|
|
||||||
"python3-pip",
|
|
||||||
"wget",
|
|
||||||
]
|
|
||||||
scripts_pre_packages = [
|
|
||||||
"dnf makecache",
|
|
||||||
"dnf update -y",
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260521
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
# fedora/42/rpmbuilder
|
|
||||||
docker_source = "git.unkin.net/unkin/fedora42-base:latest"
|
|
||||||
packages = [
|
|
||||||
"asciidoc",
|
|
||||||
"autoconf",
|
|
||||||
"automake",
|
|
||||||
"binutils",
|
|
||||||
"bison",
|
|
||||||
"buildah",
|
|
||||||
"byacc",
|
|
||||||
"cmake",
|
|
||||||
"diffstat",
|
|
||||||
"flex",
|
|
||||||
"gcc",
|
|
||||||
"gcc-c++",
|
|
||||||
"gdb",
|
|
||||||
"glibc-devel",
|
|
||||||
"go",
|
|
||||||
"gzip",
|
|
||||||
"intltool",
|
|
||||||
"jna",
|
|
||||||
"ltrace",
|
|
||||||
"nfpm",
|
|
||||||
"patchutils",
|
|
||||||
"perl-Fedora-VSP",
|
|
||||||
"perl-generators",
|
|
||||||
"pesign",
|
|
||||||
"pkgconf",
|
|
||||||
"pkgconf-m4",
|
|
||||||
"pkgconf-pkg-config",
|
|
||||||
"redhat-rpm-config",
|
|
||||||
"rpm",
|
|
||||||
"rpm-build",
|
|
||||||
"rpm-sign",
|
|
||||||
"rpmdevtools",
|
|
||||||
"rpmlint",
|
|
||||||
"source-highlight",
|
|
||||||
"strace",
|
|
||||||
"systemtap",
|
|
||||||
"tar",
|
|
||||||
"valgrind",
|
|
||||||
"valgrind-devel",
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260521
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[updates]
|
|
||||||
name=Fedora 43 - x86_64 - Updates
|
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/fedora/updates/43/Everything/x86_64
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-43-primary
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[fedora]
|
|
||||||
name=Fedora 43 - x86_64
|
|
||||||
baseurl=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/fedora/releases/43/Everything/x86_64/os
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-43-primary
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[gitea-unkin-fedora-43]
|
|
||||||
name=Unkin Fedora 43
|
|
||||||
baseurl=https://git.unkin.net/api/packages/unkin/rpm/fedora/43
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://git.unkin.net/api/packages/unkin/rpm/repository.key
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
# fedora/43/base
|
|
||||||
docker_source = "artifactapi.k8s.syd1.au.unkin.net/dockerhub/library/fedora:43"
|
|
||||||
deploy_files_from_image = true
|
|
||||||
deploy_files_from_common = false
|
|
||||||
scripts_pre_file_copy = [
|
|
||||||
"rm -f /etc/yum.repos.d/*.repo",
|
|
||||||
"curl -sk -o unkin-ca-certificates.rpm https://git.unkin.net/unkin/-/packages/rpm/unkin-ca-certificates/2025.7.13-1.fc43/files/15602 && rpm -i unkin-ca-certificates.rpm",
|
|
||||||
]
|
|
||||||
packages = [
|
|
||||||
"git",
|
|
||||||
"jq",
|
|
||||||
"make",
|
|
||||||
"python3",
|
|
||||||
"python3-pip",
|
|
||||||
"wget",
|
|
||||||
]
|
|
||||||
scripts_pre_packages = [
|
|
||||||
"dnf makecache",
|
|
||||||
"dnf update -y",
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
20260521
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
docker
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
# fedora/43/rpmbuilder
|
|
||||||
docker_source = "git.unkin.net/unkin/fedora43-base:latest"
|
|
||||||
packages = [
|
|
||||||
"asciidoc",
|
|
||||||
"autoconf",
|
|
||||||
"automake",
|
|
||||||
"binutils",
|
|
||||||
"bison",
|
|
||||||
"buildah",
|
|
||||||
"byacc",
|
|
||||||
"cmake",
|
|
||||||
"diffstat",
|
|
||||||
"flex",
|
|
||||||
"gcc",
|
|
||||||
"gcc-c++",
|
|
||||||
"gdb",
|
|
||||||
"glibc-devel",
|
|
||||||
"go",
|
|
||||||
"gzip",
|
|
||||||
"intltool",
|
|
||||||
"jna",
|
|
||||||
"ltrace",
|
|
||||||
"nfpm",
|
|
||||||
"patchutils",
|
|
||||||
"perl-Fedora-VSP",
|
|
||||||
"perl-generators",
|
|
||||||
"pesign",
|
|
||||||
"pkgconf",
|
|
||||||
"pkgconf-m4",
|
|
||||||
"pkgconf-pkg-config",
|
|
||||||
"redhat-rpm-config",
|
|
||||||
"rpm",
|
|
||||||
"rpm-build",
|
|
||||||
"rpm-sign",
|
|
||||||
"rpmdevtools",
|
|
||||||
"rpmlint",
|
|
||||||
"source-highlight",
|
|
||||||
"strace",
|
|
||||||
"systemtap",
|
|
||||||
"tar",
|
|
||||||
"valgrind",
|
|
||||||
"valgrind-devel",
|
|
||||||
]
|
|
||||||
scripts_final = [
|
|
||||||
"dnf clean all",
|
|
||||||
"rm -rf /var/cache/dnf"
|
|
||||||
]
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user