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

Generate tequilapi json as build artifact #537

Merged
merged 5 commits into from
Nov 13, 2018
Merged

Conversation

interro
Copy link
Contributor

@interro interro commented Nov 13, 2018

  • tequilapi.json will be added to dev release

zolia
zolia previously approved these changes Nov 13, 2018
@interro interro force-pushed the tequilapi-build-artifact branch from e16b421 to fc62f59 Compare November 13, 2018 12:37
zolia
zolia previously approved these changes Nov 13, 2018
.travis.yml Outdated
- script:
- go get github.com/go-swagger/go-swagger/cmd/swagger/
- bin/swagger_generate
- bin/s3 sync tequilapi.json s3://travis-$TRAVIS_BUILD_NUMBER/build-artifacts
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- bin/s3 sync tequilapi.json s3://travis-$TRAVIS_BUILD_NUMBER/build-artifacts
- bin/s3 cp tequilapi.json s3://travis-$TRAVIS_BUILD_NUMBER/build-artifacts/

Copy link
Member

Choose a reason for hiding this comment

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

sync should be applied for directories only, cp for files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

.travis.yml Outdated
- script:
- go get github.com/go-swagger/go-swagger/cmd/swagger/
- bin/swagger_generate
- bin/s3 cp tequilapi.json s3://travis-$TRAVIS_BUILD_NUMBER/build-artifacts
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- bin/s3 cp tequilapi.json s3://travis-$TRAVIS_BUILD_NUMBER/build-artifacts
- bin/s3 cp tequilapi.json s3://travis-$TRAVIS_BUILD_NUMBER/build-artifacts/

and / at the end, or it will create file /build-artifacts instead of directory.

Copy link
Contributor

@tadovas tadovas left a comment

Choose a reason for hiding this comment

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

LGTM.

…MysteriumNetwork/node into tequilapi-build-artifact
Copy link
Member

@soffokl soffokl left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@interro interro merged commit 114a01e into master Nov 13, 2018
@interro interro deleted the tequilapi-build-artifact branch November 13, 2018 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants