-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
iterative/terraform-provider-iterative
#458Labels
p0-criticalMax priority (ASAP)Max priority (ASAP)
Description
I have tried a few iterations of this:
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: iterative/setup-cml@v1
- name: deploy runner
env:
GOOGLE_APPLICATION_CREDENTIALS_DATA: ${{ secrets.GCP_CML_RUNNER_KEY }}
run: |
cml runner \
--single \
--labels=test \
--token=${{ secrets.DACBD_PAT }} \
--cloud=gcp \
--cloud-region=us-west \
--cloud-type=e2-highcpu-2
test:
needs: [setup]
runs-on: [self-hosted, test]
steps:
- uses: actions/checkout@v2
- run: |
which cml
cml ci
Fails with an odd message: Error: Cannot find module '/tmp/tmp.njlS8oR0sf/.cml/cml-ehsjbxeja3/_work/cml-pulse/cml-pulse/ci'
and:
...
test:
needs: [setup]
runs-on: [self-hosted, test]
steps:
- uses: actions/checkout@v2
- uses: iterative/setup-cml@v1
- run: |
which cml
cml ci
Fails with a EEXIST: file already exists, symlink '../lib/node_modules/@dvcorg/cml/bin/cml.js' -> '/usr/bin/cml'
However using --cml-version=github:iterative/cml.git#master \
to trigger the npm install -g
way of setting up cml on the runner instance works fine.
casperdcl
Metadata
Metadata
Assignees
Labels
p0-criticalMax priority (ASAP)Max priority (ASAP)