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

Adding overrides to remove step that creates tag for Jenkins X pipeline #1161

Merged
merged 2 commits into from
Nov 30, 2019

Conversation

axsaucedo
Copy link
Contributor

Fixes #1124

@axsaucedo axsaucedo self-assigned this Nov 29, 2019
@axsaucedo
Copy link
Contributor Author

/cc @gsunner @adriangonz

@adriangonz
Copy link
Contributor

That's awesome! Is it skipping the promote stage what does the trick @axsaucedo?

@axsaucedo
Copy link
Contributor Author

@adriangonz that is correct, although it seems that right now there is still an issue as the pipeline expects the branch with the same name as the version exists, so we need to decide whether we are happy to overide the tag every time or whether we want to create a unique tag every time (although I can't think of a way to keep track. Here is all the detail: jenkins-x/jx#6230

@axsaucedo axsaucedo changed the title Adding overrides to remove step that creates tag for Jenkins X pipeline WIP: Adding overrides to remove step that creates tag for Jenkins X pipeline Nov 29, 2019
@axsaucedo axsaucedo changed the title WIP: Adding overrides to remove step that creates tag for Jenkins X pipeline Adding overrides to remove step that creates tag for Jenkins X pipeline Nov 29, 2019
@axsaucedo
Copy link
Contributor Author

It's now been addressed by continuously pushing the latest master into a branch v${VERSION}-SNAPSHOT branch. This branch is overriden every time there is a merged PR. There could be a race condition if two PR release pipelines are triggered at the exact same time. For the near to medium term we could have a look at creating a branch for all the releases to master, with either a counter, or with the github hash

@axsaucedo
Copy link
Contributor Author

/approve
/lgtm

@seldondev
Copy link
Collaborator

@axsaucedo: you cannot LGTM your own PR.

In response to this:

/approve
/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: axsaucedo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@axsaucedo axsaucedo merged commit 08c7c85 into SeldonIO:master Nov 30, 2019
@axsaucedo axsaucedo removed their assignment May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jenkins X currently creates a new changelog tag / version every time a PR is landed
3 participants