Skip to content

Instantly share code, notes, and snippets.

@pmuir
Created January 9, 2019 17:47
Show Gist options
  • Save pmuir/5ec0f31781b48bcfe4c26b89d69d3464 to your computer and use it in GitHub Desktop.
Save pmuir/5ec0f31781b48bcfe4c26b89d69d3464 to your computer and use it in GitHub Desktop.
✘ pmuir:tmp ➭ helm fetch --repo https://demo:[email protected] cloudbees-apps
✔ pmuir:tmp ➭ ls
cloudbees-apps-0.0.33.tgz jx-app-cheese jx-app-cheese-0.0.26.tgz uiextension.yaml
✔ pmuir:tmp ➭ tar -xvzf cloudbees-apps-0.0.33.tgz
x cloudbees-apps/Chart.yaml
x cloudbees-apps/values.yaml
x cloudbees-apps/.helmignore
x cloudbees-apps/Makefile
x cloudbees-apps/README.md
x cloudbees-apps/repository/jenkins-x-extensions-repository.lock.yaml
✔ pmuir:tmp ➭ cat cloudbees-apps/repository/jenkins-x-extensions-repository.lock.yaml
extensions:
- description: Uninstalls the analyzer microservice that summarises facts about the
coverage
name: jacocoAnalyzerUninstall
namespace: jx
script: |-
#!/bin/sh
NAME=ext-jacoco
helm del --purge ${NAME}
uuid: 00ca8fbc-e20d-11e8-9f32-f2801f1b9fd1
version: 0.0.82
when:
- onUninstall
- description: Upgrades the analyzer microservice that summarises facts about the
coverage
name: jacocoAnalyzerUpgrade
namespace: jx
parameters:
- defaultValue: http://chartmuseum.jenkins-x.io
name: chartRepository
script: |-
#!/bin/sh
NAME=ext-jacoco
helm upgrade ${NAME} --repo ${JX_JACOCO_ANALYZER_UPGRADE_CHART_REPOSITORY} ${NAME} --version ${EXT_VERSION} --set teamNamespace=${EXT_TEAM_NAMESPACE}
uuid: 09d0e976-e20d-11e8-9f32-f2801f1b9fd1
version: 0.0.82
when:
- onUpgrade
- description: Installs the analyzer microservice that summarises facts about the
coverage
name: jacocoAnalyzerInstall
namespace: jx
parameters:
- defaultValue: http://chartmuseum.jenkins-x.io
name: chartRepository
script: |-
#!/bin/sh
NAME=ext-jacoco
helm install --repo ${JX_JACOCO_ANALYZER_INSTALL_CHART_REPOSITORY} ${NAME} --version ${EXT_VERSION} --set teamNamespace=${EXT_TEAM_NAMESPACE} --name=${NAME}
uuid: 0f3f8598-e20d-11e8-9f32-f2801f1b9fd1
version: 0.0.82
when:
- onInstall
- children:
- 62f9f468-e1ca-11e8-9f32-f2801f1b9fd1
- 6d8262ee-e1ca-11e8-9f32-f2801f1b9fd1
- 971e546c-e20d-11e8-9f32-f2801f1b9fd1
description: Runs haha, a sample gate for Jenkins X
name: haha
namespace: cloudbees
uuid: 2070ccca-cd43-11e8-a8d5-f2801f1b9fd1
version: 0.0.35
- children:
- 89cbaa0c-c954-11e8-a8d5-f2801f1b9fd1
- 9e5d081e-c7c7-11e8-a8d5-f2801f1b9fd1
description: Runs a selection of code quality tools against a Java Maven project
name: mavenCodeQuality
namespace: jx
uuid: 28aa250e-ca04-11e8-a8d5-f2801f1b9fd1
version: 0.0.66
- children:
- CAD5E17E-FC9C-4F1E-9C75-5B1B921C27B5
- 5E1B17F6-6610-479C-A244-FFBD71D0BB8F
- 9534D3A5-6A00-4380-856E-052A1D87ED2B
description: The analyzer microservice that summarises facts about the coverage
name: goAnalyzer
namespace: jx
uuid: 425E0FB6-2FED-4E30-8001-8B852825AFC3
version: 0.0.3
- description: Uninstalls the analyzer microservice that summarises facts about the
static program analysis
name: spotbugsAnalyzerUninstall
namespace: jx
script: |-
#!/bin/sh
NAME=ext-spotbugs
helm del --purge ${NAME}
uuid: 4b41a4b8-e20d-11e8-9f32-f2801f1b9fd1
version: 0.0.33
when:
- onUninstall
- description: Upgrades the analyzer microservice that summarises facts about the
coverage
name: goAnalyzerUpgrade
namespace: jx
parameters:
- defaultValue: http://chartmuseum.jenkins-x.io
name: chartRepository
script: |-
#!/bin/sh
NAME=ext-go
helm upgrade ${NAME} --repo ${JX_GO_ANALYZER_UPGRADE_CHART_REPOSITORY} ${NAME} --version ${EXT_VERSION} --set teamNamespace=${EXT_TEAM_NAMESPACE}
uuid: 5E1B17F6-6610-479C-A244-FFBD71D0BB8F
version: 0.0.3
when:
- onUpgrade
- description: Installs haha
name: hahaInstall
namespace: cloudbees
parameters:
- defaultValue: cb
name: chartRepository
script: |-
#!/bin/sh
NAME=haha
helm install ${CLOUDBEES_HAHA_INSTALL_CHART_REPOSITORY}/${NAME} --version ${EXT_VERSION} --set teamNamespace=${EXT_TEAM_NAMESPACE} --name=${NAME}
uuid: 62f9f468-e1ca-11e8-9f32-f2801f1b9fd1
version: 0.0.35
when:
- onInstall
- description: Upgrades haha
name: hahaUpgrade
namespace: cloudbees
parameters:
- defaultValue: cb
name: chartRepository
script: |-
#!/bin/sh
NAME=haha
helm upgrade ${NAME} ${CLOUDBEES_HAHA_UPGRADE_CHART_REPOSITORY}/${NAME} --version ${EXT_VERSION} --set teamNamespace=${EXT_TEAM_NAMESPACE}
uuid: 6d8262ee-e1ca-11e8-9f32-f2801f1b9fd1
version: 0.0.35
when:
- onUpgrade
- children:
- c0deb7c8-c954-11e8-a8d5-f2801f1b9fd1
- 9e5d0a9e-c7c7-11e8-a8d5-f2801f1b9fd1
- 9e5d0e40-c7c7-11e8-a8d5-f2801f1b9fd1
description: Runs Jacoco against a Maven project, attaches the output to the build,
publishes the reports generated and summarises facts about the coverage to the
build
name: jacocoMaven
namespace: jx
uuid: 89cbaa0c-c954-11e8-a8d5-f2801f1b9fd1
version: 0.0.82
- description: Installs the analyzer microservice that summarises facts about the
static program analysis
name: spotbugsAnalyzerInstall
namespace: jx
parameters:
- defaultValue: http://chartmuseum.jenkins-x.io
name: chartRepository
script: |-
#!/bin/sh
NAME=ext-spotbugs
helm install --repo ${JX_SPOTBUGS_ANALYZER_INSTALL_CHART_REPOSITORY} ${NAME} --version ${EXT_VERSION} --set teamNamespace=${EXT_TEAM_NAMESPACE} --name=${NAME}
uuid: 9341af94-e1ca-11e8-9f32-f2801f1b9fd1
version: 0.0.33
when:
- onInstall
- description: Uninstalls the analyzer microservice that summarises facts about the
coverage
name: goAnalyzerUninstall
namespace: jx
script: |-
#!/bin/sh
NAME=ext-go
helm del --purge ${NAME}
uuid: 9534D3A5-6A00-4380-856E-052A1D87ED2B
version: 0.0.3
when:
- onUninstall
- description: Uninstalls haha
name: hahaUninstall
namespace: jx
script: |-
#!/bin/sh
NAME=haha
helm del --purge ${NAME}
uuid: 971e546c-e20d-11e8-9f32-f2801f1b9fd1
version: 0.0.35
when:
- onUninstall
- children:
- fcb84b16-cb29-11e8-a8d5-f2801f1b9fd1
- dbaa4866-cb29-11e8-a8d5-f2801f1b9fd1
- 9e5d0968-c7c7-11e8-a8d5-f2801f1b9fd1
description: Runs Spotbugs against a Maven project, attaches the output to the build,
publishes the reports generated and summarises facts about the static program
analysis to the build
name: spotbugsMaven
namespace: jx
uuid: 9e5d081e-c7c7-11e8-a8d5-f2801f1b9fd1
version: 0.0.33
- description: Publishes SpotBugs reports generated by the SpotBugs Maven Plugin
name: spotbugsMavenPublish
namespace: jx
parameters:
- description: The provider to use to publish SpotBugs reports
name: provider
script: |-
#!/bin/sh
jx step collect --pattern=target/spotbugsXml.xml --classifier=spotbugs
uuid: 9e5d0968-c7c7-11e8-a8d5-f2801f1b9fd1
version: 0.0.33
- description: Runs Jacoco against a Maven project
name: jacocoMavenRun
namespace: jx
parameters:
- defaultValue: 0.8.2
description: The version of the Jacoco Maven Plugin to use
name: version
script: |-
#!/bin/sh
mvn org.jacoco:jacoco-maven-plugin:${JX_JACOCO_MAVEN_VERSION}:prepare-agent test org.jacoco:jacoco-maven-plugin:${JX_JACOCO_MAVEN_VERSION}:report
uuid: 9e5d0a9e-c7c7-11e8-a8d5-f2801f1b9fd1
version: 0.0.82
- description: Publishes Jacoco reports generated by the Jacoco Maven Plugin
name: jacocoMavenPublish
namespace: jx
parameters:
- description: The provider to use to publish Jacoco reports
name: provider
script: |-
#!/bin/sh
jx step collect --pattern=target/site/jacoco/jacoco.xml --classifier=jacoco
uuid: 9e5d0e40-c7c7-11e8-a8d5-f2801f1b9fd1
version: 0.0.82
- description: Publishes reports generated by go cover
name: goPublish
namespace: jx
parameters:
- description: The provider to use to publish reports
name: provider
script: |-
#!/bin/sh
jx step collect --pattern="coverage.*" --classifier=coverage
uuid: BDBE253D-1248-4C18-B8FE-582FD33288EA
version: 0.0.3
- children:
- 425E0FB6-2FED-4E30-8001-8B852825AFC3
- BDBE253D-1248-4C18-B8FE-582FD33288EA
description: Publishes go cover reports and summarises facts about the coverage
to the build
name: go
namespace: jx
uuid: BDCE6575-AFF4-455D-8415-FBC0F2B116D9
version: 0.0.3
- description: Installs the analyzer microservice that summarises facts about the
coverage
name: goAnalyzerInstall
namespace: jx
parameters:
- defaultValue: http://chartmuseum.jenkins-x.io
name: chartRepository
script: |-
#!/bin/sh
NAME=ext-go
helm install --repo ${JX_GO_ANALYZER_INSTALL_CHART_REPOSITORY} ${NAME} --version ${EXT_VERSION} --set teamNamespace=${EXT_TEAM_NAMESPACE} --name=${NAME}
uuid: CAD5E17E-FC9C-4F1E-9C75-5B1B921C27B5
version: 0.0.3
when:
- onInstall
- description: Upgrades the analyzer microservice that summarises facts about the
static program analysis
name: spotbugsAnalyzerUpgrade
namespace: jx
parameters:
- defaultValue: http://chartmuseum.jenkins-x.io
name: chartRepository
script: |-
#!/bin/sh
NAME=ext-spotbugs
helm upgrade ${NAME} --repo ${JX_SPOTBUGS_ANALYZER_UPGRADE_CHART_REPOSITORY} ${NAME} --version ${EXT_VERSION} --set teamNamespace=${EXT_TEAM_NAMESPACE}
uuid: a10bb606-e1ca-11e8-9f32-f2801f1b9fd1
version: 0.0.33
when:
- onUpgrade
- children:
- 0f3f8598-e20d-11e8-9f32-f2801f1b9fd1
- 09d0e976-e20d-11e8-9f32-f2801f1b9fd1
- 00ca8fbc-e20d-11e8-9f32-f2801f1b9fd1
description: The analyzer microservice that summarises facts about the coverage
name: jacocoAnalyzer
namespace: jx
uuid: c0deb7c8-c954-11e8-a8d5-f2801f1b9fd1
version: 0.0.82
- description: Runs SpotBugs against a Maven project and attaches the output to the
build
name: spotbugsMavenRun
namespace: jx
parameters:
- defaultValue: 3.1.6
description: The version of the SpotBugs Maven Plugin to use
name: version
script: "#!/bin/sh\nmvn compile com.github.spotbugs:spotbugs-maven-plugin:${JX_SPOTBUGS_MAVEN_VERSION}:spotbugs\n
\ "
uuid: dbaa4866-cb29-11e8-a8d5-f2801f1b9fd1
version: 0.0.33
- children:
- 9341af94-e1ca-11e8-9f32-f2801f1b9fd1
- a10bb606-e1ca-11e8-9f32-f2801f1b9fd1
- 4b41a4b8-e20d-11e8-9f32-f2801f1b9fd1
description: The analyzer microservice that summarises facts about the static program
analysis
name: spotbugsAnalyzer
namespace: jx
uuid: fcb84b16-cb29-11e8-a8d5-f2801f1b9fd1
version: 0.0.33
version: 0.0.33
✔ pmuir:tmp ➭
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment