如何验证管道的入口点:镜像拉取失败,退避拉取镜像 "hashicorp/terraform:full"
How do I verify entry point for pipeline: Image pull failed, back-off pulling image "hashicorp/terraform:full"
我是容器、管道和图像的新手,所以这里是菜鸟。尝试在 Kubernetes 容器中 运行 Terratest 和我的 Terratest go 文件我正在导入以下内容。我不认为导入是图像的问题,因为 mod 和 sum 文件已经在回购中,但以防万一。
"testing"
"strconv"
"github.com/Jeffail/gabs"
"github.com/stretchr/testify/assert"
"github.com/gruntwork-io/terratest/modules/terraform"
"github.com/gruntwork-io/terratest/modules/azure"
)
在我的 .yml 文件中有以下内容:
image: golang:latest
include:
- template: Terraform/Base.latest.gitlab-ci.yml
...
test:
stage: test
image:
name: "hashicorp/terraform:full"
我不断收到错误消息:
Waiting for pod GitLab-apps/runner-randomstringpart to be running, status is Pending
Waiting for pod GitLab-apps/runner-randomstringpart to be running, status is Pending
ContainersNotReady: "containers with unready status: [build helper]"
ContainersNotReady: "containers with unready status: [build helper]"
WARNING: Failed to pull image with policy "": image pull failed: Back-off pulling image "hashicorp/terraform:full"
ERROR: Job failed: prepare environment: waiting for pod running: pulling image "hashicorp/terraform:full": image pull failed: Back-off pulling image "hashicorp/terraform:full".
模板不是 public 所以我可以排除它是权限错误吗?
图像 hashicorp/terraform
没有这样的标签 :full
。考虑用 an existing tag 替换,例如 :latest
或 :1.1.8
.
我是容器、管道和图像的新手,所以这里是菜鸟。尝试在 Kubernetes 容器中 运行 Terratest 和我的 Terratest go 文件我正在导入以下内容。我不认为导入是图像的问题,因为 mod 和 sum 文件已经在回购中,但以防万一。
"testing"
"strconv"
"github.com/Jeffail/gabs"
"github.com/stretchr/testify/assert"
"github.com/gruntwork-io/terratest/modules/terraform"
"github.com/gruntwork-io/terratest/modules/azure"
)
在我的 .yml 文件中有以下内容:
image: golang:latest
include:
- template: Terraform/Base.latest.gitlab-ci.yml
...
test:
stage: test
image:
name: "hashicorp/terraform:full"
我不断收到错误消息:
Waiting for pod GitLab-apps/runner-randomstringpart to be running, status is Pending
Waiting for pod GitLab-apps/runner-randomstringpart to be running, status is Pending
ContainersNotReady: "containers with unready status: [build helper]"
ContainersNotReady: "containers with unready status: [build helper]"
WARNING: Failed to pull image with policy "": image pull failed: Back-off pulling image "hashicorp/terraform:full"
ERROR: Job failed: prepare environment: waiting for pod running: pulling image "hashicorp/terraform:full": image pull failed: Back-off pulling image "hashicorp/terraform:full".
模板不是 public 所以我可以排除它是权限错误吗?
图像 hashicorp/terraform
没有这样的标签 :full
。考虑用 an existing tag 替换,例如 :latest
或 :1.1.8
.