2023-05-30 01:01:40 -04:00
# Doc: https://wiki.sc-corp.net/pages/viewpage.action?pageId=121500284
version : 1
machamp :
keydb-build :
# Optional - build counter is linked to the build def
2023-08-15 12:40:10 -06:00
tag_template : "%short.sha%"
2023-05-30 01:01:40 -04:00
# Optional - value in seconds before a build is terminated, default is 3600 seconds
timeout : 3600
# Optional - update ghe or not, default to true
update_ghe : true
code_coverage : false
# Required
steps :
make-build :
type : cmd
# https://github.sc-corp.net/Snapchat/img/tree/master/keydb/ubuntu-20-04
builder_image : us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/keydb/keydb-ubuntu-20-04@sha256:cf869a3f5d1de1e1d976bb906689c37b7031938eb68661b844a38c532f27248c
command : ./machamp_scripts/build.sh
tls-test :
type : cmd
parent : make-build
# https://github.sc-corp.net/Snapchat/img/tree/master/keydb/ubuntu-20-04
builder_image : us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/keydb/keydb-ubuntu-20-04@sha256:cf869a3f5d1de1e1d976bb906689c37b7031938eb68661b844a38c532f27248c
command : ./runtest --clients 4 --verbose
cluster-test :
type : cmd
parent : make-build
# https://github.sc-corp.net/Snapchat/img/tree/master/keydb/ubuntu-20-04
builder_image : us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/keydb/keydb-ubuntu-20-04@sha256:cf869a3f5d1de1e1d976bb906689c37b7031938eb68661b844a38c532f27248c
command : ./runtest-cluster
sentinel-test :
type : cmd
parent : make-build
# https://github.sc-corp.net/Snapchat/img/tree/master/keydb/ubuntu-20-04
builder_image : us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/keydb/keydb-ubuntu-20-04@sha256:cf869a3f5d1de1e1d976bb906689c37b7031938eb68661b844a38c532f27248c
command : ./runtest-sentinel
module-test :
type : cmd
parent : make-build
# https://github.sc-corp.net/Snapchat/img/tree/master/keydb/ubuntu-20-04
builder_image : us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/keydb/keydb-ubuntu-20-04@sha256:cf869a3f5d1de1e1d976bb906689c37b7031938eb68661b844a38c532f27248c
command : ./runtest-moduleapi
rotation-test :
type : cmd
parent : make-build
# https://github.sc-corp.net/Snapchat/img/tree/master/keydb/ubuntu-20-04
builder_image : us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/keydb/keydb-ubuntu-20-04@sha256:cf869a3f5d1de1e1d976bb906689c37b7031938eb68661b844a38c532f27248c
command : ./runtest-rotation
2023-08-08 19:28:44 -06:00
docker :
parent : make-build
2023-08-10 11:29:07 -06:00
type : docker # published images can be found in https://console.cloud.google.com/gcr/images/machamp-prod/global/keydb
2023-08-08 19:28:44 -06:00
dockerfile : machamp_scripts/Dockerfile
image_name : keydb # git commit sha will be deafult tag in the final image
2023-08-10 14:08:37 -06:00
workspace_context : ./ # This is the workspace context that your Dockerfile will use to move files around. <Root of checkout repository>/<Workspace Context>/<Dockerfile> If the workspace context is just the root of the repository, you can just use "./".