Git Product home page Git Product logo

jenkins-x-versions's Introduction

Jenkins X 2.x versions stream

NOTE that the equivalent repository for Jenkins X version 3.x is: jenkins-x/jx3-versions

This repository contains the consistent set of versions of packages and helm charts for use with Jenkins X and its associated Apps to provide a stable version stream.

  • charts contains the versions of helm charts
  • docker contains the versions of container images
  • packages contains the versions of CLI tools like jx, helm etc

Update to latest versions of all depdendencies

To update all the dependencies in the repo to their latest version run

jx step create pr versions -f '*' --images

If there is an existing PR to bump versions it will be updated. This command is run using Kubernetes CronJob every 12 hours so you normally only need to run it manually if you want to update dependencies faster.

If a PR created using this step is showing conflicts the easiest way to resolve it is to close the PR and rerun the command.

Layout

Each folder contains a list of YAML files for each package or chart name which contains its version and its gitUrl, url to the GitHub project storing its source code.

Managing versions

By default this git repository is used by the jx binary whenever it needs to install a helm a chart so that rather than using the latest released chart, we can keep the versions locked down to known good versions.

Then as charts get released we can generate Pull Requests against this repository which will then trigger our BDD tests via jx step bdd and verify the new chart version works.

BDD Test Pipelines

You can browse all of the separate BDD tests we run on different kinds of cluster and installation in the jx/bdd folder.

Running the BDD Tests on a PR

You can test each context individually on a PR via a comment like:

/test tekton

Or to run them all

/test all

Or to run all the boot based BDD tests

/test boot

Cluster Deletion

BDD clusters are marked for deletion if the tests pass or after 2 hours from the cluster creation date if the tests fail. If you would like your cluster to not be deleted you can run:

jx step e2e label --keep clusterName --project-id=jenkins-x-bdd3

The above command will add a label to the cluster with the value keep-me=true

To mark the cluster for deletion again run:

jx step e2e label --delete clusterName --project-id=jenkins-x-bdd3

The above command will add a label to the cluster with the value delete-me=true

jenkins-x-versions's People

Contributors

abayer avatar agentgonzo avatar alphabettispaghetti avatar ankitm123 avatar ascheman avatar babadofar avatar cagiti avatar carlossg avatar ccojocar avatar dennisnewel avatar enschede avatar fiunchinho avatar garethjevans avatar hekonsek avatar hferentschik avatar jenkins-x-bot avatar jstrachan avatar jtnord avatar macox avatar mrageh avatar nehagup avatar patrickleet avatar pmuir avatar pow-devops2020 avatar rawlingsj avatar raymondsarmiento-ubidy avatar warrenbailey 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.