Compare commits

..

1 Commits

Author SHA1 Message Date
4a5a24e402 test: debug
All checks were successful
Build / build (pull_request) Successful in 5s
2025-01-25 17:21:30 +11:00
3 changed files with 9 additions and 3 deletions

View File

@ -9,10 +9,17 @@ jobs:
build:
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux9-actionsdind:latest
image: git.query.consul/unkin/almalinux8:latest
options: --privileged
steps:
- name: Set up environment
run: |
dnf install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
dnf module enable -y nodejs:20
dnf install -y docker-ce-cli make bash git nodejs
- name: Checkout code
uses: actions/checkout@v3
with:

View File

@ -44,8 +44,6 @@ $(DIRS):
eval $$(vault kv get -format=json kv/service/packer/builder/env | jq -r '.data.data | to_entries[] | "export \(.key)=\(.value)"')
@echo "Environment retrieved for $@"
env | grep -i CONSUL
env | grep -i VAULT
# Check if on master branch
if [ "$(GIT_BRANCH)" = "master" ]; then \

View File

@ -1,6 +1,7 @@
#!/bin/bash
# Check for changes in images/ folder and the builds/ folder
git fetch origin master:master
if [ "$(git branch --show-current)" = "master" ]; then
builds_changes=$(git diff --name-only HEAD^...master | grep -E '^builds/')
images_changes=$(git diff --name-only HEAD^...master | grep -E '^images/')