Compare commits

..

1 Commits

Author SHA1 Message Date
unkinben ce5a322b21 feat: build artifactapi container
Build / build (pull_request) Successful in 4m23s
- update base/rpmbuilder/actionsdind containers
- build artifactapi container
- fix actionsdind list formatting
2026-01-06 23:13:29 +11:00
10 changed files with 7 additions and 33 deletions
@@ -1,8 +0,0 @@
#!/usr/bin/bash
set -e
mkdir /app
git clone --branch ${BRANCH} ${REPOSITORY} /app/repo
cd /app/repo
make run
+1 -1
View File
@@ -1 +1 @@
20260106
20250608
+1 -1
View File
@@ -1 +1 @@
20260106
20250712
+1 -1
View File
@@ -1 +1 @@
20260106
20250608
@@ -1,12 +1,9 @@
# 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",
"uv tool install uvx --from /app/artifactapi/dist/*.whl artifactapi",
"useradd -r -s /bin/sh appuser && chown -R appuser:appuser /app"
]
scripts_final = [
"dnf clean all",
@@ -16,7 +13,6 @@ 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 -1
View File
@@ -1 +1 @@
20260110
20260106
-1
View File
@@ -1 +0,0 @@
docker
@@ -1,12 +0,0 @@
# 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"
]
-1
View File
@@ -1 +0,0 @@
20260110_2
+1 -1
View File
@@ -6,7 +6,7 @@ packer {
}
incus = {
source = "github.com/bketelsen/incus"
version = "1.2.0"
version = "~> 1"
}
}
}