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

fix(artifacts): only remove deleted expected artifacts from stages on… #8071

Merged

Conversation

maggieneterval
Copy link
Contributor

@maggieneterval maggieneterval commented Mar 23, 2020

… trigger update

Closes spinnaker/spinnaker#5573

With the artifactsRewrite flag on, upon updating a trigger, all associated artifacts references are being removed from any downstream stages. This change makes it so only deleted artifacts' references are removed from downstream stages.

This commit is intended to be cherry-picked to 1.19, 1.18, and 1.17. This change does not resolve a separate (but less destructive) bug where deleted artifact references are not removed from stages when the trigger that owns them is removed. That bug will be fixed as part of an upcoming more invasive refactor that will not be cherry-picked.

Copy link
Contributor

@ezimanyi ezimanyi left a comment

Choose a reason for hiding this comment

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

🏺 🚫 ❓ 👍 : 👍
👩‍💻 🔨 🐛

@maggieneterval maggieneterval merged commit a47c627 into spinnaker:master Mar 23, 2020
@maggieneterval maggieneterval deleted the removed-artifact-fix branch March 23, 2020 16:17
@maggieneterval
Copy link
Contributor Author

@spinnakerbot 🍒 ⛏ 1.19

@maggieneterval
Copy link
Contributor Author

@spinnakerbot 🍒 ⛏ 1.18

@maggieneterval
Copy link
Contributor Author

@spinnakerbot 🍒 ⛏ 1.17

@maggieneterval
Copy link
Contributor Author

@spinnakerbot cherry-pick 1.19

@maggieneterval
Copy link
Contributor Author

@spinnakerbot cherry-pick 1.18

@maggieneterval
Copy link
Contributor Author

@spinnakerbot cherry-pick 1.17

spinnakerbot pushed a commit that referenced this pull request Mar 23, 2020
@spinnakerbot
Copy link
Contributor

Cherry pick successful: #8072

@maggieneterval
Copy link
Contributor Author

(I wasn't standing six feet away from spinnakerbot when I asked her to do the cherry-picks the first time. Sorry.)

spinnakerbot pushed a commit that referenced this pull request Mar 23, 2020
@spinnakerbot
Copy link
Contributor

Cherry pick successful: #8073

@spinnakerbot
Copy link
Contributor

Cherry pick failed: Command failed (cherry pick commit a47c627) with exit code 1:

error: could not apply a47c6274a... fix(artifacts): only remove deleted expected artifacts from stages on trigger update (#8071)
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'

ezimanyi pushed a commit that referenced this pull request Mar 23, 2020
… trigger update (#8071) (#8072)

Co-authored-by: Maggie Neterval <mneterval@google.com>
ezimanyi pushed a commit that referenced this pull request Mar 23, 2020
… trigger update (#8071) (#8073)

Co-authored-by: Maggie Neterval <mneterval@google.com>
maggieneterval added a commit to maggieneterval/deck that referenced this pull request Mar 23, 2020
maggieneterval added a commit to maggieneterval/deck that referenced this pull request Mar 23, 2020
ezimanyi pushed a commit that referenced this pull request Mar 23, 2020
yunzhangit pushed a commit to yunzhangit/deck that referenced this pull request Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants