Skip to content

Unsure what value to pass to $TOKEN for registering the runner (./config.sh) #2

Description

@erictaur

Describe the bug
Unsure what value to pass to $TOKEN for registering the runner

To Reproduce
Steps to reproduce the behavior:
Follow the setup guide in the antmicro/runner README

# Sudo into the runner user
sudo -i -u runner bash
cd /home/runner/github-actions-runner

# Modified file is listed at the end of the issue for reference
cp .vm_specs.example.json .vm_specs.json
vim .vm_specs.json

# Register the runner in the desired repository.
export SLOTS=1
./config.sh --url https://github.com/idea-fasoc/OpenFASOC --token $TOKEN --num $SLOTS

Expected behavior
Able to register the repo to the gha-main runner service.

Runner Version and Platform

Everything is grabbed from the vm-runner branch of antmicro/runner

OS of the machine running the runner?

GCP e2-medium (2 vCPUs, 4 GB memory)

What's not working?

./config.sh cannot be run out of the box.

Currently attempted fixes:

  • Unsure what to pass to $TOKEN, passing an arbitrary value leads to an infinite loop
  • _layout directory not found (Currently commented out)

Current status of vm_specs.json

runner@gha-runner-coordinator:~/github-actions-runner$ cat .vm_specs.json
{
  "gcp": {
    "type": "e2-medium",
    "disk_type": "pd-ssd",
    "zone": "us-west1-a",
    "project": "catx-ext-umich",
    "subnet": "default",
    "image": "debian-10-buster-v20210916",
    "sa": "terraform-runner@catx-ext-umich.iam.gserviceaccount.com"
  },
  "machine": {
    "disk": 10
  }
}

Installation script is believed to be executed successfully since supervisord and the gha-main@ service is detectable by the system.

Job Log Output

N/A

Runner and Worker's Diagnostic Logs

N/A

FYI @msaligane

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions