Coder Social home page Coder Social logo

Comments (2)

oiricaud avatar oiricaud commented on June 27, 2024

Screen Shot 2020-04-28 at 4 43 02 PM

The pipeline passes but upon further inspection we get the error in task `publish-pipelines`
 --- Created kabanero-pipelines.tar.gz
Failed building image

from devops-demo-pipelines.

hollisc avatar hollisc commented on June 27, 2024

Providing more context on this issue, Kabanero instance references a tar file that contains the Tekton Pipeline & Tasks yamls that it installs into a target cluster. The tar file can be hosted in any type of repository and by default, it is stored with a git release.

An alternative could be store it in a repository like Artifactory or Nexus. The Kabanero team also provides another option to host the tar file in a docker image. They have a script that will build a docker image with the tar file included.

The issue here is that it is trying to use "docker" to build the image so when we execute the script inside a Tekton task, it cannot find "docker" installed in the image. To pursue the path of creating a docker image with the tar file using Tekton, we would need to create a Tekton Task that would generate the tar and use buildah / kaniko to build an image and push it to an image registry vs using the script as is (which is meant to be run locally).

For the tutorial (https://github.com/ibm-cloud-architecture/gse-devops/tree/master/kabanero-pipeline-managment), we will provide two flavours to host the tar file (github release and artifactory). If there are requests for an example of hosting the tar file in a docker image, we can create a new issue to track this request.

Closing this for now.

from devops-demo-pipelines.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.