Skip to content

Commit

Permalink
Merge pull request #771 from AlexsLemonade/kurtwheeler/isolate-affy-i…
Browse files Browse the repository at this point in the history
…mage-tests

Isolate affy image tests and make them not use DLC
  • Loading branch information
kurtwheeler authored Nov 1, 2018
2 parents 8ae76c6 + 839102b commit b3f1796
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
command: .circleci/filter_tests.sh -t salmon
no_output_timeout: 1h

tx_illumina_affy_agilent_tests:
tx_illumina_tests:
working_directory: ~/refinebio
machine:
docker_layer_caching: true
Expand Down Expand Up @@ -165,6 +165,26 @@ jobs:
- run: docker image rm ccdlstaging/dr_transcriptome
- run: docker image rm ccdlstaging/dr_illumina

affy_agilent_tests:
machine: true
working_directory: ~/refinebio
steps:
- checkout

# Clean up stuff circle provides that we don't need.
- run: sudo bash .circleci/cleanup_instance.sh

# Setup Postgres in a Container
- run: ./run_postgres.sh
# Let Postgres start up.
- run: sleep 30
# Finish setting up Postgres now that it's running.
- run: ./common/install_db_docker.sh

# Install our application. Provides the data_refinery_common package for the other images.
- run: chmod -R a+wr common
- run: ./update_models.sh

- run:
command: .circleci/filter_tests.sh -t affymetrix
# This takes a while because the affymetrix image is huge
Expand All @@ -177,7 +197,6 @@ jobs:
# This doesn't take as long because the image has already been pulled.
- run: .circleci/filter_tests.sh -t agilent


deploy:
machine: true
working_directory: ~/refinebio
Expand Down Expand Up @@ -215,7 +234,13 @@ workflows:
# "test" job, an explicit "tags" filter is required here.
tags:
only: /v.*/
- tx_illumina_affy_agilent_tests:
- tx_illumina_tests:
filters:
# To allow tag commits whose name start with "v" to trigger
# "test" job, an explicit "tags" filter is required here.
tags:
only: /v.*/
- affy_agilent_tests:
filters:
# To allow tag commits whose name start with "v" to trigger
# "test" job, an explicit "tags" filter is required here.
Expand All @@ -229,7 +254,8 @@ workflows:
- main_tests
- common_tests
- salmon_and_api_tests
- tx_illumina_affy_agilent_tests
- tx_illumina_tests
- affy_agilent_tests
filters:
# No branch commit will ever trigger this job.
branches:
Expand Down

0 comments on commit b3f1796

Please sign in to comment.