mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-02 03:10:42 -05:00
Jenkinsfile: Iterate.
This commit is contained in:
committed by
Daylon Wilkins
parent
9c240e30b5
commit
abe09dcf67
Vendored
+27
-27
@@ -27,33 +27,33 @@ pipeline {
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
stage ("bats/") {
|
||||
agent {
|
||||
kubernetes {
|
||||
label "liquidata-inc-ld-build"
|
||||
}
|
||||
}
|
||||
environment {
|
||||
PATH = "${pwd()}/.ci_bin:${pwd()}/.ci_bin/node_modules/.bin:${env.PATH}"
|
||||
}
|
||||
steps {
|
||||
dir (".ci_bin") {
|
||||
sh "npm i bats"
|
||||
}
|
||||
dir ("go") {
|
||||
sh "go get -mod=readonly ./..."
|
||||
sh "go build -mod=readonly -o ../.ci_bin/dolt ./cmd/dolt/."
|
||||
sh "go build -mod=readonly -o ../.ci_bin/git-dolt ./cmd/git-dolt/."
|
||||
sh "go build -mod=readonly -o ../.ci_bin/git-dolt-smudge ./cmd/git-dolt-smudge/."
|
||||
sh "go build -mod=readonly -o ../.ci_bin/remotesrv ./utils/remotesrv/."
|
||||
}
|
||||
sh "dolt config --global --add user.name 'Liquidata Jenkins'"
|
||||
sh "dolt config --global --add user.email 'jenkins@liquidata.co'"
|
||||
dir ("bats") {
|
||||
sh "bats ."
|
||||
}
|
||||
}
|
||||
}
|
||||
// stage ("bats/") {
|
||||
// agent {
|
||||
// kubernetes {
|
||||
// label "liquidata-inc-ld-build"
|
||||
// }
|
||||
// }
|
||||
// environment {
|
||||
// PATH = "${pwd()}/.ci_bin:${pwd()}/.ci_bin/node_modules/.bin:${env.PATH}"
|
||||
// }
|
||||
// steps {
|
||||
// dir (".ci_bin") {
|
||||
// sh "npm i bats"
|
||||
// }
|
||||
// dir ("go") {
|
||||
// sh "go get -mod=readonly ./..."
|
||||
// sh "go build -mod=readonly -o ../.ci_bin/dolt ./cmd/dolt/."
|
||||
// sh "go build -mod=readonly -o ../.ci_bin/git-dolt ./cmd/git-dolt/."
|
||||
// sh "go build -mod=readonly -o ../.ci_bin/git-dolt-smudge ./cmd/git-dolt-smudge/."
|
||||
// sh "go build -mod=readonly -o ../.ci_bin/remotesrv ./utils/remotesrv/."
|
||||
// }
|
||||
// sh "dolt config --global --add user.name 'Liquidata Jenkins'"
|
||||
// sh "dolt config --global --add user.email 'jenkins@liquidata.co'"
|
||||
// dir ("bats") {
|
||||
// sh "bats ."
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
stage ("Windows") {
|
||||
agent {
|
||||
label "windows"
|
||||
|
||||
Reference in New Issue
Block a user