Code Monkey home page Code Monkey logo

okd-release-pipeline's Introduction

OKD Release Pipeline

Prerequisites

  1. create or update the following secrets:
  • okd-githubapp-auth
    • contains key private.key, which is private key of GitHub App (okd-tekton-token) with permissions to create releases in okd-scos project
  • okd-quay-pull-secret, which is a dockerconfig with permissions to push to quay.io/okd/scos-release and quay.io/okd/scos-content
  • okd-release-gpg-signing-key
    • contains key private.key, which is the GPG key used to sign the OKD release
  • okd-prow-sa-auth
    • contains key token, which is a Service Account token for the Prow CI cluster, with permissions to tag release images. This token comes from the secret (sa-image-tagger-token-chsw6) stored in the app.ci cluster on the origin project.
  • okd-matrix-bot-auth, which contains an access token for Matrix (under key token)
  1. Apply:
oc apply -k environments/moc

Run the pipeline

Launch the pipeline run with the Tekton client.

Example for stable release:

oc create -f environments/moc/pipelineruns/okd-release-stable-pipelinerun.yaml

Example for 4.next release:

oc create -f environments/moc/pipelineruns/okd-release-next-pipelinerun.yaml

Annex - running a task individually

tkn task start create-github-release \
  --param github-org-repo="okd-project/okd-scos" \
  --param github-token-secret-key="gh-okd-token" \
  --param github-token-secret-name="gh-token" \
  --param gpg-key-id="[email protected]" \
  --param gpg-signing-key="okd-release-gpg-signing-key" \
  --param mirrored-release-pullspec="quay.io/okd/scos-release:4.12.0-0.okd-scos-2022-12-02-083740" \
  --param release-name="4.12.0-0.okd-scos-2022-12-02-083740"

okd-release-pipeline's People

Contributors

aguidirh avatar aleskandro avatar lmzuccarelli avatar lorbuschris avatar mtulio avatar prashanth684 avatar sherine-k avatar vrutkovs avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.