cloud-builders-community | Community-contributed images for Google Cloud Build | GCP library

 by   GoogleCloudPlatform Go Version: Current License: Apache-2.0

kandi X-RAY | cloud-builders-community Summary

kandi X-RAY | cloud-builders-community Summary

cloud-builders-community is a Go library typically used in Cloud, GCP, Nodejs, Docker applications. cloud-builders-community has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

Community-contributed images for Google Cloud Build
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              cloud-builders-community has a medium active ecosystem.
              It has 1163 star(s) with 833 fork(s). There are 41 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 60 open issues and 74 have been closed. On average issues are closed in 104 days. There are 57 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of cloud-builders-community is current.

            kandi-Quality Quality

              cloud-builders-community has 0 bugs and 0 code smells.

            kandi-Security Security

              cloud-builders-community has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              cloud-builders-community code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              cloud-builders-community is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              cloud-builders-community releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              It has 1993 lines of code, 62 functions and 60 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cloud-builders-community
            Get all kandi verified functions for this library.

            cloud-builders-community Key Features

            No Key Features are available at this moment for cloud-builders-community.

            cloud-builders-community Examples and Code Snippets

            No Code Snippets are available at this moment for cloud-builders-community.

            Community Discussions

            QUESTION

            Google Cloud Build Windows Builder Error "The system cannot find the path specified"
            Asked 2022-Jan-12 at 20:08

            I am trying to implement automatic deployments for my Windows Kubernetes container app. I'm following instructions from Google's windows-builder. The trigger completes without an explicit error, but it doesn't initiate the docker build & push. No update has been made in Container Registry. The closest thing I can find to an error message is "The system cannot find the path specified." Screenshot below:

            The container, gcr.io/[my-project-id]/windows-builder, definitely exists, and it's located in the same GCP project as the Cloud Build trigger, just as the windows-builder documentation commanded.

            I'm guessing that it's unable to find either my build.ps1 file or my worker Dockerfile. I can't understand why, though. I structured my code based on Google's docker-windows example. Here is my repository file structure:

            ...

            ANSWER

            Answered 2022-Jan-12 at 20:08

            I figured it out. I removed the "true" argument for my create-external-ip flag from the cloudbuild.yaml command and that did the trick. Working file is below.

            Source https://stackoverflow.com/questions/70427276

            QUESTION

            Google Cloud Build windows builder error "Failed to get external IP address: Could not get external NAT IP from list"
            Asked 2021-Dec-17 at 09:41

            I am trying to implement automatic deployments for my Windows Kubernetes container app. I'm following instructions from the Google's windows-builder, but the trigger quickly fails with this error at about 1.5 minutes in:

            ...

            ANSWER

            Answered 2021-Dec-17 at 09:41

            Replicated the steps from GitHub and got the same error. It is throwing Failed to get external IP address... error because the External IP address of the VM is disabled by default in the source code. I was able to build it successfully by adding '--create-external-ip', 'true' in cloudbuild.yaml.

            Here is my cloudbuild.yaml:

            Source https://stackoverflow.com/questions/70385128

            QUESTION

            How can I create CI/CD pipeline with cloudbuild.yaml in GCP?
            Asked 2021-Oct-31 at 19:09

            I am trying to create a simple CI/CD pipeline. After the client makes git push, it will start a trigger with the below cloudbuilder.yaml:

            ...

            ANSWER

            Answered 2021-Oct-31 at 19:09

            Before pulling your image in the 2nd step, you need to push it. When you declare the images at the end of your yaml definition, the image are pushed automatically at the end on the pipeline. Here you need it in the middle.

            EDIT 1

            I just added a docker push step, copy and paste from your comments. Does it work?

            Source https://stackoverflow.com/questions/69766440

            QUESTION

            Google Cloud Builder for Angular fails during Node SASS installation using Cloud Builders Community image
            Asked 2021-Oct-15 at 20:06

            Steps I've done so far:

            • I've created a Google Cloud Repository
            • I've created a Cloud Build Trigger and linked it to my GitHub account and repo and matched the branch name exactly ^staging$

            And now per the guide I'm trying to initialize an angular builder with the following code:

            ...

            ANSWER

            Answered 2021-Oct-15 at 20:06

            Posting @anon58192932 solution for visibility:

            You can follow this Medium guide that uses a generic npm image.

            cloudbuild.yaml:

            Source https://stackoverflow.com/questions/69451634

            QUESTION

            Cloud build with JFrog Artifactory
            Asked 2021-Jun-04 at 06:13

            I am using google cloud build to build my maven projects and I use JFrog antifactory registry to store maven artifacts. In cloud build need these artifacts. I tried with several documentations [1], [2]. But time to time it given many errors. Can I take proper latest updated guide to integrate cloud build and JFrog antifactory. Proper authentication method need to use other than user name password. API key method can be used.

            [1]. https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/jfrog

            [2]. https://cloud.google.com/blog/products/application-development/integrating-google-cloud-build-with-jfrog-artifactory

            EDIT 1

            I set M2_HOME as MAVEN_HOME. Then that issue was fixed. But new error given as Unsupported major.minor version 52.0. This is common issue with java version mismatch.

            Error message :

            ...

            ANSWER

            Answered 2021-Jun-04 at 06:13

            I solved this issue using maven settings xml file. I followed below steps.

            1. Create maven settings.xml in root directory.

            Source https://stackoverflow.com/questions/67681909

            QUESTION

            Using two CloudBuild images in one step
            Asked 2020-Aug-09 at 11:51

            I have run into a problem where I need to run both Java+Android and NodeJS in the same CloudBuild "step".

            My current situation is that I'm trying to build a react-native project within Google CloudBuild. The problem with this is that while bundling for Android with .gradlew a node script is called.

            I tried using a CloudBuild step config like this:

            ...

            ANSWER

            Answered 2020-Aug-09 at 11:51

            Firstly, on Cloud Build, you can only run 1 container at each step. Here your problem isn't to run 2 containers, you want to have 2 applications embedded in the same container.

            For this 2 solutions:

            1. You find a container with all what you want installed on it
            2. You use a base container and you install by yourselves the missing app on it
            • Either, just after the installation you use it as-is
            • Or you can create a build pipeline to shape your own container (custom-builder) from the base with the installations of missing part and store it in GCR. Then, for the build of your application, you can use directly this custom container

            To install the missing part, you can do this

            Source https://stackoverflow.com/questions/63320506

            QUESTION

            Proper permission for Cloud Build to deploy to Firebase?
            Asked 2020-Jul-14 at 12:15

            Permissions recommended for the Cloud Build service account in the official Google documentation and the Firebase CLI community builder docs are insufficient:

            1. In the permissions table, locate the email ending with @cloudbuild.gserviceaccount.com, and click on the pencil icon.
            2. Add Cloud Build Service Account, Firebase Admin and API Keys Admin roles.

            I still get the following error in Cloud Build when I do firebase deploy:

            Error: HTTP Error: 403, The caller does not have permission

            What I've tried is different Firebase IAM roles, Editor, and Owner. So far only the Owner role works. That is way too much privilege for a Cloud Build service account, and violates the least-privilege model.

            Everything is in the same Google Cloud project.

            Anyone know how to troubleshoot this? Or know which role/permission is missing?

            ...

            ANSWER

            Answered 2020-Jul-14 at 12:15

            tl;dr seems like it was "an accidental permission expansion" that has been corrected.

            I am able restrict the roles to:

            1. Cloud Build Service Account
            2. Firebase Admin
            3. API Keys Admin

            Source https://stackoverflow.com/questions/62676357

            QUESTION

            Google Cloud Run - Run Shell Script in firebase project
            Asked 2020-Jun-20 at 12:34

            I'm new to google cloud-run and I'm hoping to achieve to run scripts in the firebase project to update configs (env variables)

            here's the process

            firebase function invoked-> pass param(bar, baz) into cloud run -> run scripts firebase functions:config:set foo.bar=baz

            What I have done is to crate an image of firebase-tools shared by cloud-builders-community, and below is the code

            ...

            ANSWER

            Answered 2020-Jun-20 at 12:34

            Cloud Run allows you to host containers that answer to HTTP request.

            In your design, how did you manage to invoke your container? ... Yes you don't have any endpoint defined.

            I contributed on an open source project and I discovered a tool that serve you automatically bash script as http endpoint. Have a look to this Dockerfile. It use the tool shell2http

            In your case, I recommend you to have a Dockerfile like this:

            Source https://stackoverflow.com/questions/62462157

            QUESTION

            CloudBuild fastlane task failing with JAVA_HOME is not set and no 'java' command could be found in your PATH
            Asked 2020-Jun-11 at 07:38

            I am attempting to run a fastlane build inside Google Cloud Build however I'm getting the following error:

            ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

            My first step is to install the Android SDK, which works fine, and then run the fastlane command, however each and every time, no matter what I do in the name before the id:fastlane I get the same Java error. I've downloaded both the Android and Fastlane images from the Cloud Builder and Community Cloud Builders github repo and placed them in our GCP project repository, so each are accessible in the name tasks.

            ...

            ANSWER

            Answered 2020-Jun-11 at 07:38

            Keep in mind that each step are containers. They are loaded one by one, the tasks performed and unloaded. Only the /workspace directory is kept from one step to another one.

            Therefore, in your first step you load an android builder and you can build Java stuff because Java is installed in the container. Then unloaded

            The second step is Fastlane. Look at the Dockerfile, it's a ruby image. No Java inside, thus, your process can't work. You have to build a custom worker

            • Either from the fastlane base image and install Java on it
            • Or from a Java image (Android?) and install Ruby and fastlane on it.

            Source https://stackoverflow.com/questions/62312480

            QUESTION

            Does not getting build failure status even the build not successful run(cloud-build remote builder)
            Asked 2020-Jan-17 at 05:10

            Cloud-build is not showing build failure status

            I created my own remote-builder which scp all files from /workspace to my Instance and running build on using gcloud compute ssh -- COMMAND remote-builder

            ...

            ANSWER

            Answered 2020-Jan-16 at 17:07

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install cloud-builders-community

            This repository contains source code for community-contributed Docker images. You can use these images as build steps for Google Cloud Build. These are not official Google products.
            To use a community-contributed Docker image as a build step, you need to download the source code from this repo and build the image.
            Clone the cloud-builders-community repo: $ git clone https://github.com/GoogleCloudPlatform/cloud-builders-community
            Go to the directory that has the source code for the packer Docker image: $ cd cloud-builders-community/packer
            Build the Docker image: $ gcloud builds submit --config cloudbuild.yaml .
            View the image in Google Container Registry: $ gcloud container images list --filter packer
            Once you've built the Docker image, you can use it as a build step in a Cloud Build build.

            Support

            This repository contains source code for community-contributed Docker images. You can use these images as build steps for Google Cloud Build. These are not official Google products.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/GoogleCloudPlatform/cloud-builders-community.git

          • CLI

            gh repo clone GoogleCloudPlatform/cloud-builders-community

          • sshUrl

            git@github.com:GoogleCloudPlatform/cloud-builders-community.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular GCP Libraries

            microservices-demo

            by GoogleCloudPlatform

            awesome-kubernetes

            by ramitsurana

            go-cloud

            by google

            infracost

            by infracost

            python-docs-samples

            by GoogleCloudPlatform

            Try Top Libraries by GoogleCloudPlatform

            microservices-demo

            by GoogleCloudPlatformPython

            terraformer

            by GoogleCloudPlatformGo

            training-data-analyst

            by GoogleCloudPlatformJupyter Notebook

            python-docs-samples

            by GoogleCloudPlatformJupyter Notebook

            golang-samples

            by GoogleCloudPlatformGo