Skip to content

Missing kubelogs.sh file #3

@patrick-stephens

Description

@patrick-stephens

Using the @main version - see #2:

      - name: Dump Kubernetes Logs
        if: always()
        uses: stoat-dev/kubernetes-log-export-action@main
        with:
          namespaces: default,kube-system
          show_timestamps: 'true'
          output_dir: kube-logs-output

I get the following error:

...
Download action repository 'stoat-dev/kubernetes-log-export-action@main' (SHA:4bee2c463b03f408d7e7651dc9c31d93ba2689e9)
...
Run stoat-dev/kubernetes-log-export-action@main
  with:
    namespaces: default,kube-system
    show_timestamps: true
    output_dir: kube-logs-output
Running kubectl scripts...
Dumping logs for namespace: default
Error: Unable to locate executable file: /home/runner/work/core-images/core-images/kubelogs.sh. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions