Skip to content

Commit

Permalink
Removed valiate branches step from circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
cameroncaci committed Oct 3, 2023
1 parent 0f0232c commit b2a5734
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
version: 2
jobs:
# NOTE: This job shouldn't be necessary. Including it for now though to maintain current practices.
test-branch-name:
machine: true
steps:
- checkout
- run:
name: Check for reserved branch names
command: |
important_branches=( $(ls -d * | grep milmove) latest )
for branch in "${important_branches[@]}"
do
if test "${CIRCLE_BRANCH}" == ${branch}
then
echo "Don't use meaningful tags for a branch name!"
echo "Don't use a branch named ${branch}."
exit 1
fi
done
build:
machine: true
steps:
Expand Down Expand Up @@ -79,18 +60,4 @@ workflows:
version: 2
build-containers:
jobs:
- test-branch-name
- build:
requires:
- test-branch-name
filters:
branches:
# NOTE: These branches are ignored because we use them when
# building containers for the application and infrastructure.
ignore:
- latest
- milmove-app
- milmove-atlantis
- milmove-cypress
- milmove-infra-tf132
- milmove-infra-tf112
- build

0 comments on commit b2a5734

Please sign in to comment.