Skip to content

Console Output

Merge request !124 state:opened action:open changes:{
  "authorId" : null,
  "createdAt" : null,
  "updatedAt" : null,
  "updatedById" : null,
  "title" : null,
  "description" : null,
  "state" : null,
  "milestoneId" : null,
  "labels" : null,
  "assignees" : null,
  "totalTimeSpent" : null,
  "mergeStatus" : null,
  "reviewers" : null
}
Triggered by GitLab Merge Request #124: Olivier Goulet/upgrade-efhst-210 => main
Querying the current revision of merge request #124...
Current revision of merge request #124 is 6d6ea0d7e937414cc00f6c500f5dd7420facf7f1
Obtained Jenkinsfile from 3ed5878acae832cebec76f60e54d146a573ab0db+6d6ea0d7e937414cc00f6c500f5dd7420facf7f1
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/public-swdv-eclipse-org-mr-124-1-ljk7r-7g4ft-mn9pl
Agent public-swdv-eclipse-org-mr-124-1-ljk7r-7g4ft-mn9pl is provisioned from template public_swdv_eclipse_org_MR-124_1-ljk7r-7g4ft
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/job/public/job/swdv.eclipse.org/job/MR-124/1/"
    runUrl: "job/public/job/swdv.eclipse.org/job/MR-124/1/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "7874f6a3de8126e9d2008cf2cbe021eec1a2d12c"
    jenkins/label: "public_swdv_eclipse_org_MR-124_1-ljk7r"
  name: "public-swdv-eclipse-org-mr-124-1-ljk7r-7g4ft-mn9pl"
  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: "public-swdv-eclipse-org-mr-124-1-ljk7r-7g4ft-mn9pl"
    - name: "JENKINS_NAME"
      value: "public-swdv-eclipse-org-mr-124-1-ljk7r-7g4ft-mn9pl"
    - 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 public-swdv-eclipse-org-mr-124-1-ljk7r-7g4ft-mn9pl in /home/jenkins/agent/workspace/public_swdv.eclipse.org_MR-124
[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/websites/sdv.eclipse.org.git
 > git init /home/jenkins/agent/workspace/public_swdv.eclipse.org_MR-124 # timeout=10
Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/websites/sdv.eclipse.org.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/websites/sdv.eclipse.org.git +refs/merge-requests/124/head:refs/remotes/origin/MR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10
Fetching without tags
 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/websites/sdv.eclipse.org.git # timeout=10
 > git config --add remote.origin.fetch +refs/merge-requests/124/head:refs/remotes/origin/MR-124 # timeout=10
 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10
 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/websites/sdv.eclipse.org.git # timeout=10
Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/websites/sdv.eclipse.org.git
using GIT_ASKPASS to set credentials GitLab username/token
 > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipsefdn/it/websites/sdv.eclipse.org.git +refs/merge-requests/124/head:refs/remotes/origin/MR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10
Merging remotes/origin/main commit 3ed5878acae832cebec76f60e54d146a573ab0db into PR head commit 6d6ea0d7e937414cc00f6c500f5dd7420facf7f1
Merge succeeded, producing 6d6ea0d7e937414cc00f6c500f5dd7420facf7f1
Checking out Revision 6d6ea0d7e937414cc00f6c500f5dd7420facf7f1 (upgrade-efhst-210)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6d6ea0d7e937414cc00f6c500f5dd7420facf7f1 # 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 3ed5878acae832cebec76f60e54d146a573ab0db # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6d6ea0d7e937414cc00f6c500f5dd7420facf7f1 # timeout=10
Commit message: "fix: reduce horizontal padding dropdown"
First time build. Skipping changelog.
[GitLab Pipeline Status] Notifying merge request build status: RUNNING public/swdv.eclipse.org/MR-124 #1: Build started...
[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": "sdv.eclipse.org",
    "safeAppName": "sdv-eclipse-org",
    "productionBranchName": "main",
    "productionDomain": "preview-124--sdv-eclipse-org.eclipsecontent.org",
    "deployPreviews": true,
    "previewDomain": "eclipsecontent.org",
    "previewBranchesRegex": null,
    "branchDomain": null,
    "cronExpression": "H H * * H",
    "debug": false,
    "container": {
        "name": "docker.io/eclipsefdn/sdv-eclipse-org",
        "version": "mr-124--6d6ea0d-b1",
        "dockerfile": null,
        "buildArgs": null,
        "annotation": true,
        "registryCredentialsId": "04264967-fea0-40c2-bf60-09af5aeba60f"
    },
    "deployment": {
        "locationPath": "/",
        "nginxHttpPort": 8080,
        "nginxServerConf": null,
        "dateTimeUTC": "2024-04-26T15:30:15.788749448",
        "domain": "preview-124--sdv-eclipse-org.eclipsecontent.org",
        "kind": "changeRequestPreview",
        "containerImageNameWithTag": "docker.io/eclipsefdn/sdv-eclipse-org:mr-124--6d6ea0d-b1",
        "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": "sdv-eclipse-org--mr-124"
    },
    "scm": {
        "credentialsId": "gitlab-credentials",
        "changeId": "124",
        "branchName": "MR-124",
        "repoHost": "gitlab.eclipse.org",
        "repoId": "eclipsefdn/it/websites/sdv.eclipse.org",
        "botId": "webdev-bot",
        "commitId": "6d6ea0d7e937414cc00f6c500f5dd7420facf7f1"
    }
}
[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/headers16996424797138987674.tmp 'https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebsites%2Fsdv.eclipse.org/merge_requests/124/notes?per_page=50'
+ rm -f /tmp/headers16996424797138987674.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/headers3115055008176995099.tmp -X POST --data @/tmp/bodyPayload5113052514918564525.json https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebsites%2Fsdv.eclipse.org/merge_requests/124/notes
+ rm -f /tmp/headers3115055008176995099.tmp /tmp/bodyPayload5113052514918564525.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...
$ NODE_ENV=production npm run production

> eclipsefdn-hugo-software-defined-vehicle@0.0.0 production
> NODE_ENV=production webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js

Loading eclipsefdn-solstice-assets default configurations.
[info] [webpackbar] Compiling Mix


                         
   Laravel Mix v6.0.49   
                         

✔ Compiled Successfully in 18902ms
┌───────────────────────────────────┬───────────┐
│                              File │ Size      │
├───────────────────────────────────┼───────────┤
│                   /js/solstice.js │ 626 KiB   │
│       /js/solstice.js.LICENSE.txt │ 27.4 KiB  │
│                     css/about.css │ 2.35 KiB  │
│                   css/members.css │ 571 bytes │
│  …mmunity-day-eclipsecon-2023.css │ 1.22 KiB  │
│  …sdv-community-day-july-2023.css │ 2.86 KiB  │
│        css/sdv-hackathon-2023.css │ 8.86 KiB  │
│                    css/styles.css │ 273 KiB   │
│  …be1347c682810f199c7f486f40c5974 │ 19.7 KiB  │
│  …60b2710bdbbe3dfe48b58d59bd5f1fb │ 106 KiB   │
│  …692b9ec53fd5972caa2f2372ae20d16 │ 44.3 KiB  │
│  …e810be3a3e14c682a257d6eff341fe4 │ 17.6 KiB  │
│  …2b1212e45a2bc35dd731913b27ad813 │ 22.9 KiB  │
│  …b43027f47b20503057dfbbaa9401fef │ 162 KiB   │
│  …1e38fd9e0e74ba58f7a2b77ef29fdd3 │ 434 KiB   │
│  …e59d2330b4c6deb84b340635ed36249 │ 162 KiB   │
│  …0fd1704ea223900efa9fd4e869efb08 │ 75.4 KiB  │
│  …691f37e57f04c152e2315ab7dbad881 │ 95.7 KiB  │
│  …085148c590d5c04a3fb09ded9344677 │ 281 KiB   │
│  …9f1ccc8ad041324a9590b50f0d3bd80 │ 46 KiB    │
│  …ddc46472559d34b1692c2f096bb2de4 │ 54.3 KiB  │
│  …6f16e9b3838cbccdcc0429afe816400 │ 74.1 KiB  │
│  …0d4e099410e7982b92c2c11056a1df5 │ 108 KiB   │
│  …65e443731f2b4630b8131fabb57f796 │ 220 KiB   │
│  …48beccfabf82d5371cc26e559b41736 │ 140 KiB   │
│  …07c056f2120bd11f6b38f781f08150c │ 3.19 KiB  │
│  …ea2caca91f7bff636a3caf8412871c5 │ 23.4 KiB  │
│  …77ad5db4a5fd4291dd35234a1a057ce │ 3.13 KiB  │
│  …aa26698d2593cb8396fbcd1264c3290 │ 14.6 KiB  │
│  …816bd41acf906da45f21e963109a2fc │ 36.4 KiB  │
│  …c2a995c59419bc34713639c431fc953 │ 64.9 KiB  │
│  …3ff043b6b0a45ea06c721f163d52496 │ 1.23 KiB  │
│  …da31ed3c4336f7cde32228284b14936 │ 62.3 KiB  │
│  …70bb3f7797f58e39915fa38d052e732 │ 4.97 KiB  │
│  …9b9ff4c965177e7a88f4dc0c77538cb │ 993 bytes │
│  …f01b07148f205f6e8258e92bbf652d9 │ 4.86 KiB  │
│  …ff06627931d0a4e6cbe88a1021a4d50 │ 34.2 KiB  │
│  …dd81843369283f71865fee21cc2e412 │ 22 KiB    │
└───────────────────────────────────┴───────────┘
[success] [webpackbar] Mix: Compiled successfully in 19.17s
webpack compiled successfully
Done in 38.44s.
Start building sites … 
hugo v0.110.0-e32a493b7826d02763c3b79623952e625402b168+extended linux/amd64 BuildDate=2023-01-17T12:16:09Z VendorInfo=gohugoio

                   | EN   
-------------------+------
  Pages            |  72  
  Paginator pages  |   0  
  Non-page files   | 138  
  Static files     |  66  
  Processed images |   0  
  Aliases          |  18  
  Sitemaps         |   1  
  Cleaned          |   0  

Total in 1877 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 / {
        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-124-nginx-default.conf /etc/nginx/conf.d/default.conf

RUN mkdir -p "/usr/share/nginx/html//" \
  && echo "ok" > "/usr/share/nginx/html///_livenessProbe"
COPY ./public/ "/usr/share/nginx/html//"

[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/26 15:31:00 logged in via /home/jenkins/agent/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
Building and shipping image to docker.io/eclipsefdn/sdv-eclipse-org:mr-124--6d6ea0d-b1
Annotation: ,annotation.org.opencontainers.image.created=2024-04-26T15:31:01Z,annotation.org.opencontainers.image.ref.name=docker.io/eclipsefdn/sdv-eclipse-org:mr-124--6d6ea0d-b1,annotation.org.opencontainers.image.revision=6d6ea0d7e937414cc00f6c500f5dd7420facf7f1,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/websites/sdv.eclipse.org.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/websites/sdv.eclipse.org.git,annotation.org.opencontainers.image.version=mr-124--6d6ea0d-b1
Context: /home/jenkins/agent/workspace/public_swdv.eclipse.org_MR-124
Dockerfile: MR-124.Dockerfile
Dockerfile path: /home/jenkins/agent/workspace/public_swdv.eclipse.org_MR-124
filename: MR-124.Dockerfile
buildArgs: null
push: true
latest: false
#1 [internal] load build definition from MR-124.Dockerfile
#1 transferring dockerfile: 353B 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.3s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/4] FROM docker.io/eclipsefdn/nginx:stable-alpine@sha256:fb3306f0d28278485c3ee5311710a52a34c97fc5dae44be2c842986fe7a0a1cf
#5 resolve docker.io/eclipsefdn/nginx:stable-alpine@sha256:fb3306f0d28278485c3ee5311710a52a34c97fc5dae44be2c842986fe7a0a1cf done
#5 sha256:15e493733d57ff3b21afc5a0a48ea93137dd1250fe35d9985a1db38fb5b2ee6d 3.35kB / 3.35kB 0.1s done
#5 sha256:0a56762d8207cec245f25941c531d20161a657c96e21d3852e106c88d98e5551 469B / 469B 0.2s done
#5 sha256:a0eb23f315906bc635ef508a59a1236193cf26e79b51b570d5507ac0df458b67 597B / 597B 0.2s done
#5 sha256:0e4a02da9f62b5bc6ac6a424775ec683d55e630f1b407752cffa70a25728ab27 0B / 13.04MB 0.2s
#5 sha256:0e4a02da9f62b5bc6ac6a424775ec683d55e630f1b407752cffa70a25728ab27 13.04MB / 13.04MB 0.3s done
#5 sha256:125d178ee43c0b386693c2635ecce90f8aad572f9a7a05f18ba66fef827d089c 1.40kB / 1.40kB 0.1s done
#5 sha256:bd75bb60cdbb992a9f78232b550adf88b3199f1c8853d36939eb9cd1922fa31f 1.21kB / 1.21kB 0.1s done
#5 sha256:26087820d60a54635a5c91a255fc080b80bb15c40b880e2441dcf410d2b908f7 394B / 394B 0.1s done
#5 sha256:b04f45f24a9c66d04eee91e92f732179b6f37f834b8751f158a96f479a02138c 957B / 957B 0.1s done
#5 sha256:680080a33f4ff2b0d8aedac2d12fda4dec7b4522728f1bc522d45c4c871de011 629B / 629B 0.1s done
#5 sha256:091275ae680776b2922329c9b3f581863a6de95856c04671e8f4dffb8c7578ca 3.99MB / 3.99MB 0.2s done
#5 sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 3.41MB / 3.41MB 0.2s done
#5 extracting sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8
#5 extracting sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 0.1s done
#5 extracting sha256:091275ae680776b2922329c9b3f581863a6de95856c04671e8f4dffb8c7578ca
#5 extracting sha256:091275ae680776b2922329c9b3f581863a6de95856c04671e8f4dffb8c7578ca 0.3s done
#5 extracting sha256:680080a33f4ff2b0d8aedac2d12fda4dec7b4522728f1bc522d45c4c871de011
#5 extracting sha256:680080a33f4ff2b0d8aedac2d12fda4dec7b4522728f1bc522d45c4c871de011 0.3s done
#5 extracting sha256:b04f45f24a9c66d04eee91e92f732179b6f37f834b8751f158a96f479a02138c
#5 extracting sha256:b04f45f24a9c66d04eee91e92f732179b6f37f834b8751f158a96f479a02138c 0.2s done
#5 extracting sha256:26087820d60a54635a5c91a255fc080b80bb15c40b880e2441dcf410d2b908f7
#5 extracting sha256:26087820d60a54635a5c91a255fc080b80bb15c40b880e2441dcf410d2b908f7 0.2s done
#5 DONE 1.5s

#6 [internal] load build context
#6 ...

#5 [1/4] FROM docker.io/eclipsefdn/nginx:stable-alpine@sha256:fb3306f0d28278485c3ee5311710a52a34c97fc5dae44be2c842986fe7a0a1cf
#5 extracting sha256:bd75bb60cdbb992a9f78232b550adf88b3199f1c8853d36939eb9cd1922fa31f 0.2s done
#5 extracting sha256:125d178ee43c0b386693c2635ecce90f8aad572f9a7a05f18ba66fef827d089c 0.2s done
#5 extracting sha256:0e4a02da9f62b5bc6ac6a424775ec683d55e630f1b407752cffa70a25728ab27 0.5s done
#5 extracting sha256:a0eb23f315906bc635ef508a59a1236193cf26e79b51b570d5507ac0df458b67 0.5s done
#5 extracting sha256:0a56762d8207cec245f25941c531d20161a657c96e21d3852e106c88d98e5551 0.3s done
#5 extracting sha256:15e493733d57ff3b21afc5a0a48ea93137dd1250fe35d9985a1db38fb5b2ee6d 0.3s done
#5 DONE 3.4s

#6 [internal] load build context
#6 transferring context: 152.18MB 5.1s
#6 transferring context: 164.63MB 5.4s done
#6 DONE 5.4s

#7 [2/4] COPY MR-124-nginx-default.conf /etc/nginx/conf.d/default.conf
#7 DONE 0.3s

#8 [3/4] RUN mkdir -p "/usr/share/nginx/html//"   && echo "ok" > "/usr/share/nginx/html///_livenessProbe"
#8 DONE 0.4s

#9 [4/4] COPY ./public/ /usr/share/nginx/html//
#9 DONE 0.8s

#10 exporting to image
#10 exporting layers
#10 exporting layers 7.6s done
#10 exporting manifest sha256:11d82dd67b1101e73aa0b9f93327aed4a3e48f71d0275b10e04fe4d4405b20c2 done
#10 exporting config sha256:cfbdd52695494b8767a70f8ab72f019f8a0a23978874ee2599f0831b54690acd done
#10 pushing layers
#10 ...

#11 [auth] eclipsefdn/sdv-eclipse-org:pull,push token for registry-1.docker.io
#11 DONE 0.0s

#10 exporting to image
#10 pushing layers 4.7s done
#10 pushing manifest for docker.io/eclipsefdn/sdv-eclipse-org:mr-124--6d6ea0d-b1@sha256:11d82dd67b1101e73aa0b9f93327aed4a3e48f71d0275b10e04fe4d4405b20c2
#10 pushing manifest for docker.io/eclipsefdn/sdv-eclipse-org:mr-124--6d6ea0d-b1@sha256:11d82dd67b1101e73aa0b9f93327aed4a3e48f71d0275b10e04fe4d4405b20c2 0.3s done
#10 DONE 12.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/public_swdv.eclipse.org_MR-124/vendor/.tmp/e574055fe3c0c19d0bbf9d1ced6ea85e267204132/.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/sdv-eclipse-org--mr-124 created
service/sdv-eclipse-org--mr-124 created
route.route.openshift.io/sdv-eclipse-org--mr-124 created
Waiting for deployment "sdv-eclipse-org--mr-124" rollout to finish: 0 of 1 updated replicas are available...
deployment "sdv-eclipse-org--mr-124" 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/headers5015628075644133675.tmp -X PUT --data @/tmp/bodyPayload6010103093886864561.json https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebsites%2Fsdv.eclipse.org/merge_requests/124/notes/2137641
+ rm -f /tmp/headers5015628075644133675.tmp /tmp/bodyPayload6010103093886864561.json
[Pipeline] echo
You can browse the site at https://preview-124--sdv-eclipse-org.eclipsecontent.org/
[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 public/swdv.eclipse.org/MR-124 #1: This commit looks good.
Finished: SUCCESS