Step Arguments Status Start of Pipeline - (2 min 11 sec in block)
libraryResource - (9 ms in self) org/eclipsefdn/jamstack/hugo/agent.yml
echo - (26 ms in self) 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
podTemplate - (2 min 11 sec in block)
podTemplate block - (2 min 11 sec in block)
node - (2 min 11 sec in block) public_hugo-solstice-theme_MR-314_78-16qb0
node block - (1 min 53 sec in block)
stage - (10 sec in block) Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (10 sec in block)
checkout - (10 sec in self)
withEnv - (1 min 42 sec in block) GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
withEnv block - (1 min 42 sec in block)
withEnv - (1 min 42 sec in block) HOME
withEnv block - (1 min 42 sec in block)
timeout - (1 min 42 sec in block)
timeout block - (1 min 42 sec in block)
stage - (2.7 sec in block) Compute build variables
stage block (Compute build variables) - (2.7 sec in block)
script - (2.6 sec in block)
script block - (2.6 sec in block)
sh - (0.34 sec in self)
#!/usr/bin/env bash
[[ "false" == "true" ]] && printenv
echo "credentialsId: gitlab-credentials"
exit 0
withCredentials - (30 ms in block)
withCredentials block - (9 ms in block)
echo - (1 ms in self) Deployment config:
echo - (13 ms in self)
withCredentials - (98 ms in block)
withCredentials block - (26 ms in block)
writeFile - (5 ms in self) /tmp/headers13507700305170261732.tmp
sh - (1.2 sec in self) #!/usr/bin/env bash
set -exuo pipefail
curl -fsSL -H@"/tmp/headers13507700305170261732.tmp" "https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Fhugo-solstice-theme/merge_requests/314/notes?per_page=50"
rm -f "/tmp/headers13507700305170261732.tmp"
withCredentials - (27 ms in block)
withCredentials block - (11 ms in block)
writeFile - (5 ms in self) /tmp/headers8242878787036937725.tmp
writeFile - (6 ms in self) /tmp/bodyPayload12207540350702532560.json
sh - (0.88 sec in self) #!/usr/bin/env bash
set -exuo pipefail
curl -fsSL -H@"/tmp/headers8242878787036937725.tmp" -X POST --data @"/tmp/bodyPayload12207540350702532560.json" "https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Fhugo-solstice-theme/merge_requests/314/notes"
rm -f "/tmp/headers8242878787036937725.tmp" "/tmp/bodyPayload12207540350702532560.json"
stage - (1 min 6 sec in block) Build Hugo site
stage block (Build Hugo site) - (1 min 6 sec in block)
container - (1 min 6 sec in block) build
container block - (1 min 6 sec in block)
sh - (0.53 sec in self) #!/usr/bin/env bash
set -euo pipefail
basename org/eclipsefdn/jamstack/hugo/build.sh
echo - (1 ms in self) readTrusted: bin/build.sh
readTrusted - (1.6 sec in self) bin/build.sh
echo - (1 ms in self) readTrusted: bin/build.sh OK!
echo - (1 ms in self) Final resourceContent: #!/usr/bin/env bash
# ===========================================================================
# Copyright (c) 2021 Eclipse Foundation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Christopher Guindon (Eclipse Foundation)
# ==========================================================================
set -euo pipefail
yarn install --frozen-lockfile;
yarn run build
hugo --source exampleSite --theme "${PWD##*/}" --themesDir ../../ --gc --minify --destination ."${1}" --baseURL "${2}"
writeFile - (8 ms in self) MR-314__build.sh
sh - (1 min 4 sec in self) #!/usr/bin/env bash
set -euo pipefail
chmod a+x "MR-314__build.sh"
"./MR-314__build.sh" "./public/" "https://preview-314--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugo"
stage - (15 sec in block) Build Docker image
stage block (Build Docker image) - (15 sec in block)
withEnv - (15 sec in block) NGINX_CONF, DOCKERFILE
withEnv block - (15 sec in block)
container - (15 sec in block) containertools
container block - (15 sec in block)
script - (15 sec in block)
script block - (15 sec in block)
libraryResource - (10 ms in self) org/eclipsefdn/jamstack/nginx/default.conf
echo - (<1 ms in self) Final resourceContent: server {
listen 8080;
server_name localhost;
port_in_redirect off;
#access_log /var/log/nginx/host.access.log main;
location /docs/hugo {
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;
}
}
writeFile - (6 ms in self) MR-314-nginx-default.conf
libraryResource - (8 ms in self) org/eclipsefdn/jamstack/hugo/Dockerfile
echo - (1 ms in self) Final resourceContent: FROM eclipsefdn/nginx:stable-alpine
COPY MR-314-nginx-default.conf /etc/nginx/conf.d/default.conf
RUN mkdir -p "/usr/share/nginx/html//docs/hugo" \
&& echo "ok" > "/usr/share/nginx/html//docs/hugo/_livenessProbe"
COPY ./public/ "/usr/share/nginx/html//docs/hugo"
writeFile - (6 ms in self) MR-314.Dockerfile
withCredentials - (0.54 sec in block)
withCredentials block - (0.52 sec in block)
sh - (0.52 sec in self) #!/usr/bin/env bash
set -euo pipefail
[[ "false" == "true" ]] && set -x
echo "Registry login to "docker.io" with user: "${DOCKER_REGISTRY_USERNAME}""
crane auth login "docker.io" --password-stdin --username "${DOCKER_REGISTRY_USERNAME}" <<<"${DOCKER_REGISTRY_PASSWORD}"
sh - (14 sec in self)
stage - (16 sec in block) Deployment and cleanup
stage block (Deployment and cleanup) - (16 sec in block)
parallel - (16 sec in block)
parallel block (Branch: Cleanup previews) - (5 ms in block)
stage - (25 ms in block) Cleanup previews
stage block (Cleanup previews) - (19 ms in block)
getContext - (1 ms in self)
parallel block (Branch: Deploy to kubernetes cluster) - (16 sec in block)
stage - (16 sec in block) Deploy to kubernetes cluster
stage block (Deploy to kubernetes cluster) - (16 sec in block)
container - (16 sec in block) kubectl
container block - (16 sec in block)
libraryResource - (2 ms in self) org/eclipsefdn/jamstack/deployment/jsonnetfile.json
echo - (<1 ms in self) Final resourceContent: {
"version": 1,
"dependencies": [
{
"source": {
"git": {
"remote": "https://gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy.git",
"subdir": ""
}
},
"version": "main"
}
],
"legacyImports": false
}
writeFile - (6 ms in self) jsonnetfile.json
libraryResource - (1 ms in self) org/eclipsefdn/jamstack/deployment/jsonnetfile.lock.json
echo - (1 ms in self) 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
}
writeFile - (5 ms in self) jsonnetfile.lock.json
libraryResource - (2 ms in self) org/eclipsefdn/jamstack/deployment/kube-deploy.jsonnet
echo - (1 ms in self)
writeFile - (4 ms in self) kube-deploy.jsonnet
writeFile - (6 ms in self) eclipsefdn-preview-config.json
withKubeConfig - (16 sec in block)
withKubeConfig block - (16 sec in block)
sh - (16 sec in self)
stage - (0.9 sec in block) Declarative: Post Actions
stage block (Declarative: Post Actions) - (0.9 sec in block)
script - (0.89 sec in block)
script block - (0.88 sec in block)
withCredentials - (25 ms in block)
withCredentials block - (10 ms in block)
writeFile - (5 ms in self) /tmp/headers4355692735948773002.tmp
writeFile - (5 ms in self) /tmp/bodyPayload15736721361210583698.json
sh - (0.84 sec in self) #!/usr/bin/env bash
set -exuo pipefail
curl -fsSL -H@"/tmp/headers4355692735948773002.tmp" -X PUT --data @"/tmp/bodyPayload15736721361210583698.json" "https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Fhugo-solstice-theme/merge_requests/314/notes/2137656"
rm -f "/tmp/headers4355692735948773002.tmp" "/tmp/bodyPayload15736721361210583698.json"
echo - (1 ms in self) You can browse the site at https://preview-314--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugo