Skip to content

Commit

Permalink
Reorder buildsteps
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeARO committed Feb 27, 2024
1 parent f12cf02 commit 553c30c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ env:
COSMOS_CERT: "/etc/pki/tls/certs/client.crt"
COSMOS_CERT_KEY: "/etc/pki/tls/private/client.key"
phases:
pre_build:
on-failure: ABORT
commands:
- export RELEASABLE_BRANCH=$(git branch --contains ${CODEBUILD_RESOLVED_SOURCE_VERSION} --remote | grep -c -E '^\s*origin/(main|master)$' || true)
- export COSMOS_VERSION=$(cosmos-release generate-version mozart-fetcher-eu-west-1)
install:
on-failure: ABORT
commands:
- certee-fetch
pre_build:
on-failure: ABORT
commands:
- export RELEASABLE_BRANCH=$(git branch --contains ${CODEBUILD_RESOLVED_SOURCE_VERSION} --remote | grep -c -E '^\s*origin/(main|master)$' || true)
- export COSMOS_VERSION=$(cosmos-release generate-version mozart-fetcher-eu-west-1)
build:
on-failure: ABORT
commands:
Expand Down

0 comments on commit 553c30c

Please sign in to comment.