Skip to content

Conversation

@nikola-jokic
Copy link
Contributor

@nikola-jokic nikola-jokic commented Mar 3, 2023

When certificates are injected, the image should call update certificates before starting the runner.

If env RUNNER_UPDATE_CA_CERTS is set, the run.sh will try updating certificates before starting the runner

@nikola-jokic nikola-jokic requested a review from a team as a code owner March 3, 2023 13:20
rentziass
rentziass previously approved these changes Mar 3, 2023
Copy link
Member

@rentziass rentziass left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

nikola-jokic and others added 2 commits March 8, 2023 12:11
Link-
Link- previously approved these changes Mar 8, 2023
Copy link
Member

@Link- Link- left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@nikola-jokic nikola-jokic changed the title Included entrypoint that will update certs and run ./run.sh Add update certificates to ./run.sh if RUNNER_UPDATE_CA_CERTS env is set Mar 8, 2023
@TingluoHuang TingluoHuang merged commit 2dfa28e into main Mar 8, 2023
@TingluoHuang TingluoHuang deleted the nikola-jokic/docker-entrypoint branch March 8, 2023 17:29
nikola-jokic added a commit to nikola-jokic/runner that referenced this pull request May 12, 2023
…set (actions#2471)

* Included entrypoint that will update certs and run ./run.sh

* update ca if RUNNER_UPDATE_CA env is set

* changed env variable to RUNNER_UPDATE_TRUST_STORE

* moved entrypoint to be run.sh, removed Dockerfile entrypoint, added envvar that will update certs

* Update src/Misc/layoutroot/run.sh

Co-authored-by: Bassem Dghaidi <[email protected]>

* Update src/Misc/layoutroot/run.sh

Co-authored-by: Bassem Dghaidi <[email protected]>

* Update src/Misc/layoutroot/run.sh

Co-authored-by: Bassem Dghaidi <[email protected]>

* Update src/Misc/layoutroot/run.sh

Co-authored-by: Tingluo Huang <[email protected]>

* Update src/Misc/layoutroot/run.sh

Co-authored-by: Tingluo Huang <[email protected]>

* removed doc comment on func

---------

Co-authored-by: Bassem Dghaidi <[email protected]>
Co-authored-by: Tingluo Huang <[email protected]>
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.

5 participants