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

use of RUNNER_TEMP is failing #8

Open
displague opened this issue Mar 2, 2021 · 2 comments
Open

use of RUNNER_TEMP is failing #8

displague opened this issue Mar 2, 2021 · 2 comments

Comments

@displague
Copy link
Member

displague commented Mar 2, 2021

https://github.com/equinix/terraform-metal-vsphere/pull/11/checks?check_run_id=2014719979

/usr/bin/docker run --name e48f68124adb8844f89d80f9a1c51eb453_29f5ae --label 5588e4 --workdir /github/workspace --rm -e SSH_AUTH_SOCK -e TF_IN_AUTOMATION -e TF_VERSION -e TF_VAR_control_plane_node_count -e TF_VAR_vcenter_iso_name -e TF_VAR_vmware_os -e TF_VAR_esxi_host_count -e TF_VAR_esxi_size -e TF_VAR_router_size -e TF_VAR_facility -e TF_VAR_create_project -e TF_VAR_auth_token -e TF_VAR_s3_url -e TF_VAR_s3_bucket_name -e TF_VAR_s3_access_key -e TF_VAR_s3_secret_key -e SHORT_SHA -e TERRAFORM_CLI_PATH -e METAL_AUTH_TOKEN -e INPUT_PROJECTNAME -e INPUT_ORGANIZATIONID -e PROJECT_NAME -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/terraform-metal-vsphere/terraform-metal-vsphere":"/github/workspace" 5588e4:8f68124adb8844f89d80f9a1c51eb453
2021/03/02 16:04:06 open /home/runner/work/_temp/id_rsa_640949113: no such file or directory

in v0.6.0

@displague
Copy link
Member Author

Let's try replacing RUNNER_TEMP with GITHUB_WORKSPACE.

If there are issues with putting the SSH keys in the WORKSPACE, we can deal with that later.

https://docs.github.com/en/actions/reference/environment-variables

displague added a commit that referenced this issue Mar 8, 2021
For #8, writes to the runner_temp directory are not working. This change
will move the SSH keys to the worker directory which is suspected to not
have write issues.

Signed-off-by: Marques Johansson <mjohansson@equinix.com>
@ctreatma
Copy link
Contributor

Is this issue resolved? And is it a duplicate of / related to #3?

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

No branches or pull requests

2 participants