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

[BUG] Failing to get the kustomize download url #35

Closed
JotBePunkt opened this issue Aug 24, 2022 · 2 comments · Fixed by #37
Closed

[BUG] Failing to get the kustomize download url #35

JotBePunkt opened this issue Aug 24, 2022 · 2 comments · Fixed by #37

Comments

@JotBePunkt
Copy link

Describe the bug

When running this action, lots of errors are thrown (jq: error (at <stdin>:1): Cannot index string with string "assets" see also logs below) and kustomize cannot be downloaded.

To Reproduce

name: kustomize
on: [push]
jobs:
  kustomize-qa:
    name: Kustomize QA
    runs-on: default-runner
    steps:
      - name: 'Checkout'
        uses: actions/checkout@master
      - name: 'Kustomize Build'
        uses: karancode/kustomize-github-action@master
        with:
          kustomize_version: '4.4.1'
          kustomize_build_dir: './xxxx'
          kustomize_comment: true

Expected behavior
Kustomize can be downloaded

Screenshots/Actions log

un karancode/kustomize-github-action@master
  with:
    kustomize_version: 4.4.1
    kustomize_build_dir: ./azure-qa
    kustomize_comment: true
    enable_alpha_plugins: 0
/usr/local/bin/docker run --name e2261b9aba1b2dc44b09baaef4c333bce178_c7e731 --label 60e226 --workdir /github/workspace --rm -e INPUT_KUSTOMIZE_VERSION -e INPUT_KUSTOMIZE_BUILD_DIR -e INPUT_KUSTOMIZE_COMMENT -e INPUT_KUSTOMIZE_OUTPUT_FILE -e INPUT_KUSTOMIZE_BUILD_OPTIONS -e INPUT_ENABLE_ALPHA_PLUGINS -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_RUN_ATTEMPT -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_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -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 GITHUB_STEP_SUMMARY -e RUNNER_OS -e RUNNER_ARCH -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/runner/_work/_temp/_github_home":"/github/home" -v "/runner/_work/_temp/_github_workflow":"/github/workflow" -v "/runner/_work/_temp/_runner_file_commands":"/github/file_commands" -v "/runner/_work/xxxx/xxxx":"/github/workspace" 60e226:1b9aba1b2dc44b09baaef4c333bce178
getting download url for kustomize 4.4.1
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
jq: error (at <stdin>:1): Cannot index string with string "assets"
Downloading kustomize v4.4.1
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
Failed to download kustomize v4.4.1.

Running on:
master

Additional context

gozer added a commit to gozer/kustomize-github-action that referenced this issue Dec 16, 2022
Also, introduce `kustomize_install` as a boolean option that can disable
installing kustomize alltogether, assuming you install it some other way,
like with https://github.com/yokawasa/action-setup-kube-tools

Fixes karancode#35
@karancode
Copy link
Owner

karancode commented Dec 22, 2022

@JotBePunkt sorry for so late here. Thanks to @gozer, this issue is fixed. Please use v1.3.0 or @master.
Thank you!

@Alsaheem
Copy link

Alsaheem commented Jan 9, 2023

@karancode
the issue is not fixed yet
i think there's a pull request that has a fix by someone

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

Successfully merging a pull request may close this issue.

3 participants