File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ common-unused:
197197.PHONY: common-build
198198common-build: promu
199199 @echo ">> building binaries"
200+ @env
200201 CGO_ENABLED=1 GOEXPERIMENT=boringcrypto $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
201202
202203.PHONY: common-tarball
Original file line number Diff line number Diff line change @@ -11,19 +11,21 @@ pipeline {
1111 environment {
1212 registryCredential = ' jenkins-artifactory'
1313 ARTIFACTORY_URL = ' docker.internal.sysdig.com'
14+ CGO_ENABLED = ' 1'
15+ GOEXPERIMENT = ' boringcrypto'
1416 }
1517
1618 parameters {
1719 booleanParam(name : ' DRY_RUN' , defaultValue : true , description : ' Perform a dry run (does not push images)' )
1820 string(name : ' EXPORTER' , defaultValue : " exporter" , description : ' Exporter name' )
1921 }
20-
22+
2123 stages {
2224 stage(' Pull image from artifactory' ) {
2325 agent any
2426 steps {
2527 script {
26- docker. withRegistry(" https://${ env.ARTIFACTORY_URL} " , registryCredential) {
28+ docker. withRegistry(" https://${ env.ARTIFACTORY_URL} " , registryCredential) {
2729 sh """ docker pull ${ env.ARTIFACTORY_URL} /${ env.EXPORTER} :latest"""
2830 env. VERSION = sh(script :""" docker inspect --format '{{ index .Config.Labels "release" }}' ${ env.ARTIFACTORY_URL} /${ env.EXPORTER} :latest""" , returnStdout : true ). trim()
2931 echo " VERSION = ${ env.VERSION} "
@@ -53,4 +55,4 @@ pipeline {
5355 }
5456 }
5557 } // stages
56- }
58+ }
You can’t perform that action at this time.
0 commit comments