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

Do not copy symlink #1

Merged
merged 1 commit into from
Aug 31, 2021
Merged

Do not copy symlink #1

merged 1 commit into from
Aug 31, 2021

Conversation

whywaita
Copy link
Contributor

@whywaita whywaita commented Aug 31, 2021

actions/runner will auto-update in github.com, and create symlink ./bin and ./externals.
So rsync does not need link files in a copied directory.

Log

  1. Failed to refresh runner
Run cycloud-io/refresh-runner-action@v1.1.0
### Copy runner files from the running runner:
    - runner_path: /tmp/runner
Prepared dummy runner version: 2.280.3
### Configure dummy runner

--------------------------------------------------------------------------------
|        ____ _ _   _   _       _          _        _   _                      |
|       / ___(_) |_| | | |_   _| |__      / \   ___| |_(_) ___  _ __  ___      |
|      | |  _| | __| |_| | | | | '_ \    / _ \ / __| __| |/ _ \| '_ \/ __|     |
|      | |_| | | |_|  _  | |_| | |_) |  / ___ \ (__| |_| | (_) | | | \__ \     |
|       \____|_|\__|_| |_|\__,_|_.__/  /_/   \_\___|\__|_|\___/|_| |_|___/     |
|                                                                              |
|                       Self-hosted runner registration                        |
|                                                                              |
--------------------------------------------------------------------------------
Cannot configure the runner because it is already configured. To reconfigure the runner, run 'config.cmd remove' or './config.sh remove' first.
Error: Process completed with exit code 1.
  1. Check actions-runner directory, created symlink bin and externals and linked to under ${RUNNER_PATH.
$ ls -l ${RUNNER_PATH}/_work/github-actions-scripts/github-actions-scripts/actions-runner
total 28
drwxrwxr-x 1 ubuntu ubuntu    60 Aug 31 18:49 _diag
lrwxrwxrwx 1 ubuntu ubuntu    90 Aug 31 18:49 bin -> ${RUNNER_PATH}/bin.2.280.3
drwxr-xr-x 1 ubuntu docker 12398 Dec 15  2020 bin.2.275.1
drwxrwxr-x 1 ubuntu ubuntu 12428 Aug 31 18:48 bin.2.280.3
-rwxr-xr-x 1 ubuntu docker  2452 Aug 19 22:11 config.sh
-rwxr-xr-x 1 ubuntu docker   646 Aug 19 22:11 env.sh
lrwxrwxrwx 1 ubuntu ubuntu    29 Aug 31 18:31 externals -> ${RUNNER_PATH}/externals.2.280.3
drwxr-xr-x 1 ubuntu docker    38 Dec 15  2020 externals.2.275.1
drwxrwxr-x 1 ubuntu ubuntu    38 Aug 31 18:31 externals.2.280.3
-rwxr-xr-x 1 ubuntu docker  1598 Aug 19 22:11 run.sh
-rwxr-xr-x 1 ubuntu ubuntu  4874 Aug 31 18:50 svc.sh

…d ./externals. So rsync does not need link files in a copied directory.
@yoichiwo7 yoichiwo7 merged commit 6ff91d8 into master Aug 31, 2021
@whywaita whywaita deleted the fix/auto-update-runner branch August 31, 2021 11:25
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