ci(ariadne): use mirrored buildkit builder
This commit is contained in:
parent
3649262316
commit
02a4b852ad
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -83,6 +83,7 @@ spec:
|
|||||||
PUSHGATEWAY_URL = 'http://platform-quality-gateway.monitoring.svc.cluster.local:9091'
|
PUSHGATEWAY_URL = 'http://platform-quality-gateway.monitoring.svc.cluster.local:9091'
|
||||||
QUALITY_GATE_SONARQUBE_REPORT = 'build/sonarqube-quality-gate.json'
|
QUALITY_GATE_SONARQUBE_REPORT = 'build/sonarqube-quality-gate.json'
|
||||||
QUALITY_GATE_IRONBANK_REPORT = 'build/ironbank-compliance.json'
|
QUALITY_GATE_IRONBANK_REPORT = 'build/ironbank-compliance.json'
|
||||||
|
BUILDKIT_IMAGE = 'registry.bstein.dev/bstein/buildkit:buildx-stable-1'
|
||||||
}
|
}
|
||||||
options {
|
options {
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
@ -291,7 +292,7 @@ printf '%s\n' "${gate_rc}" > build/quality-gate.rc
|
|||||||
fi
|
fi
|
||||||
BUILDER_NAME="ariadne-${BUILD_NUMBER}"
|
BUILDER_NAME="ariadne-${BUILD_NUMBER}"
|
||||||
docker buildx rm "${BUILDER_NAME}" >/dev/null 2>&1 || true
|
docker buildx rm "${BUILDER_NAME}" >/dev/null 2>&1 || true
|
||||||
docker buildx create --name "${BUILDER_NAME}" --driver docker-container --bootstrap --use
|
docker buildx create --name "${BUILDER_NAME}" --driver docker-container --driver-opt "image=${BUILDKIT_IMAGE}" --bootstrap --use
|
||||||
docker buildx inspect "${BUILDER_NAME}" --bootstrap
|
docker buildx inspect "${BUILDER_NAME}" --bootstrap
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user