Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
Signed-off-by: munishchouhan <[email protected]>
  • Loading branch information
munishchouhan committed Nov 19, 2024
1 parent 5caf026 commit ac959ec
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ class ViewController {
def condaLock = buildLogService.fetchCondaLockString(result.buildId)
def buildId = result.buildId

/*
When a container image is cached, dockerfile does not get executed.
In that case condalock file will contain "cat environment.lock" because its not been executed.
So wave will check the previous builds of that container image
and render the condalock file from latest successful build
and replace with the current build's condalock file.
*/
if ( condaLock && condaLock.contains('cat environment.lock')) {
condaLock = null //if there is no conda lock file, don't show the conda lock data
def builds = persistenceService.allBuilds(result.buildId.split('-')[1].split('_')[0])
Expand Down

0 comments on commit ac959ec

Please sign in to comment.