-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2385: Upload swagger to bump.sh on release deployment r=piotr-iohk a=piotr-iohk # Issue Number ADP-600 <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> # Overview - 275956f Upload swagger upload to bump.sh on release - ca0d72f Add API Changes section in Release template # Comments - I have tested upload from Travis into bump.sh -> https://bump.sh/doc/cardano-wallet-test/changes ✔️ - swagger should be uploaded to https://bump.sh/doc/cardano-wallet-diff/changes on release deploy step - added `API Changes` section to release template with a note 2398: Update docker compose with Allegra compatible tags r=rvl a=melmccann Update docker compose to reflect the Allegra docker compatible versions Co-authored-by: Piotr Stachyra <[email protected]> Co-authored-by: Mel McCann <[email protected]>
- Loading branch information
Showing
3 changed files
with
16 additions
and
3 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
sudo: false | ||
|
||
# Choose a build environment: | ||
dist: xenial | ||
dist: focal | ||
|
||
# Only clone the repository tip & track all branches | ||
git: | ||
|
@@ -49,6 +49,13 @@ jobs: | |
if: type != pull_request AND (tag =~ ^v OR commit_message =~ /TRAVIS_TRIGGER_RELEASE/) | ||
name: "Executables" | ||
script: | ||
# Upload swagger to bump.sh | ||
- gem install bump-cli | ||
- sudo snap install yq | ||
- yq r -j specifications/api/swagger.yaml > specifications/api/swagger.json | ||
- bump validate --doc $BUMP_SH_DOC_ID --token $BUMP_SH_TOKEN specifications/api/swagger.json | ||
- bump deploy --doc $BUMP_SH_DOC_ID --token $BUMP_SH_TOKEN specifications/api/swagger.json | ||
|
||
# Fetch the builds from Hydra | ||
- nvm install 12.18.3 && nvm use 12.18.3 | ||
- npm install --no-save [email protected] [email protected] | ||
|
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