container-structure-test | validate the structure of your container images | Continuous Deployment library
kandi X-RAY | container-structure-test Summary
kandi X-RAY | container-structure-test Summary
validate the structure of your container images
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of container-structure-test
container-structure-test Key Features
container-structure-test Examples and Code Snippets
Community Discussions
Trending Discussions on container-structure-test
QUESTION
I've setup a Google Cloud Build pipeline that'll build a docker image from a Dockerfile, test the image and push the image into Google Container Registry.
Upon running the pipeline I noticed that all defined steps passed with SUCCESS
status but the build summary itself returned with FAILURE
status even though I can see the image being produced into Google Container Registry.
I used following command to build the image
...ANSWER
Answered 2021-May-27 at 12:54I've finally resolved this issue with the assistance of Google Cloud support team.
They found out a 403 Permission Denied
error as the Cloud Build container trying to access Google Cloud Storage to delete a certain log object stored in the bucket, this error message is found at the back system of Cloud Build where users/clients have no access to. The 403 Permission Denied
error is the result of the object retention policy applied to the bucket.
In my case, I've replaced retention policy with lifecycle policy to resolve this issue and it worked. We do this as we consider keeping Cloud Build log size under control is our primary objective and, to prevent any accidental deletion/modification to the log file, we ended up with setting read-only access to the resources in the log bucket except for the service account used by Cloud Build.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install container-structure-test
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page