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

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter ''using: node16' is not supported #193

Closed
marco-scoppetta-qatalog opened this issue Jan 27, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@marco-scoppetta-qatalog

TL;DR

Hi all,

after the recent change (3496e55) to switch to Node16 by default,
we are getting:

Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. 
(Parameter ''using: node16' is not supported, use 'docker' or 'node12' instead.')
   at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
   
Error: Fail to load google-github-actions/get-secretmanager-secrets/main/action.yml

in our CI pipeline.

Anyone else having this issue?
Any way we can fix it on our side?

Thank you!

Expected behavior

No response

Observed behavior

No response

Action YAML

name: Docker build check
on: [workflow_dispatch, pull_request]
concurrency:
  group: docker-build-${{ github.ref }}
  cancel-in-progress: true
jobs:
  docker-build:
    runs-on: [self-hosted, preemptible]
    env:
      NODE_ENV: test
    steps:
      - name: setup node
        uses: actions/setup-node@v2
        with:
          node-version: 'lts/*'
      - uses: actions/checkout@v2
      - uses: google-github-actions/setup-gcloud@master
        with:
          project_id: ${{ secrets.xxx }}
          service_account_key: ${{ secrets.xxx }}
          export_default_credentials: true
          credentials_file_path: .xxx.json
      - id: secrets
        uses: google-github-actions/get-secretmanager-secrets@main
        with:
          secrets: |-
            CMS_API_TOKEN:xxx/INTEGRATION_XXX
            SHEETS_CMS_API_KEY:xxx/SHEETS_XXX
      - name: write .env
        run: |
          cat << EOF > .env
          BUTTERCMS_API_TOKEN=${{ steps.secrets.outputs.BUTTERCMS_API_TOKEN }}
          GCP_PROJECT_ID=${{ secrets.GCP_PROJECT_ID }}
          SHEETS_TO_CMS_API_KEY=${{ steps.secrets.outputs.SHEETS_TO_CMS_API_KEY }}
          EOF
      - name: docker login
        run: |-
          gcloud --quiet auth configure-docker
      - name: write git-commit.txt
        run: echo "${GITHUB_SHA}" > git-commit.txt
      - name: docker build
        run: |-
          docker build \
            --build-arg GCP_PROJECT_ID=${{ secrets.GCP_PROJECT_ID }} \

Log output

No response

Additional information

No response

@marco-scoppetta-qatalog marco-scoppetta-qatalog added the bug Something isn't working label Jan 27, 2022
@sethvargo
Copy link
Member

Hi @marco-scoppetta-qatalog

You can temporarily pin to @v0.4.1 which is the last release in the series that supports Node 12.

Node 12 is EOL in ~3mo and the managed GitHub Actions runners support Node 16. I think you may need to update to the latest GitHub Actions runner or base image on your self-hosted runners.

Please let me know if you have any additional questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants