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

[CI] Fix test_dist_linux_on_docker #11512

Conversation

straight-shoota
Copy link
Member

The recent broken nightly release (crystal-lang/distribution-scripts#171) has shown that the test_dist_linux_on_docker job does not work as it's supposed to. It should have failed do to the broken build. But it didn't. The reason is that the DOCKER_TEST_PREFIX was not correctly applied, so it always tested the image of the latest release (1.2.2 currently) instead of the freshly built image.

I'm also changing dist_docker docker to depend on successful test job. That would prevent faulty images being pushed to Docker hub (assuming they're correctly identified as being broken).

@straight-shoota straight-shoota added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:infrastructure labels Nov 30, 2021
@straight-shoota
Copy link
Member Author

The CI workflow failed for the correct reason (crystal-lang/distribution-scripts#171): https://app.circleci.com/pipelines/github/crystal-lang/crystal/7488/workflows/9436588c-f696-4246-9d60-d1a3c64ce0c5/jobs/66049

So this change works as expected.

Now merging master with #11513 to verify a successful run.

@straight-shoota
Copy link
Member Author

Copy link
Member

@beta-ziliani beta-ziliani left a comment

Choose a reason for hiding this comment

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

🚀

@beta-ziliani beta-ziliani added this to the 1.3.0 milestone Dec 2, 2021
@straight-shoota straight-shoota merged commit 08b4e26 into crystal-lang:master Dec 3, 2021
@straight-shoota straight-shoota deleted the ci/fix-test_dist_linux_on_docker branch December 3, 2021 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants