Coder Social home page Coder Social logo

Comments (3)

hollisc avatar hollisc commented on August 29, 2024

Issue: When a new tar is generated containing new and/or updates to existing Tekton Pipelines / Tasks resources, the Kabanero instance running in the cluster (by default it is created in the "kabanero" namespace) will need to be updated to reference the new tar file. The way to update the existing Kabanero instance should be to patch the resource to ref the new tar.

For example, the following yaml snippet is from the kabanero instance by default.

stacks: pipelines: - https: url: https://github.com/kabanero-io/kabanero-pipelines/releases/download/0.6.1/default-kabanero-pipelines.tar.gz id: default sha256: 64aee2805d36127c2f1e0e5f0fc6fdae5cef19360c1bb506137584f3bd0988cc

To resolve this, we need to figure out the kubectl patch cmd required to update the existing resource in the pipeline.

from devops-demo-pipelines.

oiricaud avatar oiricaud commented on August 29, 2024

Resolved this issue with @andrew-suh by running the following command.

oc patch Kabanero/kabanero -p '{"spec":{"stacks":{"pipelines":['$(cat ./json/add_pipeline_modified_template_2.json)']}}}' --type=merge --loglevel=9

from devops-demo-pipelines.

oiricaud avatar oiricaud commented on August 29, 2024

You can view the pull request here. Also moved the artifactory-package-release-update-pl from experimental to incubator #21

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.