-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add shared semantic release config
chore: update build process
- Loading branch information
1 parent
4ead66e
commit a281243
Showing
5 changed files
with
55 additions
and
58 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
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,32 @@ | ||
version: v1.0 | ||
name: Test | ||
agent: | ||
machine: | ||
type: e1-standard-2 | ||
os_image: ubuntu2004 | ||
|
||
blocks: | ||
|
||
- name: Bump Version | ||
task: | ||
secrets: | ||
- name: bc-git-secret | ||
- name: bc-npm-secret | ||
jobs: | ||
- name: Build | ||
commands: | ||
- cache restore bc-msh-entity-docker-image-$SEMAPHORE_GIT_SHA | ||
- docker load -i bc-msh-entity.tar | ||
- touch version.txt | ||
- sudo chown -R packer:packer version.txt | ||
- docker run --rm -v ./version.txt:/usr/app/version.txt -e GH_TOKEN -e NPM_TOKEN -e GH_USER -e CI bc-msh-entity npm run npm-semantic-release | ||
- cat version.txt | ||
- cache store bc-msh-entity-version-$SEMAPHORE_GIT_SHA version.txt | ||
skip: | ||
when: branch != 'main' | ||
|
||
promotions: | ||
- name: Alpha Deploy | ||
pipeline_file: alpha.yml | ||
- name: Production Deploy | ||
pipeline_file: prod.yml |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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