Started by timer Querying the current revision of merge request #10... Current revision of merge request #10 is 75bcc108d367514849c6574b222404cb24c6db80 Obtained Jenkinsfile from 5c3e7882fdd02806afc5fbdb897517293044e288+75bcc108d367514849c6574b222404cb24c6db80 Loading library releng-pipeline@refs/tags/v0.11.0 Library releng-pipeline@refs/tags/v0.11.0 is cached. Copying from home. [Pipeline] Start of Pipeline [Pipeline] libraryResource [Pipeline] echo Final resourceContent: apiVersion: v1 kind: Pod spec: containers: - name: kubectl image: eclipsefdn/kubectl:okd-c1 imagePullPolicy: Always command: [ "sleep" ] args: [ "infinity" ] resources: limits: cpu: 500m memory: 256Mi - name: containertools image: eclipsefdn/containertools:alpine-latest imagePullPolicy: Always command: [ "sleep" ] args: [ "infinity" ] resources: limits: cpu: 500m memory: 256Mi - name: build image: eclipsefdn/hugo-node:h0.110.0-n18.13.0 imagePullPolicy: Always command: [ "sleep" ] args: [ "infinity" ] resources: limits: cpu: 2 memory: 2Gi - name: jnlp imagePullPolicy: Always resources: limits: cpu: 1 memory: 512Mi [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes foundation-internal-webdev/eclipsefdn-spec-host-mr-10-3-3qxpn-p254r-zm3bz Agent eclipsefdn-spec-host-mr-10-3-3qxpn-p254r-zm3bz is provisioned from template eclipsefdn-spec-host_MR-10_3-3qxpn-p254r --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/job/eclipsefdn-spec-host/job/MR-10/3/" runUrl: "job/eclipsefdn-spec-host/job/MR-10/3/" labels: jenkins: "slave" jenkins/label-digest: "b2eef06bd74e4e40063cac17db905a6650092e7a" jenkins/label: "eclipsefdn-spec-host_MR-10_3-3qxpn" name: "eclipsefdn-spec-host-mr-10-3-3qxpn-p254r-zm3bz" namespace: "foundation-internal-webdev" spec: containers: - args: - "infinity" command: - "sleep" image: "eclipsefdn/kubectl:okd-c1" imagePullPolicy: "Always" name: "kubectl" resources: limits: cpu: "500m" memory: "256Mi" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - args: - "infinity" command: - "sleep" image: "eclipsefdn/containertools:alpine-latest" imagePullPolicy: "Always" name: "containertools" resources: limits: cpu: "500m" memory: "256Mi" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - args: - "infinity" command: - "sleep" image: "eclipsefdn/hugo-node:h0.110.0-n18.13.0" imagePullPolicy: "Always" name: "build" resources: limits: cpu: "2" memory: "2Gi" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.foundation-internal-webdev.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "eclipsefdn-spec-host-mr-10-3-3qxpn-p254r-zm3bz" - name: "JENKINS_NAME" value: "eclipsefdn-spec-host-mr-10-3-3qxpn-p254r-zm3bz" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc" imagePullPolicy: "Always" name: "jnlp" resources: limits: cpu: "1" memory: "512Mi" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - emptyDir: medium: "" name: "workspace-volume" Running on eclipsefdn-spec-host-mr-10-3-3qxpn-p254r-zm3bz in /home/jenkins/agent/workspace/eclipsefdn-spec-host_MR-10 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential gitlab-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://gitlab.eclipse.org/eclipsefdn/it/webdev/eclipsefdn-api-spec-host.git > git init /home/jenkins/agent/workspace/eclipsefdn-spec-host_MR-10 # timeout=10 Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/webdev/eclipsefdn-api-spec-host.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitLab username/token > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipsefdn/it/webdev/eclipsefdn-api-spec-host.git +refs/merge-requests/10/head:refs/remotes/origin/MR-10 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/webdev/eclipsefdn-api-spec-host.git # timeout=10 > git config --add remote.origin.fetch +refs/merge-requests/10/head:refs/remotes/origin/MR-10 # timeout=10 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10 Fetching without tags Merging remotes/origin/main commit 5c3e7882fdd02806afc5fbdb897517293044e288 into PR head commit 75bcc108d367514849c6574b222404cb24c6db80 Merge succeeded, producing f4e9504f3139f3e22419fcb2314faf9bb9a9dafe Checking out Revision f4e9504f3139f3e22419fcb2314faf9bb9a9dafe (malowe/main/retry-fix) > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/webdev/eclipsefdn-api-spec-host.git # timeout=10 Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/webdev/eclipsefdn-api-spec-host.git using GIT_ASKPASS to set credentials GitLab username/token > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipsefdn/it/webdev/eclipsefdn-api-spec-host.git +refs/merge-requests/10/head:refs/remotes/origin/MR-10 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75bcc108d367514849c6574b222404cb24c6db80 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials GitLab username/token > git merge 5c3e7882fdd02806afc5fbdb897517293044e288 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f4e9504f3139f3e22419fcb2314faf9bb9a9dafe # timeout=10 Commit message: "Merge commit '5c3e7882fdd02806afc5fbdb897517293044e288' into HEAD" First time build. Skipping changelog. [GitLab Pipeline Status] Notifying merge request build status: RUNNING eclipsefdn-spec-host/MR-10 #3: Build started... > git rev-list --no-walk 11e741c7515613ed4fb759eb8f73b564c6f5a526 # timeout=10 [GitLab Pipeline Status] Notified [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Compute build variables) [Pipeline] script [Pipeline] { [Pipeline] sh + [[ false == \t\r\u\e ]] + echo 'credentialsId: gitlab-credentials' credentialsId: gitlab-credentials + exit 0 [Pipeline] withCredentials Masking supported pattern matches of $BOT_ID or $__UNUSED [Pipeline] { [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo Deployment config: [Pipeline] echo { "appName": "webdev.eclipse.org-spec-host", "safeAppName": "webdev-eclipse-org-spec-host", "productionBranchName": "main", "productionDomain": "preview-10--webdev-eclipse-org-spec-host.eclipsecontent.org", "deployPreviews": true, "previewDomain": "eclipsecontent.org", "previewBranchesRegex": null, "branchDomain": null, "cronExpression": "H H * * *", "debug": false, "container": { "name": "docker.io/eclipsefdn/webdev-eclipse-org-spec-host", "version": "mr-10--f4e9504-b3", "dockerfile": null, "buildArgs": null, "annotation": true, "registryCredentialsId": "04264967-fea0-40c2-bf60-09af5aeba60f" }, "deployment": { "locationPath": "/docs/api", "nginxHttpPort": 8080, "nginxServerConf": null, "dateTimeUTC": "2024-04-13T06:09:22.521513006", "domain": "preview-10--webdev-eclipse-org-spec-host.eclipsecontent.org", "kind": "changeRequestPreview", "containerImageNameWithTag": "docker.io/eclipsefdn/webdev-eclipse-org-spec-host:mr-10--f4e9504-b3", "authBasic": false, "authBasicSecretPath": "/etc/nginx/htpasswd", "secretPath": "" }, "build": { "kubeAgentYmlFile": null, "containerImage": "eclipsefdn/hugo-node:h0.110.0-n18.13.0", "destinationFolder": "./public/", "script": null }, "kubernetes": { "namespace": "foundation-internal-webdev-jamstack-sites", "credentialsId": "ci-bot-okd-c1-token", "apiServerUrl": "https://api.okd-c1.eclipse.org:6443", "deploymentName": "webdev-eclipse-org-spec-host--mr-10" }, "scm": { "credentialsId": "gitlab-credentials", "changeId": "10", "branchName": "MR-10", "repoHost": "gitlab.eclipse.org", "repoId": "eclipsefdn/it/webdev/eclipsefdn-api-spec-host", "botId": "webdev-bot", "commitId": "f4e9504f3139f3e22419fcb2314faf9bb9a9dafe" } } [Pipeline] withCredentials Masking supported pattern matches of $__UNUSED or $GITLAB_MR_COMMENT_TOKEN [Pipeline] { [Pipeline] writeFile [Pipeline] } [Pipeline] // withCredentials [Pipeline] sh + curl -fsSL -H@/tmp/headers13783356932642521477.tmp 'https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Feclipsefdn-api-spec-host/merge_requests/10/notes?per_page=50' + rm -f /tmp/headers13783356932642521477.tmp [Pipeline] withCredentials Masking supported pattern matches of $__UNUSED or $GITLAB_MR_COMMENT_TOKEN [Pipeline] { [Pipeline] writeFile [Pipeline] } [Pipeline] // withCredentials [Pipeline] writeFile [Pipeline] sh + curl -fsSL -H@/tmp/headers21621189747078771.tmp -X POST --data @/tmp/bodyPayload4042019044610736913.json https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Feclipsefdn-api-spec-host/merge_requests/10/notes + rm -f /tmp/headers21621189747078771.tmp /tmp/bodyPayload4042019044610736913.json [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Hugo site) [Pipeline] container [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] echo Final resourceContent: #!/usr/bin/env bash set -euo pipefail if [[ -e yarn.lock ]]; then yarn install --frozen-lockfile; elif [[ -e package-lock.json ]]; then npm --unsafe-perm ci; fi; hugo --gc --minify --destination "${1}" --baseURL "${2}" [Pipeline] writeFile [Pipeline] sh yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... $ yarn build-specs yarn run v1.22.19 $ node src/index.js Retrieving openapi spec for Committer Paperwork API... Processing openapi spec for Committer Paperwork API... Done processing Committer Paperwork API Outputing generated spec data for site render Retrieving openapi spec for CVE API... Processing openapi spec for CVE API... Done processing CVE API Outputing generated spec data for site render Retrieving openapi spec for Downloads API... Processing openapi spec for Downloads API... Done processing Downloads API Outputing generated spec data for site render Retrieving openapi spec for Mailing List API... Processing openapi spec for Mailing List API... Done processing Mailing List API Outputing generated spec data for site render Retrieving openapi spec for Media link API... Processing openapi spec for Media link API... Done processing Media link API Outputing generated spec data for site render Retrieving openapi spec for Profile API... Processing openapi spec for Profile API... Done processing Profile API Outputing generated spec data for site render Retrieving openapi spec for Working Groups API... Processing openapi spec for Working Groups API... Done processing Working Groups API Outputing generated spec data for site render Retrieving openapi spec for OpenVSX API... Processing openapi spec for OpenVSX API... Done processing OpenVSX API Outputing generated spec data for site render Retrieving openapi spec for Git ECA API... Processing openapi spec for Git ECA API... Done processing Git ECA API Outputing generated spec data for site render Retrieving openapi spec for Additional API documents... Copied local spec for Additional API documents to output dir Processing openapi spec for Additional API documents... Done processing Additional API documents Outputing generated spec data for site render Retrieving openapi spec for Marketplace REST API... Copied local spec for Marketplace REST API to output dir Processing openapi spec for Marketplace REST API... Done processing Marketplace REST API Outputing generated spec data for site render Retrieving openapi spec for Membership - Portal API... Processing openapi spec for Membership - Portal API... Done processing Membership - Portal API Outputing generated spec data for site render Retrieving openapi spec for Membership - Application API... Processing openapi spec for Membership - Application API... Done processing Membership - Application API Outputing generated spec data for site render Retrieving openapi spec for Hellosign API... Processing openapi spec for Hellosign API... Done processing Hellosign API Outputing generated spec data for site render Retrieving openapi spec for Project Adopters API... Processing openapi spec for Project Adopters API... Done processing Project Adopters API Outputing generated spec data for site render Retrieving openapi spec for GeoIP API... Processing openapi spec for GeoIP API... Done processing GeoIP API Outputing generated spec data for site render Done in 45.78s. Done in 64.29s. Start building sites … hugo v0.110.0-e32a493b7826d02763c3b79623952e625402b168+extended linux/amd64 BuildDate=2023-01-17T12:16:09Z VendorInfo=gohugoio | EN -------------------+----- Pages | 8 Paginator pages | 0 Non-page files | 16 Static files | 0 Processed images | 0 Aliases | 2 Sitemaps | 1 Cleaned | 0 Total in 75 ms [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker image) [Pipeline] withEnv [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] libraryResource [Pipeline] echo Final resourceContent: server { listen 8080; server_name localhost; port_in_redirect off; #access_log /var/log/nginx/host.access.log main; location /docs/api { root /usr/share/nginx/html; index index.html index.htm; } error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } } [Pipeline] writeFile [Pipeline] libraryResource [Pipeline] echo Final resourceContent: FROM eclipsefdn/nginx:stable-alpine COPY MR-10-nginx-default.conf /etc/nginx/conf.d/default.conf RUN mkdir -p "/usr/share/nginx/html//docs/api" \ && echo "ok" > "/usr/share/nginx/html//docs/api/_livenessProbe" COPY ./public/ "/usr/share/nginx/html//docs/api" [Pipeline] writeFile [Pipeline] withCredentials Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD [Pipeline] { [Pipeline] sh Registry login to docker.io with user: **** 2024/04/13 06:10:30 logged in via /home/jenkins/agent/.docker/config.json [Pipeline] } [Pipeline] // withCredentials [Pipeline] sh Building and shipping image to docker.io/eclipsefdn/webdev-eclipse-org-spec-host:mr-10--f4e9504-b3 Annotation: ,annotation.org.opencontainers.image.created=2024-04-13T06:10:31Z,annotation.org.opencontainers.image.ref.name=docker.io/eclipsefdn/webdev-eclipse-org-spec-host:mr-10--f4e9504-b3,annotation.org.opencontainers.image.revision=f4e9504f3139f3e22419fcb2314faf9bb9a9dafe,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/webdev/eclipsefdn-api-spec-host.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/webdev/eclipsefdn-api-spec-host.git,annotation.org.opencontainers.image.version=mr-10--f4e9504-b3 Context: /home/jenkins/agent/workspace/eclipsefdn-spec-host_MR-10 Dockerfile: MR-10.Dockerfile Dockerfile path: /home/jenkins/agent/workspace/eclipsefdn-spec-host_MR-10 filename: MR-10.Dockerfile buildArgs: null push: true latest: false #1 [internal] load build definition from MR-10.Dockerfile #1 transferring dockerfile: 375B done #1 DONE 0.0s #2 [auth] eclipsefdn/nginx:pull token for registry-1.docker.io #2 DONE 0.0s #3 [internal] load metadata for docker.io/eclipsefdn/nginx:stable-alpine #3 DONE 0.5s #4 [internal] load .dockerignore #4 transferring context: 123B done #4 DONE 0.0s #5 [1/4] FROM docker.io/eclipsefdn/nginx:stable-alpine@sha256:fe5895c464034518e565bd120055a2f63f6d07226ca0ceeafed5b5647aec606a #5 resolve docker.io/eclipsefdn/nginx:stable-alpine@sha256:fe5895c464034518e565bd120055a2f63f6d07226ca0ceeafed5b5647aec606a done #5 DONE 0.0s #6 [internal] load build context #6 transferring context: 4.22MB 0.1s done #6 DONE 0.1s #5 [1/4] FROM docker.io/eclipsefdn/nginx:stable-alpine@sha256:fe5895c464034518e565bd120055a2f63f6d07226ca0ceeafed5b5647aec606a #5 sha256:f0e44ff8c512f108c70623c9c88ae832d865861d15d64a332389c3f01b16e94e 3.36kB / 3.36kB 0.1s done #5 sha256:f40294116a5a96cbb7ed01f26e61b5d32a0438af5044528976c4a63952f83791 469B / 469B 0.1s done #5 sha256:c3fa0498ba0725d0e6f96d81bb33ee6c1eeb4e97f3af91b701c7b88c2e451849 595B / 595B 0.1s done #5 sha256:5e845cc16269ce694cab9e13e1bdc03d82091f380f1b2975e6985767db717722 0B / 11.67MB 0.2s #5 sha256:16eaaaf5f1c0db05389b2c1c2d90db8c9154289520fad38d580acdf2390e846e 1.40kB / 1.40kB 0.1s done #5 sha256:a0fbd691d7c1a07fbdeb8b338578f4e199a49e2491eff171105eb0dc7cf61628 768B / 768B 0.1s done #5 sha256:5e845cc16269ce694cab9e13e1bdc03d82091f380f1b2975e6985767db717722 5.24MB / 11.67MB 0.3s #5 sha256:da33b1ad0ac4b49641e40469216939f6488c1d8116b2513ba2caa561d4898067 954B / 954B 0.1s done #5 sha256:b407bcc8063852cf7b980fa6d83d6caa2c17b2fa4c10e87835d72f21ed40c41a 625B / 625B 0.1s done #5 sha256:5e845cc16269ce694cab9e13e1bdc03d82091f380f1b2975e6985767db717722 11.67MB / 11.67MB 0.4s done #5 sha256:de5d475193dd13b444c2e58fc772d8a3297e370eb90e67e483095bb25f1861a6 1.80MB / 1.80MB 0.2s done #5 sha256:3c854c8cbf469fda815b8f6183300c07cfa2fbb5703859ca79aff93ae934961b 0B / 3.38MB 0.2s #5 sha256:3c854c8cbf469fda815b8f6183300c07cfa2fbb5703859ca79aff93ae934961b 3.38MB / 3.38MB 0.2s done #5 extracting sha256:3c854c8cbf469fda815b8f6183300c07cfa2fbb5703859ca79aff93ae934961b #5 extracting sha256:3c854c8cbf469fda815b8f6183300c07cfa2fbb5703859ca79aff93ae934961b 0.2s done #5 extracting sha256:de5d475193dd13b444c2e58fc772d8a3297e370eb90e67e483095bb25f1861a6 #5 extracting sha256:de5d475193dd13b444c2e58fc772d8a3297e370eb90e67e483095bb25f1861a6 0.5s done #5 extracting sha256:b407bcc8063852cf7b980fa6d83d6caa2c17b2fa4c10e87835d72f21ed40c41a #5 extracting sha256:b407bcc8063852cf7b980fa6d83d6caa2c17b2fa4c10e87835d72f21ed40c41a 0.5s done #5 extracting sha256:da33b1ad0ac4b49641e40469216939f6488c1d8116b2513ba2caa561d4898067 #5 extracting sha256:da33b1ad0ac4b49641e40469216939f6488c1d8116b2513ba2caa561d4898067 0.4s done #5 extracting sha256:a0fbd691d7c1a07fbdeb8b338578f4e199a49e2491eff171105eb0dc7cf61628 #5 extracting sha256:a0fbd691d7c1a07fbdeb8b338578f4e199a49e2491eff171105eb0dc7cf61628 0.4s done #5 extracting sha256:16eaaaf5f1c0db05389b2c1c2d90db8c9154289520fad38d580acdf2390e846e #5 extracting sha256:16eaaaf5f1c0db05389b2c1c2d90db8c9154289520fad38d580acdf2390e846e 0.4s done #5 extracting sha256:5e845cc16269ce694cab9e13e1bdc03d82091f380f1b2975e6985767db717722 #5 extracting sha256:5e845cc16269ce694cab9e13e1bdc03d82091f380f1b2975e6985767db717722 0.9s done #5 DONE 3.6s #5 [1/4] FROM docker.io/eclipsefdn/nginx:stable-alpine@sha256:fe5895c464034518e565bd120055a2f63f6d07226ca0ceeafed5b5647aec606a #5 extracting sha256:c3fa0498ba0725d0e6f96d81bb33ee6c1eeb4e97f3af91b701c7b88c2e451849 #5 extracting sha256:c3fa0498ba0725d0e6f96d81bb33ee6c1eeb4e97f3af91b701c7b88c2e451849 0.7s done #5 extracting sha256:f40294116a5a96cbb7ed01f26e61b5d32a0438af5044528976c4a63952f83791 #5 extracting sha256:f40294116a5a96cbb7ed01f26e61b5d32a0438af5044528976c4a63952f83791 0.5s done #5 extracting sha256:f0e44ff8c512f108c70623c9c88ae832d865861d15d64a332389c3f01b16e94e #5 extracting sha256:f0e44ff8c512f108c70623c9c88ae832d865861d15d64a332389c3f01b16e94e 0.6s done #5 DONE 5.4s #7 [2/4] COPY MR-10-nginx-default.conf /etc/nginx/conf.d/default.conf #7 DONE 0.5s #8 [3/4] RUN mkdir -p "/usr/share/nginx/html//docs/api" && echo "ok" > "/usr/share/nginx/html//docs/api/_livenessProbe" #8 DONE 0.7s #9 [4/4] COPY ./public/ /usr/share/nginx/html//docs/api #9 DONE 0.6s #10 exporting to image #10 exporting layers #10 ... #11 [auth] eclipsefdn/webdev-eclipse-org-spec-host:pull,push token for registry-1.docker.io #11 DONE 0.0s #10 exporting to image #10 exporting layers 1.7s done #10 exporting manifest sha256:16c57a97237feb111dd9a612642f9b8e0f80099e6f4274419e10775cb84116d9 done #10 exporting config sha256:883b99b536a09b2e8f298a728ef761398ef6e93c499163cdb127762147ff92ef done #10 pushing layers #10 pushing layers 1.1s done #10 pushing manifest for docker.io/eclipsefdn/webdev-eclipse-org-spec-host:mr-10--f4e9504-b3@sha256:16c57a97237feb111dd9a612642f9b8e0f80099e6f4274419e10775cb84116d9 #10 pushing manifest for docker.io/eclipsefdn/webdev-eclipse-org-spec-host:mr-10--f4e9504-b3@sha256:16c57a97237feb111dd9a612642f9b8e0f80099e6f4274419e10775cb84116d9 0.8s done #10 DONE 3.5s [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deployment and cleanup) [Pipeline] parallel [Pipeline] { (Branch: Cleanup previews) [Pipeline] { (Branch: Deploy to kubernetes cluster) [Pipeline] stage [Pipeline] { (Cleanup previews) [Pipeline] stage [Pipeline] { (Deploy to kubernetes cluster) Stage "Cleanup previews" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] container [Pipeline] { [Pipeline] libraryResource [Pipeline] echo Final resourceContent: { "version": 1, "dependencies": [ { "source": { "git": { "remote": "https://gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy.git", "subdir": "" } }, "version": "main" } ], "legacyImports": false } [Pipeline] writeFile [Pipeline] libraryResource [Pipeline] echo Final resourceContent: { "version": 1, "dependencies": [ { "source": { "git": { "remote": "https://gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy.git", "subdir": "" } }, "version": "a2a0dc300f36e7b62f24487a1a1cb9e7c8e653a2", "sum": "3aeTpmX3t6bDqDb3UZZsR4WVjrfCmQfrfKlnXwVCTno=" } ], "legacyImports": false } [Pipeline] writeFile [Pipeline] libraryResource [Pipeline] echo Final resourceContent: local jamstack = import "vendor/gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy/jamstack/jamstack.libsonnet"; local metadata = import "vendor/gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy/utils/metadata.libsonnet"; // local config = { // "appName": "lts.eclipse.org", // "safeAppName": "lts-eclipse-org", // "productionBranchName": "main", // "productionDomain": "lts.eclipse.org", // "deployPreviews": true, // "previewDomain": "eclipsecontent.org", // "previewBranchesRegex": null, // "branchDomain": null, // "debug": false, // "container": { // "name": "docker.io/eclipsefdn/lts-eclipse-org", // "version": "mr-24--2208996-b85", // "dockerfile": null, // "registryCredentialsId": "04264967-fea0-40c2-bf60-09af5aeba60f" // }, // "deployment": { // "locationPath": "/", // "nginxHttpPort": 8080, // "nginxServerConf": null, // "dateTimeUTC": "2022-06-18T20:09:16.558296572", // "domain": "preview-24--lts-eclipse-org.eclipsecontent.org", // "kind": "changeRequestPreview", // }, // "build": { // "kubeAgentYmlFile": null, // "containerImage": "eclipsefdn/hugo-node:latest", // "script": null, // "destinationFolder": "./public/" // }, // "kubernetes": { // "namespace": "foundation-internal-webdev-jamstack-sites", // "credentialsId": "ci-bot-okd-c1-token", // "apiServerUrl": "https://api.okd-c1.eclipse.org:6443", // "deploymentName": "lts-eclipse-org--mr-24" // }, // "scm": { // "credentialsId": "gitlab-api-token3", // "changeId": "24", // "branchName": "MR-24", // "repoHost": "gitlab.eclipse.org", // "repoId": "eclipsefdn/it/websites/lts.eclipse.org", // "botId": "webdev-bot", // "commitId": "2208996b450a0d45ccb5d5f270c0bb4192218ec8" // } // }; function(config) { jamstack:: jamstack.newDeployment( metadata.newMetadata( config.safeAppName, config.kubernetes.deploymentName, config.kubernetes.namespace, config.scm.branchName, config.deployment.kind, config.scm.botId, config.deployment.dateTimeUTC, config.scm.repoHost, config.scm.repoId, config.scm.changeId ), config.deployment.containerImageNameWithTag, config.deployment.domain, config.deployment.nginxHttpPort, config.deployment.locationPath, config.deployment.locationPath, if (config.deployment.authBasic) then config.deployment.authBasicSecretPath else config.deployment.secretPath, ), apiVersion: "v1", kind: "List", items: [ $.jamstack.deployment, $.jamstack.service, $.jamstack.route, ] } [Pipeline] writeFile [Pipeline] writeFile [Pipeline] withKubeConfig [Pipeline] { [Pipeline] sh Initialized empty Git repository in /home/jenkins/agent/workspace/eclipsefdn-spec-host_MR-10/vendor/.tmp/e574055fe3c0c19d0bbf9d1ced6ea85e1287098430/.git/ From https://gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy * branch a2a0dc300f36e7b62f24487a1a1cb9e7c8e653a2 -> FETCH_HEAD HEAD is now at a2a0dc3 Merge branch 'feat/secret_path' into 'main' deployment.apps/webdev-eclipse-org-spec-host--mr-10 configured service/webdev-eclipse-org-spec-host--mr-10 configured route.route.openshift.io/webdev-eclipse-org-spec-host--mr-10 configured deployment.apps/webdev-eclipse-org-spec-host--mr-10 restarted Waiting for deployment "webdev-eclipse-org-spec-host--mr-10" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "webdev-eclipse-org-spec-host--mr-10" rollout to finish: 1 old replicas are pending termination... deployment "webdev-eclipse-org-spec-host--mr-10" successfully rolled out [Pipeline] } [kubernetes-cli] kubectl configuration cleaned up [Pipeline] // withKubeConfig [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $__UNUSED or $GITLAB_MR_COMMENT_TOKEN [Pipeline] { [Pipeline] writeFile [Pipeline] } [Pipeline] // withCredentials [Pipeline] writeFile [Pipeline] sh + curl -fsSL -H@/tmp/headers5880474648354754170.tmp -X PUT --data @/tmp/bodyPayload8564838028554036823.json https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Feclipsefdn-api-spec-host/merge_requests/10/notes/2085787 + rm -f /tmp/headers5880474648354754170.tmp /tmp/bodyPayload8564838028554036823.json [Pipeline] echo You can browse the site at https://preview-10--webdev-eclipse-org-spec-host.eclipsecontent.org/docs/api [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline [GitLab Pipeline Status] Notifying merge request build status: SUCCESS eclipsefdn-spec-host/MR-10 #3: This commit looks good. [GitLab Pipeline Status] Notified Finished: SUCCESS