Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: support self-hosted runners #170

Merged
merged 2 commits into from
Mar 11, 2022
Merged

Conversation

paulpach
Copy link
Contributor

@paulpach paulpach commented Mar 11, 2022

similar to game-ci/unity-builder#355

Changes

  • Use $RUNNER_TEMP variable instead of hardcoded paths for _github_home and _github_workflow
  • create the folders if they don't exist
  • mount volumes with ":z" for compatibility with SELinux

Checklist

  • Read the contribution guide and accept the code of conduct
  • Readme (updated or not needed)
  • Tests (added, updated or not needed)

@github-actions
Copy link

Cat Gif

similar to game-ci/unity-builder#355

* Use $RUNNER_TEMP variable instead of hardcoded path for _github_home and _github_workflow
* create the folders if they don't exist
* mount volumes with :z for compatibility with SELinux
const { version } = baseImage;

const tag = new ImageTag({ version });
const command = `docker build ${path} \
const command = `docker build ${buildPath} \
Copy link
Member

Choose a reason for hiding this comment

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

buildPath is implied by using it in Docker.build method. We can leave it as path instead.

Copy link
Contributor Author

@paulpach paulpach Mar 11, 2022

Choose a reason for hiding this comment

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

ESlint complains that "path" shadows the imported "path" module. The only reason I changed this is to make ESlint happy.

Copy link
Member

@webbertakken webbertakken left a comment

Choose a reason for hiding this comment

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

LGTM. One small comment.

@webbertakken webbertakken merged commit 79715c7 into game-ci:main Mar 11, 2022
@paulpach paulpach deleted the self-hosted branch March 11, 2022 17:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants