Skip to content

Commit

Permalink
Add Google LS deprecation notice (#5400) [ci skip]
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso authored Oct 14, 2024
1 parent dd5fd20 commit 0ee1d9b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import java.nio.file.Path

import groovy.transform.CompileStatic
import groovy.util.logging.Slf4j
import nextflow.SysEnv
import nextflow.exception.AbortOperationException
import nextflow.executor.Executor
import nextflow.executor.SupportedScriptTypes
Expand Down Expand Up @@ -120,6 +121,8 @@ class GoogleLifeSciencesExecutor extends Executor implements ExtensionPoint {

@Override
protected void register() {
if( !SysEnv.getBool('NXF_DISABLE_GLS_DEPRECATION_NOTICE', false) )
log.warn "Google Cloud Life Sciences API Cloud Life Sciences is deprecated and will no longer be available on Google Cloud after July 8, 2025. Consider migrating to Google Cloud Batch instead. Read more at this link: https://cloud.google.com/life-sciences/docs/deprecations"
super.register()
validateWorkDir()
createConfig()
Expand Down

0 comments on commit 0ee1d9b

Please sign in to comment.