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

Move releases deployment from internal Jenkins to Travis. #24

Merged
merged 2 commits into from
Jun 11, 2018

Conversation

arturdryomov
Copy link
Member

After the merge I’ll do the following.

  • Add environment variables to Travis settings page. I’ve checked scripts and seems like we are not leaking anything.
  • Disable internal Jenkins project.

@artem-zinnatullin, anything else?

.travis.yml Outdated
@@ -7,5 +7,12 @@ services:
script:
- bash ci/build.sh

deploy:
- provider: script
script: PUBLISH=true bash ci/build.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

no need to specify bash here, just do:

script: PUBLISH=true ci/build.sh

Copy link
Member Author

Choose a reason for hiding this comment

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

Just copied it from script above. Should we remove it too?

Copy link
Contributor

Choose a reason for hiding this comment

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

yep!

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@artem-zinnatullin
Copy link
Contributor

@ming13 it should work, the only caveat I have on mind is that current way of getting git tags in gradle scripts doesn't allow one commit to have multiple tags

That can be fixed by using TRAVIS_TAG as version instead of calling git

@artem-zinnatullin
Copy link
Contributor

lgtm! Don't forget to add env variables on Travis

@arturdryomov arturdryomov merged commit 483ede4 into master Jun 11, 2018
@arturdryomov arturdryomov deleted the ad/mv-jenkins-2-travis branch June 11, 2018 09:56
@arturdryomov
Copy link
Member Author

Ready to roll. The next release should be deployed from Travis.

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.

2 participants