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 name: install modules
command: npm install command: npm install
haltOnFailure: True 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: stages:
pre-merge: pre-merge:
worker: worker:
@ -36,8 +40,9 @@ stages:
- TriggerStages: - TriggerStages:
name: Launch all workers name: Launch all workers
stage_names: stage_names:
- linting-coverage # - linting-coverage
- mongo-ft-tests # - mongo-ft-tests
- mem-ft-tests
waitForFinish: True waitForFinish: True
haltOnFailure: True haltOnFailure: True
@ -92,6 +97,38 @@ stages:
env: env:
<<: *mongo-vars <<: *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: post-merge:
worker: worker:
type: local type: local