Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust travis deployment for renamed cardano-wallet binary #2048

Merged
merged 4 commits into from
Aug 20, 2020

Conversation

Anviking
Copy link
Member

@Anviking Anviking commented Aug 18, 2020

Issue Number

#1919

Overview

  • Fix naming issue caused by the renaming from cardano-wallet-shelley to cardano-wallet
  • Simply use the archives from hydra as-is. No need to unzip an re-zip. We don't rename the executable anymore. @rvl has made it use same filenames as previous releases.
  • Use a script for picking builds of the exact revision from hydra.

Comments

  • The adjustment of the cardano-wallet-jormungandr archives is left as-is.

Comparing latest release to manually calling curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-linux64/latest/download/1 --output cardano-wallet-$TRAVIS_TAG-linux64.tar.gz

The extracted folder appears different. Does that matter?

Skärmavbild 2020-08-18 kl  11 58 07

@Anviking Anviking self-assigned this Aug 18, 2020
@Anviking Anviking changed the title Adjust travis deployment to name cardano-wallet binary correctly Adjust travis deployment for renamed cardano-wallet binary Aug 18, 2020
@Anviking Anviking added the IMPROVEMENT Mark a PR as an improvement, for auto-generated CHANGELOG label Aug 18, 2020
@@ -54,26 +54,11 @@ jobs:
############################

# Fetch the linux archive
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-linux64/latest/download/1 | tar xz
- find . -maxdepth 1 -type d -name "cardano-wallet-*" -exec mv \{} cardano-wallet-linux64 \;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cardano-wallet-* wouldn't match cardano-wallet.

@Anviking Anviking requested a review from KtorZ August 18, 2020 09:44
.travis.yml Outdated Show resolved Hide resolved
@Anviking Anviking requested a review from rvl August 18, 2020 09:59
@rvl
Copy link
Contributor

rvl commented Aug 18, 2020

I think the travis script needed to do some renaming and cleanup. Some filenames from Hydra were not right for example. But perhaps that could be fixed.

I also added a script for downloading builds for the tagged version, rather than just latest master. This can be used instead of the curl commands.

@Anviking
Copy link
Member Author

I think the travis script needed to do some renaming and cleanup. Some filenames from Hydra were not right for example. But perhaps that could be fixed.

I believe it was only used to rename the cardano-wallet-shelley binary to cardano-wallet, which is not needed now.

I also added a script for downloading builds for the tagged version, rather than just latest master. This can be used instead of the curl commands.

💯 🙏

This should maintain exactly the same conventions as in previous
releases, except that the byron/shelley split is gone.

I have tested it by copying and pasting commands from the yaml into a
temporary bash script file.
@rvl
Copy link
Contributor

rvl commented Aug 20, 2020

I made it follow naming conventions from previous releases (except for the byron/shelley split).

And I have tested it by copying and pasting commands from .travis.yaml into a temporary bash script file.

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Aug 20, 2020

Build succeeded

@iohk-bors iohk-bors bot merged commit ce19fb4 into master Aug 20, 2020
@iohk-bors iohk-bors bot deleted the anviking/1919/fix-travis-deployment branch August 20, 2020 05:43
@rvl rvl mentioned this pull request Aug 24, 2020
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IMPROVEMENT Mark a PR as an improvement, for auto-generated CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants