This commit is contained in:
Barry McCormick
2023-10-10 17:36:43 -07:00
parent 2d6ee53334
commit 3bc9580eda

View File

@@ -5,7 +5,8 @@ env:
task: task:
freebsd_instance: freebsd_instance:
image: freebsd-13-2-release-amd64 image: freebsd-13-2-release-amd64
build_trigger: echo "BRANCH=$(GITHUB_SHA)" >> $CIRRUS_ENV build_trigger: echo "TRIGGER=$(GITHUB_SHA)" >> $CIRRUS_ENV
build_trigger: echo "BRANCH=$(GITHUB_REF)" >> $CIRRUS_ENV
show_build_trigger: echo $BRANCH show_build_trigger: echo $BRANCH
script: script:
- echo "branch is $BRANCH" - echo "branch is $BRANCH"
@@ -22,8 +23,8 @@ task:
- git clone https://github.com/BastilleBSD/templates.git - git clone https://github.com/BastilleBSD/templates.git
- cd templates - cd templates
- echo " branch is $BRANCH " - echo " branch is $BRANCH "
- git diff --dirstat main cicd ./* - git diff --dirstat $BRANCH $TRIGGER ./*
- git diff --dirstat main cicd ./* >> diff.txt - git diff --dirstat $BRANCH $TRIGGER ./* >> diff.txt
- echo "*** diff.txt ***" - echo "*** diff.txt ***"
- cat diff.txt - cat diff.txt
- # Use sed to remove characters before the match pattern - # Use sed to remove characters before the match pattern