break into tests into steps
This commit is contained in:
parent
50490dece2
commit
ea48d97dfe
32
build.yaml
32
build.yaml
@ -15,4 +15,34 @@ machamp:
|
|||||||
type: cmd
|
type: cmd
|
||||||
# Dockerfile for the builder img is in https://github.sc-corp.net/Snapchat/img/tree/master/build/ubuntu/ubuntu-20-04/keydb
|
# Dockerfile for the builder img is in https://github.sc-corp.net/Snapchat/img/tree/master/build/ubuntu/ubuntu-20-04/keydb
|
||||||
builder_image: us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/build/keydb-ubuntu-20-04@sha256:c8e6ecf3c8b385509cc4e0521d7e28d6eef1f70dc7ca0a29f26ec02344870c42
|
builder_image: us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/build/keydb-ubuntu-20-04@sha256:c8e6ecf3c8b385509cc4e0521d7e28d6eef1f70dc7ca0a29f26ec02344870c42
|
||||||
command: ./build_test.sh
|
command: ./machamp_scripts/build.sh
|
||||||
|
tls-test:
|
||||||
|
type: cmd
|
||||||
|
parent: make-build
|
||||||
|
# Dockerfile for the builder img is in https://github.sc-corp.net/Snapchat/img/tree/master/build/ubuntu/ubuntu-20-04/keydb
|
||||||
|
builder_image: us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/build/keydb-ubuntu-20-04@sha256:c8e6ecf3c8b385509cc4e0521d7e28d6eef1f70dc7ca0a29f26ec02344870c42
|
||||||
|
command: ./runtest --clients 2 --verbose --tls
|
||||||
|
cluster-test:
|
||||||
|
type: cmd
|
||||||
|
parent: make-build
|
||||||
|
# Dockerfile for the builder img is in https://github.sc-corp.net/Snapchat/img/tree/master/build/ubuntu/ubuntu-20-04/keydb
|
||||||
|
builder_image: us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/build/keydb-ubuntu-20-04@sha256:c8e6ecf3c8b385509cc4e0521d7e28d6eef1f70dc7ca0a29f26ec02344870c42
|
||||||
|
command: ./runtest-cluster --tls
|
||||||
|
sentinel-test:
|
||||||
|
type: cmd
|
||||||
|
parent: make-build
|
||||||
|
# Dockerfile for the builder img is in https://github.sc-corp.net/Snapchat/img/tree/master/build/ubuntu/ubuntu-20-04/keydb
|
||||||
|
builder_image: us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/build/keydb-ubuntu-20-04@sha256:c8e6ecf3c8b385509cc4e0521d7e28d6eef1f70dc7ca0a29f26ec02344870c42
|
||||||
|
command: ./runtest-sentinel
|
||||||
|
module-test:
|
||||||
|
type: cmd
|
||||||
|
parent: make-build
|
||||||
|
# Dockerfile for the builder img is in https://github.sc-corp.net/Snapchat/img/tree/master/build/ubuntu/ubuntu-20-04/keydb
|
||||||
|
builder_image: us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/build/keydb-ubuntu-20-04@sha256:c8e6ecf3c8b385509cc4e0521d7e28d6eef1f70dc7ca0a29f26ec02344870c42
|
||||||
|
command: ./runtest-moduleapi
|
||||||
|
rotation-test:
|
||||||
|
type: cmd
|
||||||
|
parent: make-build
|
||||||
|
# Dockerfile for the builder img is in https://github.sc-corp.net/Snapchat/img/tree/master/build/ubuntu/ubuntu-20-04/keydb
|
||||||
|
builder_image: us.gcr.io/snapchat-build-artifacts/prod/snapchat/img/build/keydb-ubuntu-20-04@sha256:c8e6ecf3c8b385509cc4e0521d7e28d6eef1f70dc7ca0a29f26ec02344870c42
|
||||||
|
command: ./runtest-rotation
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
# make the build
|
|
||||||
git submodule init && git submodule update
|
|
||||||
make BUILD_TLS=yes -j2 KEYDB_CFLAGS='-Werror' KEYDB_CXXFLAGS='-Werror'
|
|
||||||
|
|
||||||
# gen-cert
|
|
||||||
./utils/gen-test-certs.sh
|
|
||||||
|
|
||||||
# test-tls
|
|
||||||
./runtest --clients 2 --verbose --tls
|
|
||||||
|
|
||||||
# cluster-test
|
|
||||||
./runtest-cluster --tls
|
|
||||||
|
|
||||||
# sentinel test
|
|
||||||
./runtest-sentinel
|
|
||||||
|
|
||||||
# module tests
|
|
||||||
./runtest-moduleapi
|
|
||||||
|
|
||||||
# rotation test
|
|
||||||
./runtest-rotation
|
|
6
machamp_scripts/build.sh
Normal file
6
machamp_scripts/build.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# make the build
|
||||||
|
git submodule init && git submodule update
|
||||||
|
make BUILD_TLS=yes -j2 KEYDB_CFLAGS='-Werror' KEYDB_CXXFLAGS='-Werror'
|
||||||
|
|
||||||
|
# gen-cert
|
||||||
|
./utils/gen-test-certs.sh
|
Loading…
x
Reference in New Issue
Block a user