Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e8f97ba7e | |||
| 56a32bfaff | |||
| 5ff0604d93 | |||
| d9ad1d6b0e | |||
| 563df98993 | |||
| e216b6b4f1 | |||
| d753f686ff | |||
| a1bd95caec | |||
| 50425b052f | |||
| 12d1348ff6 | |||
| 737888f098 | |||
| 146f65797e | |||
| 47ddd5b0b2 | |||
| 1c3584790d | |||
| 8b7030eda5 | |||
| 782a2778cd |
@@ -7,7 +7,7 @@ jobs:
|
||||
build:
|
||||
runs-on: almalinux-8
|
||||
container:
|
||||
image: git.query.consul/unkin/almalinux9-actionsdind:latest
|
||||
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
|
||||
options: --privileged
|
||||
|
||||
steps:
|
||||
|
||||
@@ -9,7 +9,7 @@ jobs:
|
||||
build:
|
||||
runs-on: almalinux-8
|
||||
container:
|
||||
image: git.query.consul/unkin/almalinux9-actionsdind:latest
|
||||
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
|
||||
options: --privileged
|
||||
|
||||
steps:
|
||||
|
||||
@@ -4,7 +4,7 @@ LIBRARY_PATH := library
|
||||
SYMLINK_PREFIX := library_
|
||||
|
||||
# Docker registry variables
|
||||
REGISTRY := git.query.consul
|
||||
REGISTRY := git.unkin.net
|
||||
OWNER := unkin
|
||||
DATE_TAG := $(shell date +%Y%m%d)
|
||||
SUFFIX=$(shell basename $$(mktemp -u) | cut -d . -f 2)
|
||||
@@ -86,7 +86,7 @@ $(DIRS):
|
||||
export OS_IMAGE=$$(echo $@ | cut -d'/' -f3) && \
|
||||
export OS_VERSION_MAJOR=$$(echo $$OS_VERSION_FULL | cut -d'.' -f1) && \
|
||||
export DOCKER_SOURCE=$$OS_NAME:$$OS_VERSION_FULL && \
|
||||
export DOCKER_SERVER='git.query.consul' && \
|
||||
export DOCKER_SERVER='git.unkin.net' && \
|
||||
export INCUS_SOURCE="images:$$OS_NAME/$$OS_VERSION_MAJOR" && \
|
||||
export SUFFIX=$(SUFFIX) && \
|
||||
export GIT_COMMIT=$(GIT_COMMIT) && \
|
||||
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
deploy_files_from_common = true
|
||||
include_incus_client_certs = true
|
||||
docker_source = "git.query.consul/unkin/almalinux8-base:latest"
|
||||
docker_source = "git.unkin.net/unkin/almalinux8-base:latest"
|
||||
packages = [
|
||||
"bash",
|
||||
"consul",
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
20260106
|
||||
@@ -1 +1,2 @@
|
||||
docker
|
||||
incus
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[epel]
|
||||
name=epel repository
|
||||
baseurl=https://edgecache.query.consul/epel/8/Everything/x86_64
|
||||
gpgkey=https://edgecache.query.consul/epel/RPM-GPG-KEY-EPEL-8
|
||||
baseurl=https://packagerepo.service.consul/epel/8/everything-daily/x86_64/os/
|
||||
gpgkey=https://packagerepo.service.consul/epel/8/everything-daily/x86_64/os/RPM-GPG-KEY-EPEL-8
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
20260106
|
||||
@@ -1,5 +1,5 @@
|
||||
# almalinux/8.10/jupyterlab
|
||||
docker_source = "git.query.consul/unkin/almalinux8-base:latest"
|
||||
docker_source = "git.unkin.net/unkin/almalinux8-base:latest"
|
||||
deploy_files_from_common = true
|
||||
scripts_pre_file_copy = [
|
||||
"dnf install -y sudo",
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
20250608
|
||||
@@ -0,0 +1,4 @@
|
||||
[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
|
||||
@@ -0,0 +1,19 @@
|
||||
# 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"
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
20250712
|
||||
@@ -1,5 +1,5 @@
|
||||
# almalinux/8.10/rpmbuilder
|
||||
docker_source = "git.query.consul/unkin/almalinux8-base:latest"
|
||||
docker_source = "git.unkin.net/unkin/almalinux8-base:latest"
|
||||
packages = [
|
||||
"asciidoc",
|
||||
"autoconf",
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
20260106
|
||||
@@ -1 +0,0 @@
|
||||
20250525
|
||||
@@ -1,6 +0,0 @@
|
||||
[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
|
||||
@@ -1,6 +0,0 @@
|
||||
[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
|
||||
@@ -1,6 +0,0 @@
|
||||
[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
|
||||
@@ -1,6 +0,0 @@
|
||||
[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
|
||||
@@ -1,4 +0,0 @@
|
||||
[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
|
||||
@@ -1 +0,0 @@
|
||||
20250525
|
||||
@@ -1 +0,0 @@
|
||||
20250525
|
||||
@@ -1 +0,0 @@
|
||||
20250525
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
# almalinux/9.5/actionsdind
|
||||
# almalinux/9.6/actionsdind
|
||||
deploy_files_from_common = true
|
||||
include_incus_client_certs = true
|
||||
docker_source = "git.query.consul/unkin/almalinux9-base:latest"
|
||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
||||
packages = [
|
||||
"bash",
|
||||
"consul",
|
||||
@@ -9,8 +9,8 @@ packages = [
|
||||
"incus-client",
|
||||
"incus-tools",
|
||||
"nodejs",
|
||||
"opentofu",
|
||||
"packer",
|
||||
"terraform",
|
||||
"terragrunt",
|
||||
"unzip",
|
||||
"vault"
|
||||
@@ -0,0 +1 @@
|
||||
20260106
|
||||
@@ -0,0 +1,22 @@
|
||||
# almalinux/9.6/rpmbuilder
|
||||
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\"]"
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
20260110
|
||||
@@ -0,0 +1,2 @@
|
||||
docker
|
||||
incus
|
||||
@@ -0,0 +1,6 @@
|
||||
[appstream]
|
||||
name=appstream repository
|
||||
baseurl=https://packagerepo.service.consul/almalinux/9.6/appstream-daily/x86_64/os/
|
||||
gpgkey=https://packagerepo.service.consul/almalinux/9.6/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.6/baseos-daily/x86_64/os/
|
||||
gpgkey=https://packagerepo.service.consul/almalinux/9.6/baseos-daily/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
+2
-2
@@ -1,7 +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
|
||||
baseurl=https://packagerepo.service.consul/almalinux/9.6/crb-daily/x86_64/os/
|
||||
gpgkey=https://packagerepo.service.consul/almalinux/9.6/crb-daily/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
@@ -0,0 +1,6 @@
|
||||
[epel]
|
||||
name=epel repository
|
||||
baseurl=https://packagerepo.service.consul/epel/9/everything-daily/x86_64/os/
|
||||
gpgkey=https://packagerepo.service.consul/epel/9/everything-daily/x86_64/os/RPM-GPG-KEY-EPEL-9
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
@@ -0,0 +1,6 @@
|
||||
[extras]
|
||||
name=extras repository
|
||||
baseurl=https://packagerepo.service.consul/almalinux/9.6/extras-daily/x86_64/os/
|
||||
gpgkey=https://packagerepo.service.consul/almalinux/9.6/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.6/ha-daily/x86_64/os/
|
||||
gpgkey=https://packagerepo.service.consul/almalinux/9.6/ha-daily/x86_64/os/RPM-GPG-KEY-AlmaLinux-9
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# almalinux/9.5/base
|
||||
# almalinux/9.6/base
|
||||
deploy_files_from_image = true
|
||||
deploy_files_from_common = true
|
||||
use_incus = true
|
||||
@@ -0,0 +1 @@
|
||||
20260106
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# almalinux/9.5/jupyterlab
|
||||
deploy_files_from_common = true
|
||||
docker_source = "git.query.consul/unkin/almalinux9-base:latest"
|
||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
||||
scripts_pre_file_copy = [
|
||||
"dnf install -y sudo",
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
20250608
|
||||
@@ -0,0 +1,12 @@
|
||||
# almalinux/9.6/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"
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
20260110_2
|
||||
@@ -0,0 +1 @@
|
||||
incus
|
||||
@@ -0,0 +1,64 @@
|
||||
# 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
|
||||
@@ -0,0 +1 @@
|
||||
20250712
|
||||
@@ -0,0 +1 @@
|
||||
docker
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
# almalinux/9.5/rpmbuilder
|
||||
docker_source = "git.query.consul/unkin/almalinux9-base:latest"
|
||||
# almalinux/9.6/rpmbuilder
|
||||
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
|
||||
packages = [
|
||||
"asciidoc",
|
||||
"autoconf",
|
||||
@@ -0,0 +1 @@
|
||||
20260106
|
||||
@@ -6,7 +6,7 @@ packer {
|
||||
}
|
||||
incus = {
|
||||
source = "github.com/bketelsen/incus"
|
||||
version = "~> 1"
|
||||
version = "1.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user