dotfiles's Introduction
dotfiles's People
dotfiles's Issues
パッケージを宣言的にインストールする
[CI]Brewでm1-terraform-provider-helperがインストールできない
このパッケージはdependencyにgoが含まれており、 #1 と同様にインストールで失敗する。
理想的にはrunnerに入ったgoを使用してインストールしたいが、環境変数でgoのインストールを飛ばしてもここでgoのインストールを試みて失敗するため、m1-terraform-provider-helperごとインストールをスキップしている。
Installing kreuzwerker/taps/m1-terraform-provider-helper
==> Fetching dependencies for kreuzwerker/taps/m1-terraform-provider-helper: go
==> Fetching go
==> Downloading https://ghcr.io/v2/homebrew/core/go/manifests/1.19.6
==> Downloading https://ghcr.io/v2/homebrew/core/go/blobs/sha256:268da7cba4b4f237999ba82a8641c1e90209041115a5acd[74](https://github.com/no-yan/dotfiles/actions/runs/4261672304/jobs/7416259195#step:2:75)beed0686e1746d1
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:268da7cba4b4f237999ba82a8641c1e90209041115a5acd74beed0686e1746d1?se=2023-02-24T11%3A05%3A00Z&sig=UWNXZI0Rk%2F5pVCx387ZM2Iy0qmk0orZnywZBonyJkuc%3D&sp=r&spr=https&sr=b&sv=2019-12-12
==> Fetching kreuzwerker/taps/m1-terraform-provider-helper
==> Downloading https://github.com/kreuzwerker/m1-terraform-provider-helper/releases/download/0.8.1/m1-terraform-provider-helper_0.8.1_Darwin_amd64.tar.gz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/379896850/25e54547-2f5b-4643-a584-47bddb1e86da?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230224%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230224T105609Z&X-Amz-Expires=300&X-Amz-Signature=f7dfece274643cb290e0c5d5bb1565f93[75](https://github.com/no-yan/dotfiles/actions/runs/4261672304/jobs/7416259195#step:2:76)bccaf9fbeb8e6a4377aa6a8b52dbe&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=379896850&response-content-disposition=attachment%3B%20filename%3Dm1-terraform-provider-helper_0.8.1_Darwin_amd64.tar.gz&response-content-type=application%2Foctet-stream
==> Installing m1-terraform-provider-helper from kreuzwerker/taps
==> Installing dependencies for kreuzwerker/taps/m1-terraform-provider-helper: go
==> Installing kreuzwerker/taps/m1-terraform-provider-helper dependency: go
==> Pouring go--1.19.6.monterey.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/go
Target /usr/local/bin/go
is a symlink belonging to [email protected]. You can unlink it:
brew unlink [email protected]
To force the link and overwrite all conflicting files:
brew link --overwrite go
To list all files that would be deleted:
brew link --overwrite --dry-run go
Possible conflicting files are:
/usr/local/bin/go -> /usr/local/opt/[email protected]/bin/go
/usr/local/bin/gofmt -> /usr/local/opt/[email protected]/bin/gofmt
==> Summary
🍺 /usr/local/Cellar/go/1.19.6: 12,460 files, 630.4MB
==> Installing kreuzwerker/taps/m1-terraform-provider-helper
🍺 /usr/local/Cellar/m1-terraform-provider-helper/0.8.1: 6 files, 12.9MB, built in 4 seconds
==> Running `brew cleanup m1-terraform-provider-helper`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Installing kreuzwerker/taps/m1-terraform-provider-helper has failed!
[CI]Brewでgoがインストールできない
brew bundleでgoをインストールしているが、Actionsのrunnerは別バージョンのgoがインストールされており、現状動作しない。(unlinkするための権限不足?)
現在は環境変数でgoのパッケージが必要なものをインストールしていない。
Installing go
==> Fetching go
==> Downloading https://ghcr.io/v2/homebrew/core/go/manifests/1.19.5
==> Downloading https://ghcr.io/v2/homebrew/core/go/blobs/sha256:06020b3d11c2be4fc8318561203e7435c484773475b836496303cb1c6225ae0a
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:06020b3d11c2be4fc8318561203e7435c484773475b836496303cb1c6225ae0a?se=2023-02-23T07%3A25%3A00Z&sig=si2YI1IfnBcWLU6pGcyHJT3u2QdQ7PfsQ2Rv1Fx%2BAx4%3D&sp=r&spr=https&sr=b&sv=2019-12-12
==> Pouring go--1.19.5.monterey.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/go
Target /usr/local/bin/go
is a symlink belonging to [email protected]. You can unlink it:
brew unlink [email protected]
To force the link and overwrite all conflicting files:
brew link --overwrite go
To list all files that would be deleted:
brew link --overwrite --dry-run go
Possible conflicting files are:
/usr/local/bin/go -> /usr/local/opt/[email protected]/bin/go
/usr/local/bin/gofmt -> /usr/local/opt/[email protected]/bin/gofmt
==> Summary
🍺 /usr/local/Cellar/go/1.19.5: 12,458 files, 630.3MB
==> Running `brew cleanup go`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Installing go has failed!
CIでのbrew installをなくす
遅いので資源の無駄遣いになっている
単に起動チェックしたいだけなのに、tapとかをインストールしているために遅くなっていそう。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.