Compare commits

..

1 Commits

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

View File

@ -9,17 +9,10 @@ jobs:
build:
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux8:latest
image: git.query.consul/unkin/almalinux9-actionsdind: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,6 +44,8 @@ $(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,7 +1,6 @@
#!/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/')