cost 214 ms
GCP - 在 dockerfile 的構建階段,Cloud Build 無法使用文件連接到 GCS 存儲桶

[英]GCP - Cloud Build can't connect to GCS bucket with file during build stage in dockerfile

這是我正在使用的 dockerfile: 它在從 Cloud Shell 構建時有效,但在從 Cloud Build 運行時無效。 我收到以下錯誤: ServiceException: 401 Anonymous caller does not have storage.objects.get a ...

將 Packer VM 映像保存到 GCP Artifact Registry 的路徑和選項

[英]Path and options for saving a Packer VM image to GCP Artifact Registry

(警告,這里是新手)我正在通過構建虛擬機來學習 Packer。 我點擊了指向 cloud-builders-community/packer example 的鏈接。 不幸的是,這似乎已經過時了。 它將 output 推送到 gcr.io ……我發現它已被棄用,取而代之的是 Artifact Re ...

Cloud Build 不會將我的 Docker 圖像推送到帶有 cloudbuild.yaml 圖像字段的 Artifact Registry

[英]Cloud Build does not push my Docker image to Artifact Registry with images field in cloudbuild.yaml

我在兩個 Cloud Build 觸發器中有兩個 GitHub 存儲庫(我們稱它們為 Repo1 和 Repo2)。 兩者都有相同的服務帳戶,GitHub 帳戶,GCP 項目,並且兩個存儲庫都存在於 Artifact Registry 中。 Repo1 的 Docker 圖像被推送到 Artif ...

從打包程序實例導入時,GCP yum 工件注冊表 403

[英]GCP yum artifact registry 403 when imported from packer instance

我正在嘗試從 yum 存儲庫安裝一個 package,該存儲庫是在加殼實例中使用 GCP 工件注冊表創建的。 如果存儲庫具有對 allUsers 的公共訪問權限,我可以安裝allUsers ,但是,如果主體僅限於服務帳戶,即使 sa 具有roles/artifactregistry.admin或r ...

python 中的 Google 神器注冊表 list_tags - 包含無效參數

[英]Google artifact registry list_tags in python - contains invalid argument

我是代碼新手所以請善待:)我已經設置了我的谷歌憑據並且我已經檢查了用於工件注冊表(v1)的 python 庫的文檔,但顯然做了一些愚蠢的事情,因為我收到了這個回復 - google.api_core.exceptions.InvalidArgument: 400 Request contains a ...

檢查 GCP 中消失的工件文件

[英]Checking disappeared Artifact files in GCP

我在 GCP 中有兩個項目,我使用gcloud從本地機器連接了它們。 在我的項目 1 中,已經存在很少的工件文件。 今天,當我試圖在項目 2 中創建一個新的工件存儲庫時,它被錯誤地創建在項目 1 中,因此我無法在項目 1 中看到舊的工件存儲庫。 誰能幫我找到被替換的舊工件存儲庫。 提前致謝。 ...

來自不同項目的 Google Artifact Registry 訪問

[英]Google Artifact Registry access from different projects

我想在單個 GKE 項目中配置 Google Artifact Registry,所有其他項目都可以訪問此 Centralized Artifact Registry。 在谷歌文檔中我不清楚如何實現這一點,特別是對於使用默認帳戶的谷歌 Kube.netes 引擎節點。 您知道如何配置訪問權限以實現該 ...

Google Cloud Artifact Registry Docker 具有虛擬大小的圖像的存儲定價

[英]Google Cloud Artifact Registry Docker Storage pricing for images with Virtual size

我已經檢查了 AR 的文檔,我看到我們提到了 Docker 張圖像的存儲成本為每月 0.1/GB。 這里但是,docker 具有虛擬大小的圖像而不是實際大小,那么 AR docker 存儲的定價是否重要? 誰能證實這一點? ...

上傳到 GCP Apt 工件注冊表的時間非常慢

[英]Very Slow Upload Times to GCP Apt Artifact registry

我有一個 CI/CD 系統,可以將大量大型 deb 上傳到 Apt 包的 Google Cloud Artifact Registry 中。 平均 package 的正常上傳時間大約為 10 秒。昨天,所有上傳到該工件注冊表的命令都開始掛起,直到它們被外部觸發器或超時(超過 30 分鍾)終止。 任何 ...

推送到 Google Artifact Repository 時出現身份驗證錯誤

[英]Auth error when pushing to Google Artifact Repository

我正在嘗試從本地機器推送到 GAR,但我總是收到此錯誤: 首先,我已通過 IAM 確認我的賬戶具有 Artifact Registry Writer 角色。 我在本地做了以下事情: 在這個最終命令上,我得到了上面的錯誤。 我已經閱讀了我能找到的所有谷歌文檔,但它們都建議了上述步驟: https:/ ...

命令刪除工件注冊表的所有圖像版本,除了最新的?

[英]Command To Delete All Image Versions of Artifact Registry Except Latest?

我有一個 GitHub Action 將我的圖像推送到 Artifact Registry。 這是驗證然后將其推送到我的 Google Cloud Artifact Registry 的步驟 $GIT_TAG 始終是“最新的” 我想再添加一個命令,然后清除除最新版本之外的所有命令。 在下面的屏幕 ...

無法從 kubernetes pod 中的注冊表問題中提取圖像

[英]Cannot pull image from registry issue in kubernetes pod

我在將圖像從工件注冊表拉到 kubernetes pod 時遇到問題。 我已經在工件注冊表中創建了存儲庫,並且我已經推送了帶有標簽的 docker 圖像。 當我嘗試在 kubernetes 中部署圖像時,我遇到了 ErrImagePull 問題。 我試圖執行下面的命令 在事件中我看到以下問題 使用默 ...

運行一塵不染:檢查不拉 maven 依賴項 Github 操作

[英]Run spotless:check without pulling maven dependencies in Github Actions

我正在嘗試設置 Github 操作來檢查一塵不染。 我的行動.yml 在我的 pom.xml 中,我設置了一塵不染以觸發干凈的生命周期。 pom.xml(在一塵不染的插件中): 全pom.xml 一切正常,除了所有依賴的 JARs 幾乎每次都被拉出(如果提交靠近,緩存會有所幫助)。 這是一個問題, ...

如何在 GCP Cloud Build 的 Terraform Docker Provider 中構建和推送 docker 映像

[英]How to build and push a docker image in a Terraform Docker Provider by GCP Cloud Build

參考 Terraform Docker 供應商 Terraform 谷歌提供商 GCP 雲構建上下文詳細信息部署由 CICD 基於 GCP Cloud Build 完成(並且雲構建服務帳戶具有相關項目的“所有者”角色)。 在“cloudbuild.yaml”文件中,有一個帶有“hashicorp/t ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM