Skip to content

Commit

Permalink
Update config to run if script changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Mar 30, 2024
1 parent f96c2a5 commit d0e158a
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
- run: sudo mkdir /home/linuxbrew && sudo chown $(id -u) /home/linuxbrew
- restore_cache:
keys:
- linux-homebrew-v32
- linux-homebrew-v33
- run:
command: ./.circleci/linux_circle_vm_setup.sh
name: NORMAL Circle VM setup
no_output_timeout: "40m"
- save_cache:
key: linux-homebrew-v32
key: linux-homebrew-v33
paths:
- /home/linuxbrew
- run:
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
- run: 'mkdir -p ~/.ngrok2 && echo "authtoken: ${NGROK_TOKEN}" >~/.ngrok2/ngrok.yml'
- restore_cache:
keys:
- linux-homebrew-v32
- linux-homebrew-v33
- restore_cache:
keys:
- linux-testcache-v32
Expand All @@ -73,7 +73,7 @@ jobs:
name: Circle VM setup
no_output_timeout: "40m"
- save_cache:
key: linux-homebrew-v32
key: linux-homebrew-v33
paths:
- /home/linuxbrew
- run: echo "$(docker --version) $(docker-compose --version)"
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
set -x
if [ "${CIRCLE_PR_NUMBER}" != "" ] ; then
echo "base_revision=<< pipeline.git.base_revision >>"
if ! git diff --name-only "<< pipeline.git.base_revision >>" | egrep "^(.circleci|Makefile|pkg|cmd|vendor|go\.)"; then
if ! git diff --name-only "<< pipeline.git.base_revision >>" | egrep "^(.circleci|.ci-scripts|Makefile|pkg|cmd|vendor|go\.)"; then
echo "Skipping build since no code changes found"
circleci-agent step halt
fi
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
- run: sudo mkdir /home/linuxbrew && sudo chown $(id -u) /home/linuxbrew
- restore_cache:
keys:
- linux-homebrew-v32
- linux-homebrew-v33
- attach_workspace:
at: ~/
- run:
Expand All @@ -242,7 +242,7 @@ jobs:
- store_test_results:
path: /tmp/testresults
- save_cache:
key: linux-homebrew-v32
key: linux-homebrew-v33
paths:
- /home/linuxbrew
- /home/circleci/.ddev/testcache
Expand All @@ -260,7 +260,7 @@ jobs:
- run: sudo mkdir /home/linuxbrew && sudo chown $(id -u) /home/linuxbrew
- restore_cache:
keys:
- linux-homebrew-v32
- linux-homebrew-v33
- attach_workspace:
at: ~/
- run:
Expand All @@ -279,7 +279,7 @@ jobs:
- store_test_results:
path: /tmp/testresults
- save_cache:
key: linux-homebrew-v32
key: linux-homebrew-v33
paths:
- /home/linuxbrew
- /home/circleci/.ddev/testcache
Expand All @@ -294,7 +294,7 @@ jobs:
- run: sudo mkdir /home/linuxbrew && sudo chown $(id -u) /home/linuxbrew
- restore_cache:
keys:
- linux-homebrew-v32
- linux-homebrew-v33
- run:
command: ./.circleci/linux_circle_vm_setup.sh
name: Circle VM setup
Expand All @@ -316,7 +316,7 @@ jobs:
- run: sudo mkdir /home/linuxbrew && sudo chown $(id -u) /home/linuxbrew
- restore_cache:
keys:
- linux-homebrew-v32
- linux-homebrew-v33
- run:
command: ./.circleci/linux_circle_vm_setup.sh
name: Circle VM setup
Expand All @@ -340,7 +340,7 @@ jobs:
name: linux container test

- save_cache:
key: linux-homebrew-v32
key: linux-homebrew-v33
paths:
- /home/linuxbrew
- /home/circleci/.ddev/testcache
Expand Down Expand Up @@ -407,15 +407,15 @@ jobs:
- run: sudo mkdir /home/linuxbrew && sudo chown $(id -u) /home/linuxbrew
- restore_cache:
keys:
- linux-homebrew-v32
- linux-homebrew-v33
- attach_workspace:
at: ~/
- run:
command: ./.ci-scripts/generate_artifacts.sh ~/artifacts
name: tar/zip up artifacts and make hashes
no_output_timeout: "40m"
- save_cache:
key: linux-homebrew-v32
key: linux-homebrew-v33
paths:
- /home/linuxbrew
- /home/circleci/.ddev/testcache
Expand Down

0 comments on commit d0e158a

Please sign in to comment.