Compare commits

..

6 Commits

Author SHA1 Message Date
b47aeca8fb Merge pull request 'chore(deps): update terraform proxmox to v3.0.2-rc05' (#10) from renovate/proxmox-3.x into master
Reviewed-on: #10
2025-10-23 20:56:43 +10:00
Renovate Bot
64bc6c60e9 chore(deps): update terraform proxmox to v3.0.2-rc05
| datasource         | package         | from       | to         |
| ------------------ | --------------- | ---------- | ---------- |
| terraform-provider | telmate/proxmox | 3.0.2-rc04 | 3.0.2-rc05 |
2025-10-20 02:06:05 +00:00
e87c8292b1 chore: add cron script to pull images 2025-10-12 15:55:16 +10:00
5481bdae36 chore: update alpine-latest image link 2025-10-09 22:30:04 +10:00
9ff01a0f4e Merge pull request 'chore(deps): update gitea/act_runner docker tag to v0.2.13' (#9) from renovate/gitea-act_runner-0.x into master
Reviewed-on: #9
2025-10-08 20:27:39 +10:00
Renovate Bot
19d36825c6 chore(deps): update gitea/act_runner docker tag to v0.2.13
| datasource | package          | from   | to     |
| ---------- | ---------------- | ------ | ------ |
| docker     | gitea/act_runner | 0.2.12 | 0.2.13 |
2025-10-08 10:26:59 +00:00
3 changed files with 43 additions and 5 deletions

View File

@@ -24,7 +24,7 @@
- name: Create the gitea-runner container - name: Create the gitea-runner container
docker_container: docker_container:
name: gitea-runner name: gitea-runner
image: gitea/act_runner:0.2.12 image: gitea/act_runner:0.2.13
restart_policy: unless-stopped restart_policy: unless-stopped
recreate: true recreate: true
# dns_servers: # dns_servers:
@@ -41,4 +41,42 @@
GITEA_INSTANCE_URL: "https://git.comprofix.com" GITEA_INSTANCE_URL: "https://git.comprofix.com"
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ GITEA_RUNNER_TOKEN }}" GITEA_RUNNER_REGISTRATION_TOKEN: "{{ GITEA_RUNNER_TOKEN }}"
GITEA_RUNNER_NAME: "gtar-runner" GITEA_RUNNER_NAME: "gtar-runner"
GITEA_RUNNER_LABELS: "alpine-latest:docker://alpine:latest,ubuntu-latest:docker://node:22-trixie,gtar-latest:docker://git.comprofix.com/mmckinnon/debian-latest:latest" GITEA_RUNNER_LABELS: "alpine-latest:docker://git.comprofix.com/mmckinnon/alpine-runner:latest,ubuntu-latest:docker://node:22-trixie,homelab-latest:docker://git.comprofix.com/mmckinnon/debian-latest:latest"
- name: Create pull-ci-images.sh script
copy:
dest: /usr/local/bin/pull-ci-images.sh
mode: '0755'
owner: root
group: root
content: |
#!/bin/bash
set -euo pipefail
IMAGES=(
"ghcr.io/renovatebot/renovate:latest"
"git.comprofix.com/mmckinnon/alpine-runner:latest"
"git.comprofix.com/mmckinnon/debian-latest:latest"
"node:22-trixie"
"catthehacker/ubuntu:act-latest"
)
echo "Starting image pull at $(date)"
for image in "${IMAGES[@]}"; do
echo "Pulling $image..."
docker pull "$image"
done
echo "Pruning old images..."
docker image prune -af --filter "until=168h"
echo "Image pull completed at $(date)"
- name: Ensure cron job for pulling CI images exists
cron:
name: "Pull latest CI images daily"
user: "{{ ansible_user_id }}"
job: "/usr/local/bin/pull-ci-images.sh >> /var/log/pull-ci-images.log 2>&1"
hour: 2
minute: 0

View File

@@ -18,12 +18,12 @@ resource "proxmox_lxc" "gtar" {
${var.ssh_key} ${var.ssh_key}
EOF EOF
memory = "4096" memory = "8192"
swap = "512" swap = "512"
rootfs { rootfs {
storage = "local" storage = "local"
size = "8G" size = "20G"
} }
features { features {

View File

@@ -2,7 +2,7 @@ terraform {
required_providers { required_providers {
proxmox = { proxmox = {
source = "telmate/proxmox" source = "telmate/proxmox"
version = "3.0.2-rc04" version = "3.0.2-rc05"
} }
} }