Verifying Jenkins X Boot Installation
In this lesson, we will verify the installation done by Jenkins X Boot by checking pipelines, Namespaces, activities and creating a new quickstart project.
Checking the pipelines #
Let’s take a quick look at the pipelines currently active in our cluster.
jx get pipelines --output yaml
The output is as follows:
- vfarcic/environment-jx-boot-dev/master- vfarcic/environment-jx-boot-production/master- vfarcic/environment-jx-boot-staging/master
We are already used to working with production
and staging
pipelines. What is new is the dev
pipeline. That is the one we just executed locally. It is now available in the cluster as well, and we should be able to trigger it by pushing a change to the associated repository. Let’s test that.
Triggering the dev
pipeline #
We’ll explore the Jenkins X upgrade process later. For now, we just want to see whether the dev
repository is indeed triggering pipeline activities. We’ll do that by making a trivial change to the README.md
file.
echo "A trivial change" \| tee -a README.mdgit add .git commit -m "A trivial change"git pushjx get activities \--filter environment-$CLUSTER_NAME-dev \--watch
We pushed the changes to GitHub and started watching the activities of the dev
pipeline. The output, when the activity is finished, should be as follows.
STEP STARTED AGO DURATION STATUSvfarcic/environment-jx-boot-dev/master #1 4m10s 3m52s Succeededrelease 4m10s 3m52s SucceededCredential Initializer 7jh9t 4m10s 0s SucceededWorking Dir Initializer Tr2wz 4m10s 2s SucceededPlace Tools 4m8s 2s SucceededGit Source Vfarcic Environment Jx... 4m6s 36s Succeeded https://github.com/vfarcic/environment-jx-boot-dev.gitGit Merge 3m30s 1s SucceededValidate Git 3m29s 1s SucceededVerify Preinstall 3m28s 26s SucceededInstall Jx Crds 3m2s 10s SucceededInstall Velero 2m52s 12s SucceededInstall Velero Backups 2m40s 2s SucceededInstall Nginx Controller 2m38s 16s SucceededCreate Install Values 2m22s 0s SucceededInstall External Dns 2m22s 16s SucceededInstall Cert Manager Crds 2m6s 0s SucceededInstall Cert Manager 2m6s 16s SucceededInstall Acme Issuer And Certificate 1m50s 2s SucceededInstall Vault 1m48s 8s SucceededCreate Helm Values 1m40s 3s SucceededInstall Jenkins X 1m37s 1m3s SucceededVerify Jenkins X Environment 34s 5s SucceededInstall Repositories 29s 5s SucceededInstall Pipelines 24s 1s SucceededUpdate Webhooks 23s 4s SucceededVerify Installation 19s 1s Succeeded
That’s the first activity (#1
) of the dev
pipeline. To be more precise, it is the second one (the first was executed locally) but, from the perspective of Jenkins X inside the cluster, which did not exist at the time, that is the first activity. Those are the steps of Jenkins X Boot running inside our cluster.
We won’t go through the changes that were created ...