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 build of docker base image #2705

Merged
merged 2 commits into from
Dec 15, 2023
Merged

Fix build of docker base image #2705

merged 2 commits into from
Dec 15, 2023

Conversation

Robert-Steiner
Copy link
Member

@Robert-Steiner Robert-Steiner commented Dec 11, 2023

Issue

The values (python versions) in the matrix were interpreted as floats. When the value 3.10 was passed to the build argument PYTHON_VERSION the zero was cut off. This lead the docker build command to fail because it tried to install python 3.1.

Description

  • convert python version to strings
  • turned the value for fail-fast to false. if one build fails, we still can push the other.
  • make artifact name unique (hash of the build args) to prevent jobs from overwriting each other's artifacts

Related issues/PRs

Proposal

Explanation

Checklist

  • Implement proposed change
  • Write tests
  • Update documentation
  • Update changelog
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Any other comments?

@Robert-Steiner Robert-Steiner changed the title fix build of docker base image Fix build of docker base image Dec 11, 2023
@tanertopal
Copy link
Member

My bad. I should have caught this in the review. We had that issue in the past, and I had forgotten it.

@Robert-Steiner
Copy link
Member Author

My bad. I should have caught this in the review. We had that issue in the past, and I had forgotten it.

Don't worry, I should have tested it to make sure it works

@Robert-Steiner
Copy link
Member Author

@Robert-Steiner Robert-Steiner marked this pull request as ready for review December 11, 2023 16:18
@Robert-Steiner Robert-Steiner marked this pull request as draft December 11, 2023 17:12
@Robert-Steiner
Copy link
Member Author

Still need to double check this pr. something seems off with the tags

@Robert-Steiner Robert-Steiner force-pushed the fix-docker-base-build branch 6 times, most recently from 473024b to 2933ee7 Compare December 11, 2023 18:04
@Robert-Steiner
Copy link
Member Author

there was another small error that i had fix. if job upload an artifact with the same name, they will override each other.

@Robert-Steiner Robert-Steiner marked this pull request as ready for review December 11, 2023 21:07
@tanertopal tanertopal enabled auto-merge (squash) December 15, 2023 10:32
@tanertopal tanertopal merged commit 316bbdb into main Dec 15, 2023
26 of 27 checks passed
@tanertopal tanertopal deleted the fix-docker-base-build branch December 15, 2023 10:34
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.

2 participants