Skip to content

Commit

Permalink
Shorten markers + bump wave-utils@0.14.0
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Oct 4, 2024
1 parent a4f9225 commit 2fa48fd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies {
implementation("jakarta.persistence:jakarta.persistence-api:3.0.0")
api 'io.seqera:lib-mail:1.0.0'
api 'io.seqera:wave-api:0.12.0'
api 'io.seqera:wave-utils:0.13.1'
api 'io.seqera:wave-utils:0.14.0'

implementation("io.micronaut:micronaut-http-client")
implementation("io.micronaut:micronaut-jackson-databind")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ import static org.apache.commons.lang3.StringUtils.strip
@Requires(property = 'wave.build.logs.bucket')
class BuildLogServiceImpl implements BuildLogService {

private static final String CONDA_LOCK_START = ">>>>>>> CONDA_LOCK_START"
private static final String CONDA_LOCK_START = ">> CONDA_LOCK_START"

private static final String CONDA_LOCK_END = "<<<<<<< CONDA_LOCK_END"
private static final String CONDA_LOCK_END = "<< CONDA_LOCK_END"

@Inject
@Named('build-logs')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ class BuildLogsServiceTest extends Specification {
def 'should remove conda lockfile from logs' () {
def logs = """
#9 12.23 logs....
#10 12.24 >>>>>>> CONDA_LOCK_START
#10 12.24 >> CONDA_LOCK_START
#10 12.24 # This file may be used to create an environment using:
#10 12.24 # \$ conda create --name <env> --file <this file>
#10 12.24 # platform: linux-aarch64
#10 12.24 @EXPLICIT
#10 12.25 <<<<<<< CONDA_LOCK_END
#10 12.25 << CONDA_LOCK_END
#11 12.26 logs....""".stripIndent()
def service = new BuildLogServiceImpl()

Expand Down Expand Up @@ -76,12 +76,12 @@ class BuildLogsServiceTest extends Specification {
def 'should extract conda lockfile' () {
def logs = """
#9 12.23 logs....
#10 12.24 >>>>>>> CONDA_LOCK_START
#10 12.24 >> CONDA_LOCK_START
#10 12.24 # This file may be used to create an environment using:
#10 12.24 # \$ conda create --name <env> --file <this file>
#10 12.24 # platform: linux-aarch64
#10 12.24 @EXPLICIT
#10 12.25 <<<<<<< CONDA_LOCK_END
#10 12.25 << CONDA_LOCK_END
#11 12.26 logs....""".stripIndent()
def service = new BuildLogServiceImpl()

Expand Down

0 comments on commit 2fa48fd

Please sign in to comment.