Step | Arguments | | Status |
---|
Start of Pipeline - (1 min 31 sec in block) | | |
|
libraryResource - (12 ms in self) | org/eclipsefdn/jamstack/hugo/agent.yml | |
|
echo - (0.18 sec 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 - (1 min 31 sec in block) | | |
|
podTemplate block - (1 min 31 sec in block) | | |
|
node - (1 min 30 sec in block) | public_eclipse-plato_MR-151_19-zgh5s | |
|
node block - (1 min 21 sec in block) | | |
|
stage - (25 sec in block) | Declarative: Checkout SCM | |
|
stage block (Declarative: Checkout SCM) - (25 sec in block) | | |
|
checkout - (25 sec in self) | | |
|
withEnv - (56 sec in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |
|
withEnv block - (56 sec in block) | | |
|
withEnv - (55 sec in block) | HOME | |
|
withEnv block - (55 sec in block) | | |
|
timeout - (55 sec in block) | | |
|
timeout block - (55 sec in block) | | |
|
stage - (2.3 sec in block) | Compute build variables | |
|
stage block (Compute build variables) - (2.3 sec in block) | | |
|
script - (2.3 sec in block) | | |
|
script block - (2.3 sec in block) | | |
|
sh - (0.32 sec in self) |
#!/usr/bin/env bash
[[ "false" == "true" ]] && printenv
echo "credentialsId: gitlab-credentials"
exit 0
| |
|
withCredentials - (35 ms in block) | | |
|
withCredentials block - (6 ms in block) | | |
|
echo - (3 ms in self) | Deployment config: | |
|
echo - (17 ms in self) | | |
|
withCredentials - (40 ms in block) | | |
|
withCredentials block - (15 ms in block) | | |
|
writeFile - (7 ms in self) | /tmp/headers15963248443237899592.tmp | |
|
sh - (0.86 sec in self) | #!/usr/bin/env bash
set -exuo pipefail
curl -fsSL -H@"/tmp/headers15963248443237899592.tmp" "https://gitlab.eclipse.org/api/v4/projects/eclipse%2Fplato%2Fwww/merge_requests/151/notes?per_page=50"
rm -f "/tmp/headers15963248443237899592.tmp"
| |
|
withCredentials - (91 ms in block) | | |
|
withCredentials block - (72 ms in block) | | |
|
writeFile - (9 ms in self) | /tmp/headers7590842323807709534.tmp | |
|
writeFile - (6 ms in self) | /tmp/bodyPayload7185102740081932538.json | |
|
sh - (0.83 sec in self) | #!/usr/bin/env bash
set -exuo pipefail
curl -fsSL -H@"/tmp/headers7590842323807709534.tmp" -X POST --data @"/tmp/bodyPayload7185102740081932538.json" "https://gitlab.eclipse.org/api/v4/projects/eclipse%2Fplato%2Fwww/merge_requests/151/notes"
rm -f "/tmp/headers7590842323807709534.tmp" "/tmp/bodyPayload7185102740081932538.json"
| |
|
stage - (15 sec in block) | Build Hugo site | |
|
stage block (Build Hugo site) - (15 sec in block) | | |
|
container - (15 sec in block) | build | |
|
container block - (15 sec in block) | | |
|
sh - (0.51 sec in self) | #!/usr/bin/env bash
set -euo pipefail
basename org/eclipsefdn/jamstack/hugo/build.sh
| |
|
libraryResource - (3 ms in self) | org/eclipsefdn/jamstack/hugo/build.sh | |
|
echo - (1 ms in self) | 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}" | |
|
writeFile - (9 ms in self) | MR-151__build.sh | |
|
sh - (14 sec in self) | #!/usr/bin/env bash
set -euo pipefail
chmod a+x "MR-151__build.sh"
"./MR-151__build.sh" "./public/" "https://preview-151--ospo-alliance-org.eclipsecontent.org/"
| |
|
stage - (20 sec in block) | Build Docker image | |
|
stage block (Build Docker image) - (20 sec in block) | | |
|
withEnv - (19 sec in block) | NGINX_CONF, DOCKERFILE | |
|
withEnv block - (19 sec in block) | | |
|
container - (19 sec in block) | containertools | |
|
container block - (19 sec in block) | | |
|
script - (19 sec in block) | | |
|
script block - (19 sec in block) | | |
|
libraryResource - (9 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 / {
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 - (7 ms in self) | MR-151-nginx-default.conf | |
|
libraryResource - (7 ms in self) | org/eclipsefdn/jamstack/hugo/Dockerfile | |
|
echo - (1 ms in self) | Final resourceContent: FROM eclipsefdn/nginx:stable-alpine
COPY MR-151-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//"
| |
|
writeFile - (8 ms in self) | MR-151.Dockerfile | |
|
withCredentials - (0.58 sec in block) | | |
|
withCredentials block - (0.55 sec in block) | | |
|
sh - (0.54 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 - (18 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) - (0.11 sec in block) | | |
|
stage - (45 ms in block) | Cleanup previews | |
|
stage block (Cleanup previews) - (38 ms in block) | | |
|
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 - (7 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 - (7 ms in self) | jsonnetfile.lock.json | |
|
libraryResource - (2 ms in self) | org/eclipsefdn/jamstack/deployment/kube-deploy.jsonnet | |
|
echo - (1 ms in self) | | |
|
writeFile - (6 ms in self) | kube-deploy.jsonnet | |
|
writeFile - (10 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.91 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 - (33 ms in block) | | |
|
withCredentials block - (12 ms in block) | | |
|
writeFile - (6 ms in self) | /tmp/headers17438482443914361627.tmp | |
|
writeFile - (5 ms in self) | /tmp/bodyPayload3844847421984531338.json | |
|
sh - (0.83 sec in self) | #!/usr/bin/env bash
set -exuo pipefail
curl -fsSL -H@"/tmp/headers17438482443914361627.tmp" -X PUT --data @"/tmp/bodyPayload3844847421984531338.json" "https://gitlab.eclipse.org/api/v4/projects/eclipse%2Fplato%2Fwww/merge_requests/151/notes/2085265"
rm -f "/tmp/headers17438482443914361627.tmp" "/tmp/bodyPayload3844847421984531338.json"
| |
|
echo - (<1 ms in self) | You can browse the site at https://preview-151--ospo-alliance-org.eclipsecontent.org/ | |
|