Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

No release tag in built deployment files #233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

osdrv
Copy link
Contributor

@osdrv osdrv commented Nov 19, 2019

This commit changes the behavior of the makefile and removes the
release tag from file names. This is mainly done to preserve a
deterministic path to shipper deploy file which is promoited in the
documentation under latest tag. A static deployment file name allows one
to link it with no need to update the relevant documentation on every
build.

Signed-off-by: Oleg Sidorov oleg.sidorov@booking.com

This commit changes the behavior of the makefile and removes the
release tag from file names. This is mainly done to preserve a
deterministic path to shipper deploy file which is promoited in the
documentation under latest tag. A static deployment file name allows one
to link it with no need to update the relevant documentation on every
build.

Signed-off-by: Oleg Sidorov <oleg.sidorov@booking.com>
Copy link
Contributor

@juliogreff juliogreff left a comment

Choose a reason for hiding this comment

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

A couple of very small changes:

  • Might as well stop using $(IMAGE_TAG) in the *.image files as well, since the tag was there just to support the yamls anyway.
  • There's an rm -f build/*.latest.yaml in ci/e2e.sh that's now redundant.

Also, ci/release.sh was expected to re-build images with different tags from the ones generated by ci/e2e.sh. I have not tested this, but it might not re-tag the images anymore, and instead might push images tagged with a commit id instead of the git tag as expected. If that's the case, one possible solution is to force, in ci/e2e.sh, IMAGE_TAG to be $TRAVIS_TAG if set, or $TRAVIS_COMMIT otherwise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants