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

Release artifacts from Travis #594

Merged
merged 3 commits into from
Jan 29, 2020
Merged

Conversation

dvlato
Copy link
Contributor

@dvlato dvlato commented Jan 16, 2020

No description provided.

travis/deploy.sh Outdated
Comment on lines 41 to 42
mvn install -f distribution/pom.xml -B -U -P docker -Dstyxcore.docker.image=dlatorre/styx
docker push dlatorre/styx
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these lines include 'dlatorre'?

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @dvlato. When searching the documentation, it is always checkout@v2 (https://github.com/actions/checkout) that comes out at the top.

Therefore asking, how did you come about using checkout@v1? Do you know if the v1 and v2 are related in any way? Should be using the v2 since it is newer? Etc.

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay I see, the examples for Setup-java are using checkout@v1. (https://github.com/actions/setup-java).

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

see the 'maven guide' was updated from checkout@v1 to @v2 around Christmas time: https://github.com/actions/starter-workflows/blob/master/ci/maven.yml

travis/deploy.sh Outdated
mvn deploy --settings travis/mvn-settings.xml -B -U -P sonatype-oss-release,linux -DskipTests=true -Dmaven.test.skip=true
#Deploy to dockerhub
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
mvn install -f distribution/pom.xml -B -U -P docker -Dstyxcore.docker.image=dlatorre/styx
Copy link
Contributor

Choose a reason for hiding this comment

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

This still has your user name in it:

-Dstyxcore.docker.image=dlatorre/styx

Also below:

docker push dlatorre/styx

Push them to: https://hub.docker.com/repository/docker/hotelsdotcom/styx

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think before that I would need to have credentials to push to hotelsdotcom/styx :) I think I mentioned quite a few days ago that we could not merge as is but should discuss the approach...

travis/mvn-settings.xml Show resolved Hide resolved
@dvlato dvlato merged commit 21f557a into ExpediaGroup:master Jan 29, 2020
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