3 Commits

Author SHA1 Message Date
unkin-agent 0105cd5573 ci: fetch terraform from artifactapi instead of dnf install
Build / build (pull_request) Failing after 13m48s
dnf install reads metadata for every enabled repo and downloads the
vendored terraform RPM on every pipeline run. Fetch the pinned upstream
zip from the artifactapi hashicorp-releases remote instead, matching the
vault pattern in terraform-vault and terraform-artifactapi.

- Replace dnf install terraform with a pinned curl of the terraform
  1.15.0 zip (same version as the vendored RPM) from the artifactapi
  hashicorp-releases remote, extracted to /usr/local/bin.
2026-08-23 22:39:20 +10:00
unkinben 6edda8ef32 Merge pull request 'chore: resize puppetdb disk size' (#38) from benvin/resize_disks into master
Deploy / deploy (push) Successful in 4m23s
Reviewed-on: #38
2026-04-14 22:21:58 +10:00
unkinben 6f51b89e6a chore: resize puppetdb disk size
Build / build (pull_request) Successful in 3m35s
/data filled for patroni nodes. increase size until real fix can be made
ensure terraform is available for build job
2026-04-13 22:25:48 +10:00
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -28,5 +28,7 @@ jobs:
- name: Run Terraform Plan
env:
VAULT_ROLEID: ${{ secrets.TERRAFORM_INCUS_VAULT_ROLEID }}
TERRAFORM_VERSION: "1.15.0"
run: |
curl -fsSL -o /tmp/terraform.zip "https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/hashicorp-releases/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" && python3 -m zipfile -e /tmp/terraform.zip /tmp/ && install -m0755 /tmp/terraform /usr/local/bin/terraform && rm -f /tmp/terraform.zip /tmp/terraform /tmp/LICENSE.txt
make plan
+2
View File
@@ -22,5 +22,7 @@ jobs:
- name: Run Terraform Apply
env:
VAULT_ROLEID: ${{ secrets.TERRAFORM_INCUS_VAULT_ROLEID }}
TERRAFORM_VERSION: "1.15.0"
run: |
curl -fsSL -o /tmp/terraform.zip "https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/hashicorp-releases/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" && python3 -m zipfile -e /tmp/terraform.zip /tmp/ && install -m0755 /tmp/terraform /usr/local/bin/terraform && rm -f /tmp/terraform.zip /tmp/terraform /tmp/LICENSE.txt
make apply