Coder Social home page Coder Social logo

Comments (8)

oiricaud avatar oiricaud commented on July 25, 2024

Refer to this link to learn how to create a custom stack https://github.com/odrodrig/my-nodejs-express-stack/blob/master/customStack.md

from devops-demo-pipelines.

oiricaud avatar oiricaud commented on July 25, 2024

Important to note this is for kabanero v0.9 -> https://kabanero.io/guides/working-with-pipelines/#creating-and-updating-your-own-tasks-and-pipelines

from devops-demo-pipelines.

oiricaud avatar oiricaud commented on July 25, 2024

Note

I refactored nodejs-mcm-pl to StackId-mcm-pl and I get

\"StackId-mcm-pl\" is invalid: metadata.name: Invalid value: \"StackId-mcm-pl\": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')} 

The CRD

    stacks:
      repositories:
      - https:
          name: central
          url: https://github.com/kabanero-io/kabanero-stack-hub/releases/download/0.6.3/kabanero-stack-hub-index.yaml
      - https:
          name: custom-node-stack
          url: https://github.com/odrodrig/custom-node-stack/releases/download/0.5.0/custom-node-stack-index.yaml
      pipelines:
      - https:
          url: https://github.com/kabanero-io/kabanero-pipelines/releases/download/0.6.1/default-kabanero-pipelines.tar.gz
        id: default
        sha256: 64aee2805d36127c2f1e0e5f0fc6fdae5cef19360c1bb506137584f3bd0988cc
      - https:
          url: https://github.com/oiricaud/devops-demo-kabanero-pipelines/releases/download/v1.31/default-kabanero-pipelines.tar.gz
        id: nodejs-mcm
        sha256: cfbe25c9650304601273fac167521a1c1c73e4ea2de2dd672d574abf0c033a9a

Not sure if this is due to mismatch on versions, the example shows v0.9 and we are using v0.6.1

However it is important to note in the docs it mentions

When the operator activates these resources, it replaces the keyword with the name of the stack it is activating. The operator is not activating these resources correctly

from devops-demo-pipelines.

oiricaud avatar oiricaud commented on July 25, 2024

I submitted an issue on the kabanero repo kabanero-io/kabanero-pipelines#395

from devops-demo-pipelines.

oiricaud avatar oiricaud commented on July 25, 2024

@hollisc Quick question, should I do this for the pipelines as well or should I only do the tasks?
Screen Shot 2020-06-04 at 12 10 46 PM

Screen Shot 2020-06-04 at 12 11 44 PM

from devops-demo-pipelines.

oiricaud avatar oiricaud commented on July 25, 2024

We currently have the following stacks

  • custom-node
  • java-microprofile
  • java-openlibery
  • java-spring-boot2
  • nodejs
  • nodejs-express

I bound the directory mcm-pipelines to all of the stacks.

This directory include the following tasks:

  • build-push-task
  • gitops
  • health-check-task
  • igc-nodejs-test
  • igc-test
  • image-scan-task

from devops-demo-pipelines.

oiricaud avatar oiricaud commented on July 25, 2024

Feedback

  • Remove stack-id from the tasks and only include the pipeline
  • Update the naming convention from nodejs-mcm-pl mcm-bounded-stack-pl

from devops-demo-pipelines.

oiricaud avatar oiricaud commented on July 25, 2024

@hollisc Can you take a look at the pull request #34

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.