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

build: roll windows arc images automatically #124

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MarshallOfSound
Copy link
Member

Avoids issues like we saw today where the windows ARC image drifted from what was "last" on main.

This logic is a bit fiddly but basically, we'll update the image SHA if:

  • The sha of the latest main image is different to the current image
  • The difference between the Dockerfile for "current" and "end" is non-empty (i.e. the windows dockerfile was actually updated)

Copy link
Member

@VerteDinde VerteDinde left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -2,3 +2,4 @@
lib
node_modules
coverage
.envrc
Copy link
Member

Choose a reason for hiding this comment

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

Not a big deal, but do we need this line?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not really, I just ignore it in any project I touch that has local dev secrets. It's just because I use https://direnv.net/

src/utils/arc-image.ts Outdated Show resolved Hide resolved
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.

3 participants