2020-08-21 12:11:01 +00:00
|
|
|
stages:
|
|
|
|
- test
|
2020-11-20 10:32:17 +00:00
|
|
|
- deploy-mainnet-fork
|
2020-08-21 12:11:01 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- aave-build-runner
|
|
|
|
before_script:
|
|
|
|
- docker-compose -f docker-compose.test.yml build
|
|
|
|
script:
|
2020-08-21 12:19:07 +00:00
|
|
|
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:test
|
2020-08-21 12:11:01 +00:00
|
|
|
after_script:
|
|
|
|
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:clean
|
|
|
|
- docker-compose -f docker-compose.test.yml down
|
2020-11-20 10:32:17 +00:00
|
|
|
deploy-mainnet-fork:
|
|
|
|
stage: deploy-mainnet-fork
|
|
|
|
tags:
|
|
|
|
- aave-build-runner
|
|
|
|
before_script:
|
|
|
|
- docker-compose build
|
|
|
|
script:
|
|
|
|
- docker-compose run contracts-env npm aave:main:fork
|
|
|
|
after_script:
|
|
|
|
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:clean
|
|
|
|
- docker-compose -f docker-compose.test.yml down
|