You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Our GitHub Action workflows are failing with Unable to find Kustomize version '3.6.1' for platform 'linux' and architecture amd64.
The action executes after a successful merge to Master.
We are using ubuntu-latest and so I suspect the issue is being caused by the github update of ubuntu-latest to Ubuntu-20.04.
Area for Triage:
name: CI
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: azure/docker-login@v1
with:
login-server: careful.azurecr.io
username: careful
password: ${{ secrets.ACR_PASSWORD }}
# Runs a single command using the runners shell
- name: Run the auto build script
run: _build/auto/build-and-push.rb sandbox
deploy:
needs: build
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: imranismail/setup-kustomize@v1
with:
kustomize-version: "3.6.1"
- uses: azure/k8s-set-context@v1
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- uses: azure/k8s-set-context@v1
with:
method: kubeconfig
context: careful
kubeconfig: ${{ secrets.KUBECONFIG }}
# Runs a single command using the runners shell
- name: Run the auto build script
run: _build/auto/deploy.rb sandbox
Question, Bug, or Feature?:
Bug
Virtual environments affected
Ubuntu 16.04
Ubuntu 18.04
Ubuntu 20.04
macOS 10.15
macOS 11.0
Windows Server 2016 R2
Windows Server 2019
I tried to downgrade the ubuntu-latest version in the above yml to ubuntu-18.04, however this doesn't seem to resolve the issue..
Expected behavior
The Build and deploy should execute without issue. The actions were working without issue up until today. I re-executed yesterdays (previously working) actions and they are also now failing.
Actual behavior
"Build" executes without issue, but the action is failing on "Deploy" with error:
Unable to find Kustomize version '3.6.1' for platform 'linux' and architecture amd64.
Hello @tkayyyyys , imranismail/setup-kustomize@v1 downloads and install kustomize in runtime from https://github.com/kubernetes-sigs/kustomize so I suggest to work with action owner to investigate and fix the issue.
I was able to reproduce the same issue on Ubuntu 18.04 and it is not related to image.
P.S.
Looks like when setup-kustomize retrieves the list of versions kubernetes-sigs/kustomize, pagination doesn't work properly and it retrieves only first 30 results.
Previously, it worked but recently, a bunch of new versions were added to https://github.com/kubernetes-sigs/kustomize and version 3.6.1 is not in the first 30 results.
Description
Our GitHub Action workflows are failing with Unable to find Kustomize version '3.6.1' for platform 'linux' and architecture amd64.
The action executes after a successful merge to Master.
We are using ubuntu-latest and so I suspect the issue is being caused by the github update of ubuntu-latest to Ubuntu-20.04.
Area for Triage:
name: CI
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
deploy:
needs: build
Question, Bug, or Feature?:
Bug
Virtual environments affected
I tried to downgrade the ubuntu-latest version in the above yml to ubuntu-18.04, however this doesn't seem to resolve the issue..
Expected behavior
The Build and deploy should execute without issue. The actions were working without issue up until today. I re-executed yesterdays (previously working) actions and they are also now failing.
Actual behavior
"Build" executes without issue, but the action is failing on "Deploy" with error:
Unable to find Kustomize version '3.6.1' for platform 'linux' and architecture amd64.
I've checked https://github.com/imranismail/setup-kustomize and no new changes have been made to the project since October. So it's odd that it has suddenly begun to throw an error.
Repro steps
A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.
The text was updated successfully, but these errors were encountered: