Skip to content

Commit

Permalink
Fix wave GCP test (nextflow-io#5490)
Browse files Browse the repository at this point in the history

Signed-off-by: Tom Sellman <tom.sellman@seqera.io>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Co-authored-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
2 people authored and alberto-miranda committed Nov 19, 2024
1 parent d253adf commit 86f7712
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 18 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
- name: Test
if: steps.changed-files.outputs.any_changed == 'true'
run: |
env | sort
# configure test env
if [[ "$GOOGLE_SECRET" ]]; then
echo $GOOGLE_SECRET | base64 -d > $PWD/google_credentials.json
Expand Down Expand Up @@ -158,6 +159,11 @@ jobs:
- name: Run tests
run: |
env | sort
# configure test env
if [[ "$GOOGLE_SECRET" ]]; then
echo $GOOGLE_SECRET | base64 -d > $PWD/google_credentials.json
export GOOGLE_APPLICATION_CREDENTIALS=$PWD/google_credentials.json
fi
cat $HOME/.nextflow/scm
make clean assemble install
bash test-ci.sh
Expand Down
3 changes: 0 additions & 3 deletions validation/google.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ get_abs_filename() {

export NXF_CMD=${NXF_CMD:-$(get_abs_filename ../launch.sh)}

echo $GOOGLE_SECRET | base64 -d > $PWD/google_credentials.json
export GOOGLE_APPLICATION_CREDENTIALS=$PWD/google_credentials.json

[[ $TOWER_ACCESS_TOKEN ]] && OPTS='-with-tower' || OPTS=''
set -x

Expand Down
11 changes: 0 additions & 11 deletions validation/wave-tests/example6/nextflow.config
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
process {
container = 'quay.io/nextflow/rnaseq-nf:v1.1'
}

params {
reads = 's3://rnaseq-nf/data/ggal/lung_{1,2}.fq'
transcriptome = 's3://rnaseq-nf/data/ggal/transcript.fa'
}

docker {
enabled = true
envWhitelist = 'AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY'
Expand All @@ -16,5 +7,3 @@ fusion {
enabled = true
}

workDir = 's3://nextflow-ci/wave'

2 changes: 1 addition & 1 deletion validation/wave-tests/example6/run-aws.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NXF_CMD run \
rnaseq-nf \
-profile batch \
-profile batch,s3-data \
-with-wave \
-with-fusion \
-process.scratch false
Expand Down
2 changes: 1 addition & 1 deletion validation/wave-tests/example6/run-gcp.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NXF_CMD run \
rnaseq-nf \
-profile gcb \
-profile google-batch,gs-data \
-with-wave \
-with-fusion \
-process.scratch false
Expand Down
5 changes: 4 additions & 1 deletion validation/wave-tests/example6/run.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
$NXF_CMD run rnaseq-nf -with-wave
$NXF_CMD run \
rnaseq-nf \
-with-wave \
-w s3://nextflow-ci/wave

2 changes: 1 addition & 1 deletion validation/wave.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ echo "Test Wave running rnaseq-nf with Fusion on AWS Batch"
(cd wave-tests/example6; bash run-aws.sh)

echo "Test Wave running rnaseq-nf with Fusion on Google Batch"
(cd wave-tests/example6; bash run-aws.sh)
(cd wave-tests/example6; bash run-gcp.sh)

0 comments on commit 86f7712

Please sign in to comment.