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

Changed CI and use of buld arg to pass. commit SHA #26

Merged

Conversation

Bajger
Copy link
Contributor

@Bajger Bajger commented Sep 21, 2023

- assign env variable from file in GH action
- pass build-args to Docker build step in GH action
- use build argument in dockerfile
- fixes exercism#25
@Bajger Bajger added enhancement New feature or request x:action/improve Improve existing functionality/content x:action/sync Sync content with its latest version x:knowledge/intermediate Quite a bit of Exercism knowledge required x:module/test-runner Work on Test Runners x:type/ci Work on Continuous Integration (e.g. GitHub Actions workflows) x:type/docker Work on Dockerfiles x:rep/medium Medium amount of reputation labels Sep 21, 2023
@Bajger Bajger self-assigned this Sep 21, 2023
@Bajger
Copy link
Contributor Author

Bajger commented Sep 21, 2023

@ErikSchierboom For some reason CI GH action didn't run. Do I have some error in CI.yml?

Copy link
Member

@ErikSchierboom ErikSchierboom left a comment

Choose a reason for hiding this comment

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

Nice work! Couple of minor nits

.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
Bajger and others added 4 commits September 21, 2023 11:20
Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com>
Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com>
Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com>
@Bajger
Copy link
Contributor Author

Bajger commented Sep 21, 2023

  1. It seems that build arg is correnctly passed in Build docker image step: https://github.com/exercism/pharo-smalltalk-test-runner/actions/runs/6259811474/job/16996565397#step:5:123
  2. And later I see that docker run correctly evaluate that: https://github.com/exercism/pharo-smalltalk-test-runner/actions/runs/6259811474/job/16996565397#step:5:218

@Bajger
Copy link
Contributor Author

Bajger commented Sep 21, 2023

@ErikSchierboom: If you agree and approve golden tests change in prior PR, CI should be green 🎉

@ErikSchierboom
Copy link
Member

@Bajger
Copy link
Contributor Author

Bajger commented Sep 21, 2023

@ErikSchierboom Yes the other PR is failing, since it expects changes from fresh build of Pharo image coming from this PR :)

@Bajger Bajger merged commit 91b21ba into exercism:main Sep 21, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request x:action/improve Improve existing functionality/content x:action/sync Sync content with its latest version x:knowledge/intermediate Quite a bit of Exercism knowledge required x:module/test-runner Work on Test Runners x:rep/medium Medium amount of reputation x:type/ci Work on Continuous Integration (e.g. GitHub Actions workflows) x:type/docker Work on Dockerfiles
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Synchronize Pharo test runner image with Pharo-Smalltalk repository
2 participants