-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Use semaphore to promote to production
#122: Deploy to separate GCP project
- Loading branch information
1 parent
9a522ac
commit 805c8d4
Showing
4 changed files
with
31 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
version: v1.0 | ||
name: ISCO promotion | ||
agent: | ||
machine: | ||
type: e1-standard-2 | ||
os_image: ubuntu1804 | ||
global_job_config: | ||
secrets: | ||
- name: isco | ||
prologue: | ||
commands: | ||
- checkout | ||
- export CI_COMMIT="${SEMAPHORE_GIT_SHA:0:7}" | ||
- export CI_BRANCH="${SEMAPHORE_GIT_BRANCH}" | ||
- export CI_TAG="${SEMAPHORE_GIT_TAG_NAME}" | ||
- export CI_PULL_REQUEST="${SEMAPHORE_GIT_REF_TYPE/pull-request/true}" | ||
- export CI_COMMIT_RANGE="${SEMAPHORE_GIT_COMMIT_RANGE}" | ||
- export CLOUDSDK_CORE_DISABLE_PROMPTS=1 | ||
- export NO_PUSH=1 | ||
blocks: | ||
- name: 'Promotion' | ||
task: | ||
jobs: | ||
- name: Promote to production | ||
commands: | ||
- ./ci/deploy.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.