Skip to content

Conversation

stefreak
Copy link
Member

@stefreak stefreak commented Jan 4, 2023

What this PR does / why we need it:

To avoid spamming our fellow coders GitHub timelines, update the
existing edge release with new binaries and a new SHA target instead
of creating a new edge release every time.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@stefreak stefreak requested a review from edvald January 4, 2023 15:05
@stefreak stefreak marked this pull request as ready for review January 4, 2023 15:44
@stefreak stefreak requested a review from Walther January 4, 2023 15:57
Walther
Walther previously approved these changes Jan 4, 2023
Copy link
Contributor

@Walther Walther left a comment

Choose a reason for hiding this comment

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

looks good to me 👍
and as discussed, noting that the docker image tag needs to be manually pushed before merging

@@ -0,0 +1,6 @@
kind: Module
type: container
name: circleci-release
Copy link
Contributor

@edvald edvald Jan 7, 2023

Choose a reason for hiding this comment

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

Might I suggest just using the circleci-runner for this? Seems like unnecessary overhead to add a whole new image. Also curious why we can't use an upstream image to begin with?

Copy link
Member Author

Choose a reason for hiding this comment

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

Why a custom image is necessary: If we update the existing release, we need another utility called gh that is not included together with ghr in any upstream container I looked at.

I can change this to circleci-runner if you prefer

Copy link
Contributor

Choose a reason for hiding this comment

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

Aha I see, makes sense. But yeah, I think just the one CircleCI image makes most sense.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, I'll change that

Copy link
Member Author

Choose a reason for hiding this comment

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

@edvald OK, changed it now. But to be able to upload the image I need permission on dockerhub

Copy link
Member Author

@stefreak stefreak Jan 12, 2023

Choose a reason for hiding this comment

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

@edvald CI ran with the new image now, feel free to approve and then I'd just merge this and we could look at whether this actually works

To avoid spamming our fellow coder's GitHub timeline, update the
existing edge release with new binaries and a new SHA target instead
of creating a new edge release every time.
@edvald
Copy link
Contributor

edvald commented Jan 16, 2023

Can't say if it's related, but the test-windows check seems to fail reliably. Could you take a look at the @stefreak? We'll want to fix it whether it's related to these changes or not.

@stefreak
Copy link
Member Author

@Walther
Copy link
Contributor

Walther commented Jan 16, 2023

Can't say if it's related, but the test-windows check seems to fail reliably. Could you take a look at the @stefreak? We'll want to fix it whether it's related to these changes or not.

gcloud auth plugin component missing, PR here #3519

@stefreak
Copy link
Member Author

@edvald we'll solve this in another PR and it is unrelated. Are you ok if we still merge this PR to get it off my todo list, and fix the test in another PR?

@edvald
Copy link
Contributor

edvald commented Jan 16, 2023 via email

@stefreak stefreak merged commit 7d6747e into main Jan 18, 2023
@stefreak stefreak deleted the edge-release branch January 18, 2023 10:37
vvagaytsev pushed a commit that referenced this pull request Jan 24, 2023
* ci(edge-release): update existing instead of re-create

To avoid spamming our fellow coder's GitHub timeline, update the
existing edge release with new binaries and a new SHA target instead
of creating a new edge release every time.

* chore: move ghr and gh to circleci-runner image
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