github.com/jenkins-x/jenkins-x-platform v0.0.3885
Legitimate Jenkins X platform build scripts
Trivy package nameShell invokes the curl command
SHA-256ea8f9011d504e2931166d07a75327f1e87d0dc7b48b3caadc12b7e8d00bb61cc
MaleculeH₂(Cm₃F)
Evidence
1CHART_REPO := http://jenkins-x-chartmuseum:8080
2NAME := jenkins-x
3OS := $(shell uname)
4RELEASE_VERSION := $(shell jx-release-version)
5HELM := helm
39clean:
40 rm -rf jenkins-x-platform/charts
41 rm -rf jenkins-x-platform/${NAME}*.tgz
42 rm -rf jenkins-x-platform/requirements.lock
53 git commit -a -m "release $(RELEASE_VERSION)" --allow-empty
54 git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)"
55 git push origin v$(RELEASE_VERSION)
56 $(HELM) package jenkins-x-platform
57 curl --fail -u $(CHARTMUSEUM_CREDS_USR):$(CHARTMUSEUM_CREDS_PSW) --data-binary "@$(NAME)-platform-$(RELEASE_VERSION).tgz" $(CHART_REPO)/api/charts
58 helm repo update
59 rm -rf ${NAME}*.tgz
60 updatebot push-version --kind make CHART_VERSION $(RELEASE_VERSION)
61 updatebot push-regex -r "JX_PLATFORM_VERSION=(.*)" -v $(RELEASE_VERSION) build.sh
⋯9 lines
10 local registry=$3
11
12 curl \
13 --silent \
14 --header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
15 "https://$registry/v2/$image/manifests/$tag" |
16 jq -r '.config.digest'
17}
⋯4 lines
22 local registry=$3
23
24 CONTAINER_CONFIG=$(curl --silent --location "https://$registry/v2/$image/blobs/$digest" | jq -r '.container_config')
25 if [[ $CONTAINER_CONFIG == "null" ]]; then
26 echo "Unable to find image"
27 #exit 1
28 fi
29}
30
31for IMAGE in $IMAGES; do
32 echo $IMAGE
33 WITHOUT_REG=${IMAGE#*/}
34 NAME=${WITHOUT_REG%:*}
8:16… -------------------- | ------------------------------------- |
9| | __Jenkins__ - Fully integrated CI / CD solution with opinionated yet customisable pipelines and environments |
10| | __Nexus__ - Artifact repository (pluggable so we can switch with Artifactory) |
11| | __Chartmuseum__ - Helm Chart repository (Helm is the most popular Kubernetes package manager used to install and upgrade your applications)|
12| | __Monocular__ - Web UI for searching and discovering Helm Charts |
13
14Easy to install addons to come.
15
16# Install
17
18We use a CLI tool called [jx](https://github.com/jenkins-x/jx) to interact with Jenkins X. For installation `jx` delegates to Helm (Kubernetes Package manager) for install, upg …
No evidence locations were recorded for this file. Raw result