Compare commits
2 Commits
89be2c4816
...
dcaeaeb6d6
| Author | SHA1 | Date | |
|---|---|---|---|
| dcaeaeb6d6 | |||
| 32a86ace9f |
+1
-1
@@ -437,7 +437,7 @@ func (db *Database) UpdatePipelineRefs(pipelineId uuid.UUID, refsMap map[string]
|
|||||||
query := `
|
query := `
|
||||||
INSERT INTO pipeline_refs(name, pipeline_id, hash)
|
INSERT INTO pipeline_refs(name, pipeline_id, hash)
|
||||||
VALUES($1, $2, $3)
|
VALUES($1, $2, $3)
|
||||||
ON CONFLICT (name)
|
ON CONFLICT (name, pipeline_id)
|
||||||
DO
|
DO
|
||||||
UPDATE SET hash=$3;`
|
UPDATE SET hash=$3;`
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ func ExecutePipeline(pe PipelineExecution, db database.Database, pipelineConf co
|
|||||||
log.Errorf("%v: could not create docker client: %w", idStr, err)
|
log.Errorf("%v: could not create docker client: %w", idStr, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.Info("%v: source cloned successfully", idStr)
|
log.Infof("%v: source cloned successfully", idStr)
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
||||||
@@ -131,7 +131,7 @@ func ExecutePipeline(pe PipelineExecution, db database.Database, pipelineConf co
|
|||||||
}
|
}
|
||||||
log.Debugf("%v: job source tarred", idStr)
|
log.Debugf("%v: job source tarred", idStr)
|
||||||
|
|
||||||
log.Info("%v: building container", idStr)
|
log.Infof("%v: building container", idStr)
|
||||||
|
|
||||||
dockerBuildContext, err := os.Open(tarFile)
|
dockerBuildContext, err := os.Open(tarFile)
|
||||||
defer dockerBuildContext.Close()
|
defer dockerBuildContext.Close()
|
||||||
|
|||||||
Reference in New Issue
Block a user