Skip to content

Commit

Permalink
updated stageTime-server 24.0220.1458 for tag version v0.4.54
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-hermann-sva committed Feb 20, 2024
1 parent 7dded4b commit 07d1036
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@ func (s Server) CreateRevisionRun(ctx context.Context, gRPCRequest *revisionrun.

countStage := sthingsBase.ConvertStringToInteger(prInformation["stage"]) + 1

// CHECK IF REVISIONRUN ALREADY EXISTS
revisionRunFromRedis := server.GetRevisionRunFromRedis(redisJSONHandler, revisionRunID+"-status", true)
fmt.Println(revisionRunFromRedis)
fmt.Println("EXISTS ALREADY")

// CREATE REVISIONRUN STATUS ON REDIS + PRINT AS TABLE
initialRrs := server.RevisionRunStatus{
RevisionRun: revisionRunID,
Expand All @@ -221,10 +226,6 @@ func (s Server) CreateRevisionRun(ctx context.Context, gRPCRequest *revisionrun.
server.SetRevisionRunStatusInRedis(redisJSONHandler, revisionRunID+"-status", "REVISIONRUN CREATED W/ STAGETIME-SERVER", initialRrs, true)
log.Info("INITIAL REVISIONRUNSTATUS WAS ADDED TO REDIS (JSON): ", revisionRunID+"-status")

// sthingsCli.SetRedisJSON(redisJSONHandler, initialRrs, revisionRunID+"-status")
// log.Info("INITIAL REVISIONRUNSTATUS WAS ADDED TO REDIS (JSON): ", revisionRunID+"-status")
// server.PrintTable(initialRrs)

// CREATE PIPELINERUN STATUS ON REDIS + PRINT AS TABLE
for _, pr := range pipelineRunStatus {
sthingsCli.SetRedisJSON(redisJSONHandler, pr, pr.PipelineRunName+"-status")
Expand Down

0 comments on commit 07d1036

Please sign in to comment.