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

homebrew not in PATH in GitHub Actions virtual environments anymore #117

Closed
jonashackt opened this issue Dec 6, 2022 · 1 comment · Fixed by #121
Closed

homebrew not in PATH in GitHub Actions virtual environments anymore #117

jonashackt opened this issue Dec 6, 2022 · 1 comment · Fixed by #121

Comments

@jonashackt
Copy link
Owner

Builds run into the following error when using brew command

/home/runner/work/_temp/3d77d38c-dec3-43f1-8d28-77bc8c7c9668.sh: line 1: brew: command not found

see https://github.com/jonashackt/tekton-argocd-eks/actions/runs/3536379914/jobs/5935381463

@jonashackt
Copy link
Owner Author

jonashackt commented Dec 6, 2022

Known (but strange!) issue actions/runner-images#6283 - always loved to simply use brew in GitHub Actions.

Fixing as described in https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md#notes

Note: Homebrew is pre-installed on image but not added to PATH.
run the eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" command
to accomplish this.

jonashackt added a commit that referenced this issue Dec 7, 2022
jonashackt added a commit that referenced this issue Dec 7, 2022
jonashackt added a commit that referenced this issue Dec 8, 2022
…n.yaml, because we run into errors like `{"apiVersion":"v1","kind":"Namespace","metadata":{"annotations":{"internal.config.kubernetes.io/previousKinds":"Namespace","internal.config.kubernetes.io/previousNames":"tekton-pipelines","internal.config.kubernetes.io/previousNamespaces":"_non_namespaceable_"},"labels":{"app.kubernetes.io/instance":"default","app.kubernetes.io/part-of":"tekton-pipelines","pod-security.kubernetes.io/enforce":"restricted"},"name":"tekton-pipelines"}}` - see kubernetes-sigs/kustomize#3156 (comment)
jonashackt added a commit that referenced this issue Mar 16, 2023
jonashackt added a commit that referenced this issue Mar 17, 2023
jonashackt added a commit that referenced this issue Mar 17, 2023
…n.yaml, because we run into errors like `{"apiVersion":"v1","kind":"Namespace","metadata":{"annotations":{"internal.config.kubernetes.io/previousKinds":"Namespace","internal.config.kubernetes.io/previousNames":"tekton-pipelines","internal.config.kubernetes.io/previousNamespaces":"_non_namespaceable_"},"labels":{"app.kubernetes.io/instance":"default","app.kubernetes.io/part-of":"tekton-pipelines","pod-security.kubernetes.io/enforce":"restricted"},"name":"tekton-pipelines"}}` - see kubernetes-sigs/kustomize#3156 (comment)
jonashackt added a commit that referenced this issue Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant