Compare commits

...

1 Commits

Author SHA1 Message Date
Giacomo Guiulfo 05dbff21c9 ci(main.yml): add mem tests 2018-06-19 12:48:56 -07:00
1 changed files with 39 additions and 2 deletions

View File

@ -23,6 +23,10 @@ models:
name: install modules
command: npm install
haltOnFailure: True
- ShellCommand: &wait_for_local_port
name: Wait for S3 to listen
command: bash wait_for_local_port.bash 8000 40
haltOnFailure: True
stages:
pre-merge:
worker:
@ -36,8 +40,9 @@ stages:
- TriggerStages:
name: Launch all workers
stage_names:
- linting-coverage
- mongo-ft-tests
# - linting-coverage
# - mongo-ft-tests
- mem-ft-tests
waitForFinish: True
haltOnFailure: True
@ -92,6 +97,38 @@ stages:
env:
<<: *mongo-vars
mem-tests:
worker:
type: kube_pod
path: eve/workers/pod.yaml
images:
aggressor: eve/workers/build
s3: "."
vars: &mem-vars
S3BACKEND: "mem"
S3DATA: ""
MPU_TESTING: ""
S3METADATA: ""
CI_PROXY: "false"
steps:
- Git: *clone
- ShellCommandWithSecrets: *credentials
- ShellCommand: *npm-install
- ShellCommand: *wait_for_local_port
- ShellCommand:
command: |
set -ex
cd ./tests/functional/jaws mvn test
env:
<<: *mem-vars
- ShellCommand:
command: |
set -ex
rspec tests.rb
env:
<<: *mem-vars
workdir: ./build/tests/functional/fog
post-merge:
worker:
type: local