Skip to content

Commit

Permalink
travis-ci: allow docker deploy for v0.11 stable repo
Browse files Browse the repository at this point in the history
A conditional check for repo slug "flux-framework/flux-core" was
missed when updating .travis.yml for flux-core-v0.11 stale repo,
preventing docker tags for v0.11 from being generated.

Fix the test to check for flux-core-v0.11 to allow docker tag
deployment.
  • Loading branch information
grondo committed Apr 18, 2019
1 parent eb68ab2 commit 2c36c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ before_install:
# Tag image if this build is on master or result of a tag:
- |
if test "$DOCKER_TAG" = "t" \
-a "$TRAVIS_REPO_SLUG" = "flux-framework/flux-core" \
-a "$TRAVIS_REPO_SLUG" = "flux-framework/flux-core-v0.11" \
-a "$TRAVIS_PULL_REQUEST" = "false" \
-a \( "$TRAVIS_BRANCH" = "master" -o -n "$TRAVIS_TAG" \); then
export TAGNAME="${DOCKERREPO}:${IMG}${TRAVIS_TAG:+-${TRAVIS_TAG}}"
Expand Down

0 comments on commit 2c36c65

Please sign in to comment.