mirror of
https://github.com/docker/compose.git
synced 2025-07-23 05:34:36 +02:00
Compute checksum
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
bdb11849b1
commit
417d72ea3d
@ -61,11 +61,13 @@ pipeline {
|
|||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
checkout scm
|
checkout scm
|
||||||
sh 'script/setup/osx-ci'
|
sh './script/setup/osx'
|
||||||
sh 'tox -e py27,py37 -- tests/unit'
|
sh 'tox -e py27,py37 -- tests/unit'
|
||||||
sh './script/build/osx'
|
sh './script/build/osx'
|
||||||
checksum("dist/docker-compose-Darwin-x86_64")
|
dir ('dist') {
|
||||||
checksum("dist/docker-compose-Darwin-x86_64.tgz")
|
sh 'openssl sha256 -r -out docker-compose-Darwin-x86_64.sha256 docker-compose-Darwin-x86_64'
|
||||||
|
sh 'openssl sha256 -r -out docker-compose-Darwin-x86_64.tgz.sha256 docker-compose-Darwin-x86_64.tgz'
|
||||||
|
}
|
||||||
archiveArtifacts artifacts: 'dist/*', fingerprint: true
|
archiveArtifacts artifacts: 'dist/*', fingerprint: true
|
||||||
dir("dist") {
|
dir("dist") {
|
||||||
stash name: "bin-darwin"
|
stash name: "bin-darwin"
|
||||||
@ -79,7 +81,9 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
checkout scm
|
checkout scm
|
||||||
sh ' ./script/build/linux'
|
sh ' ./script/build/linux'
|
||||||
checksum("dist/docker-compose-Linux-x86_64")
|
dir ('dist') {
|
||||||
|
sh 'openssl sha256 -r -out docker-compose-Linux-x86_64.sha256 docker-compose-Linux-x86_64'
|
||||||
|
}
|
||||||
archiveArtifacts artifacts: 'dist/*', fingerprint: true
|
archiveArtifacts artifacts: 'dist/*', fingerprint: true
|
||||||
dir("dist") {
|
dir("dist") {
|
||||||
stash name: "bin-linux"
|
stash name: "bin-linux"
|
||||||
@ -97,7 +101,9 @@ pipeline {
|
|||||||
checkout scm
|
checkout scm
|
||||||
bat 'tox.exe -e py27,py37 -- tests/unit'
|
bat 'tox.exe -e py27,py37 -- tests/unit'
|
||||||
powershell '.\\script\\build\\windows.ps1'
|
powershell '.\\script\\build\\windows.ps1'
|
||||||
checksum("dist/docker-compose-Windows-x86_64.exe")
|
dir ('dist') {
|
||||||
|
sh 'openssl sha256 -r -out docker-compose-Windows-x86_64.exe.sha256 docker-compose-Windows-x86_64.exe'
|
||||||
|
}
|
||||||
archiveArtifacts artifacts: 'dist/*', fingerprint: true
|
archiveArtifacts artifacts: 'dist/*', fingerprint: true
|
||||||
dir("dist") {
|
dir("dist") {
|
||||||
stash name: "bin-win"
|
stash name: "bin-win"
|
||||||
@ -245,7 +251,8 @@ def buildRuntimeImage(baseImage) {
|
|||||||
ansiColor('xterm') {
|
ansiColor('xterm') {
|
||||||
sh """docker build -t ${imageName} \\
|
sh """docker build -t ${imageName} \\
|
||||||
--build-arg BUILD_PLATFORM="${baseImage}" \\
|
--build-arg BUILD_PLATFORM="${baseImage}" \\
|
||||||
--build-arg GIT_COMMIT="${scmvar.GIT_COMMIT.take(7)}"
|
--build-arg GIT_COMMIT="${scmvar.GIT_COMMIT.take(7)}" \\
|
||||||
|
."
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
sh "mkdir -p dist"
|
sh "mkdir -p dist"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user