[英]How do I verify entry point for pipeline: Image pull failed, back-off pulling image "hashicorp/terraform:full"
I'm new to containers, pipelines, and images so full noob here.我是容器、管道和图像的新手,所以这里是菜鸟。 Trying to run Terratest in a Kube.netes container and my go file for Terratest I'm importing the following.
尝试在 Kube.netes 容器和我的 Terratest 的 go 文件中运行 Terratest 我正在导入以下内容。 I don't think the imports are the problem of the image since the mod and sum file are in the repo already but just in case.
我不认为导入是图像的问题,因为 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"
)
In my.yml file I have the following:在 my.yml 文件中,我有以下内容:
image: golang:latest
include:
- template: Terraform/Base.latest.gitlab-ci.yml
...
test:
stage: test
image:
name: "hashicorp/terraform:full"
And I keep getting the error:而且我不断收到错误消息:
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".
Isn't the template public so I can eliminate that it's a permissions error?模板不是公开的,所以我可以消除它的权限错误吗?
There is no such tag :full
for the image hashicorp/terraform
.图像
hashicorp/terraform
没有这样的标签:full
。 Consider replacing with an existing tag such as :latest
or :1.1.8
.考虑替换为现有标签,例如
:latest
或:1.1.8
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.