diff --git a/helm/stagetime-server/Chart.yaml b/helm/stagetime-server/Chart.yaml index 57936a6..50669de 100644 --- a/helm/stagetime-server/Chart.yaml +++ b/helm/stagetime-server/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: stagetime-server description: A Helm chart for Kubernetes type: application -version: v0.4.42 -appVersion: v0.4.42 +version: v0.4.1 +appVersion: v0.4.1 dependencies: - name: sthings-helm-toolkit version: 2.4.58 diff --git a/helm/stagetime-server/values.yaml b/helm/stagetime-server/values.yaml index 75d5745..463d6ae 100644 --- a/helm/stagetime-server/values.yaml +++ b/helm/stagetime-server/values.yaml @@ -31,7 +31,7 @@ deployment: image: scr.cd43.sthings-pve.labul.sva.de/stagetime-server/stagetime-server replicaCount: 1 imagePullPolicy: Always - tag: 24.0124.2021-v0.4.42 + tag: 24.0219.0514-v0.4.1 securityContext: capabilities: {} services: diff --git a/helmfile.yaml b/helmfile.yaml index 30cfaa9..e8c5704 100644 --- a/helmfile.yaml +++ b/helmfile.yaml @@ -11,7 +11,7 @@ releases: installed: true namespace: stagetime chart: stagetime-server/stagetime-server - version: v0.4.42 + version: v0.4.1 values: - "env/values.yaml.gotmpl" environments: diff --git a/server.go b/server.go index 10af319..1287fa5 100644 --- a/server.go +++ b/server.go @@ -40,7 +40,6 @@ var ( log = sthingsBase.StdOutFileLogger(logfilePath, "2006-01-02 15:04:05", 50, 3, 28) now = time.Now() stage string - stageNumber string revisionRunID string countPipelineRuns = 0 pipelineRunStatus []server.PipelineRunStatus @@ -150,9 +149,6 @@ func (s Server) CreateRevisionRun(ctx context.Context, gRPCRequest *revisionrun. stage = prInformation["stagetime/stage"] stages[stage] = server.SetStage(stages, stage) revisionRunID = prInformation["stagetime/commit"] - // SET STAGES ON LIST - // sthingsCli.AddValueToRedisSet(redisClient, now.Format(time.RFC3339)+"-"+prInformation["stagetime/commit"]+"-"+"stages", stage) - // sthingsCli.AddValueToRedisSet(redisClient, now.Format(time.RFC3339)+"-"+prInformation["stagetime/commit"], prInformation["name"]) // CONVERT PR TO JSON + ADD TO REDIS prJSON := sthingsCli.ConvertYAMLToJSON(pr) @@ -184,7 +180,7 @@ func (s Server) CreateRevisionRun(ctx context.Context, gRPCRequest *revisionrun. CountStages: countStage, CountPipelineRuns: countPipelineRuns, LastUpdated: now.Format("2006-01-0215-04-05"), - Status: "CREATED W/ STAGETIME-SERVER", + Status: "REVISIONRUN CREATED W/ STAGETIME-SERVER", } sthingsCli.SetRedisJSON(redisJSONHandler, initialRrs, revisionRunID+"-status") @@ -199,9 +195,7 @@ func (s Server) CreateRevisionRun(ctx context.Context, gRPCRequest *revisionrun. } // CREATE STAGE STATUS ON REDIS + PRINT AS TABLE - fmt.Println("LEN STAGES", len(stages)) - - for stageNumber, _ := range stages { + for stageNumber := range stages { fmt.Println("STAGENUMBER: ", stageNumber) @@ -209,9 +203,8 @@ func (s Server) CreateRevisionRun(ctx context.Context, gRPCRequest *revisionrun. StageID: now.Format("2006-01-0215-04-05") + "-" + revisionRunID + "-" + stageNumber, CountPipelineRuns: stages[stageNumber], LastUpdated: now.Format("2006-01-0215-04-05"), - Status: "CREATED W/ STAGETIME-SERVER", + Status: "STAGE CREATED W/ STAGETIME-SERVER", } - // "2024-01-2405-54-56-093uohkjscbod32903de-0" log.Info("INITIAL STATE STATUS WAS ADDED TO REDIS (JSON): ", revisionRunID+stageNumber) sthingsCli.SetRedisJSON(redisJSONHandler, initialStageStatus, revisionRunID+stageNumber) @@ -225,16 +218,6 @@ func (s Server) CreateRevisionRun(ctx context.Context, gRPCRequest *revisionrun. server.SendStageToMessageQueue(now.Format("2006-01-0215-04-05") + "+" + revisionRunID + "+0") log.Info("STAGE WAS QUEUED FOR PIPELINERUN CREATION ON SERVER (STREAM): ", revisionRunID+"+0") - // HANDLING OF REVISONRUN CR - // stageID := "stageTime-" + gRPCRequest.CommitId[0:4] - // fmt.Println("REVISIONRUN ID: ", stageID) - // sthingsCli.AddValueToRedisSet(redisClient, now.Format(time.RFC3339)+"-"+stageID, stageID) - // cr := server.RenderRevisionRunCR() - // fmt.Println(string(cr)) - // crJSON := sthingsCli.ConvertYAMLToJSON(string(cr)) - // fmt.Println(crJSON) - // sthingsCli.SetRedisJSON(redisJSONHandler, crJSON, stageID) - // SEND gRPC RESPONSE return &revisionrun.Response{ Result: revisionrun.Response_SUCCESS, diff --git a/server/producing.go b/server/producing.go index 2ef77f3..049ab1b 100644 --- a/server/producing.go +++ b/server/producing.go @@ -54,8 +54,9 @@ func OutputRevisonRunStatus(renderedPipelineruns map[int][]string) { CountStages: countStage, CountPipelineRuns: countPipelineRuns, LastUpdated: t.Format("2006-01-02 15:04:05"), - Status: "CREATED W/ STAGETIME-SERVER", + Status: "REVISIONRUN CREATED W/ STAGETIME-SERVER", } + tw := table.NewWriter() header := sthingsCli.CreateTableHeader(rrs) tw.AppendHeader(header) diff --git a/server/producing_test.go b/server/producing_test.go new file mode 100644 index 0000000..c1a9c4f --- /dev/null +++ b/server/producing_test.go @@ -0,0 +1,5 @@ +/* +Copyright © 2024 PATRICK HERMANN patrick.hermann@sva.de +*/ + +package server diff --git a/stageTime-server.log b/stageTime-server.log index c82de86..28c47d8 100644 --- a/stageTime-server.log +++ b/stageTime-server.log @@ -428,3 +428,210 @@ {"level":"info","msg":"redis port ","time":"17 Jan 24 12:13 UTC"} {"level":"info","msg":"redis queue ","time":"17 Jan 24 12:13 UTC"} {"level":"info","msg":"stageTime-server running at [::]:50051:50051","time":"17 Jan 24 12:13 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"08 Feb 24 14:42 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"08 Feb 24 14:42 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"08 Feb 24 14:42 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"08 Feb 24 14:42 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"08 Feb 24 14:42 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2023-02-20T22:40:36Z\",\"author\":\"patrick\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"3c5ac44c6fec00989c7e27b36630a82cdfd26e3b0\",\"pipelineruns\":[{\"name\":\"package-publish-helmchart\",\"canfail\":false,\"stage\":0,\"params\":\"git-revision=master, git-repo-url='git@codehub.sva.de:Lab/stuttgart-things/stuttgart-things.git', gitWorkspaceSubdirectory=/helm/sthings-cluster, helm-chart-path=gitops/apps, helm-chart-name=sthings-cluster, helm-chart-tag=0.2.1, registry=scr.tiab.labda.sva.de, working-image=scr.tiab.labda.sva.de/sthings-k8s-workspace/sthings-k8s-workspace:281126-1644\",\"resolverParams\":\"\",\"listparams\":\"git-revision=master;hello;whatever\",\"workspaces\":\"ssh-credentials=secret;codehub-ssh;secretName, source=persistentVolumeClaim;sthings-kaniko-workspace;claimName, dockerconfig=secret;scr-labda;secretName\",\"volumeClaimTemplates\":\"\"},{\"name\":\"build-kaniko-image\",\"canfail\":true,\"stage\":0,\"params\":\"context=/kaniko/decksman, dockerfile=./Dockerfile, git-revision=main, gitRepoUrl='git@codehub.sva.de:Lab/stuttgart-things/dev/decksman.git', gitWorkspaceSubdirectory=/kaniko/decksman, image=scr.tiab.labda.sva.de/decksman/decksman, registry=scr.tiab.labda.sva.de, tag=0.8.66\",\"resolverParams\":\"\",\"listparams\":\"git-revision=master;hello;whatever\",\"workspaces\":\"ssh-credentials=secret;codehub-ssh;secretName, shared-workspace=persistentVolumeClaim;sthings-kaniko-workspace;claimName, dockerconfig=secret;scr-labda;secretName\",\"volumeClaimTemplates\":\"\"},{\"name\":\"package-publish-helmchart\",\"canfail\":false,\"stage\":1,\"params\":\"git-revision=master, git-repo-url='git@codehub.sva.de:Lab/stuttgart-things/stuttgart-things.git', gitWorkspaceSubdirectory=/helm/sthings-tekton, helm-chart-path=gitops/apps, helm-chart-name=sthings-tekton, helm-chart-tag=0.4.4, registry=scr.tiab.labda.sva.de, working-image=scr.tiab.labda.sva.de/sthings-k8s-workspace/sthings-k8s-workspace:281126-1644\",\"resolverParams\":\"\",\"listparams\":\"git-revision=master;hello;whatever\",\"workspaces\":\"ssh-credentials=secret;codehub-ssh;secretName, source=persistentVolumeClaim;sthings-kaniko-workspace;claimName, dockerconfig=secret;scr-labda;secretName\",\"volumeClaimTemplates\":\"\"}]}","time":"08 Feb 24 14:42 UTC"} +{"level":"info","msg":"patrick created RevisionRun 3c5ac44c6fec00989c7e27b36630a82cdfd26e3b0 at 2023-02-20T22:40:36Z","time":"08 Feb 24 14:42 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"08 Feb 24 14:42 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"08 Feb 24 14:42 UTC"} +{"level":"info","msg":"PIPELINERUNS: 3","time":"08 Feb 24 14:42 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"},{\"name\":\"simulate-stagetime-2\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"PIPELINERUNS: 2","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-0814101358","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-0814101358","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"STAGE: 0","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"DATE: 2024-02-0819-14-08","time":"08 Feb 24 19:14 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"08 Feb 24 19:39 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"08 Feb 24 19:39 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"08 Feb 24 19:39 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"08 Feb 24 19:39 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"08 Feb 24 19:39 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"},{\"name\":\"simulate-stagetime-2\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"PIPELINERUNS: 2","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-0840021358","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-0840021358","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"STAGE: 0","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"DATE: 2024-02-0819-39-58","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"08 Feb 24 19:40 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"},{\"name\":\"simulate-stagetime-2\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"PIPELINERUNS: 2","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-0850071358","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-0850071358","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"STAGE: 0","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"DATE: 2024-02-0819-40-40","time":"08 Feb 24 19:50 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"10 Feb 24 16:25 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"10 Feb 24 16:25 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"10 Feb 24 16:25 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"10 Feb 24 16:25 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"10 Feb 24 16:25 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"},{\"name\":\"simulate-stagetime-2\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"PIPELINERUNS: 2","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-1027451358","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-1027451358","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"STAGE: 0","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"DATE: 2024-02-1016-25-08","time":"10 Feb 24 16:27 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"},{\"name\":\"simulate-stagetime-2\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"PIPELINERUNS: 2","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-1052381358","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-1052381358","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"STAGE: 0","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"DATE: 2024-02-1016-52-37","time":"10 Feb 24 16:52 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"},{\"name\":\"simulate-stagetime-2\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"PIPELINERUNS: 2","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-1053581358","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-1053581358","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"STAGE: 0","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"DATE: 2024-02-1016-53-57","time":"10 Feb 24 16:53 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"},{\"name\":\"simulate-stagetime-2\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"PIPELINERUNS: 2","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-1054321358","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-1054321358","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"STAGE: 0","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"DATE: 2024-02-1016-54-31","time":"10 Feb 24 16:54 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"10 Feb 24 16:56 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"10 Feb 24 16:56 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"10 Feb 24 16:56 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"10 Feb 24 16:56 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"10 Feb 24 16:56 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"11 Feb 24 05:36 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"11 Feb 24 05:36 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"11 Feb 24 05:36 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"11 Feb 24 05:36 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"11 Feb 24 05:36 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"},{\"name\":\"simulate-stagetime-2\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"PIPELINERUNS: 2","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-1143091358","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-1143091358","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"STAGE: 0","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"DATE: 2024-02-1105-36-25","time":"11 Feb 24 05:43 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"},{\"name\":\"simulate-stagetime-2\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"PIPELINERUNS: 2","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-1146081358","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-1146081358","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"STAGE: 0","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"DATE: 2024-02-1105-46-06","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"PIPELINERUNS: 1","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-1146591358","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-1146591358","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"STAGE: 0","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"DATE: 2024-02-1105-46-57","time":"11 Feb 24 05:46 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"INCOMING gRPC REQUEST: {\"repo_name\":\"stuttgart-things\",\"pushed_at\":\"2024-01-13T13:40:36Z\",\"author\":\"patrick-hermann-sva\",\"repo_url\":\"https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git\",\"commit_id\":\"135866d3v43453\",\"pipelineruns\":[{\"name\":\"simulate-stagetime\",\"canfail\":true,\"stage\":0,\"params\":\"gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s\",\"resolverParams\":\"url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml\",\"listparams\":\"\",\"workspaces\":\"\",\"volumeClaimTemplates\":\"source=openebs-hostpath;ReadWriteOnce;20Mi\"}]}","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"patrick-hermann-sva created RevisionRun 135866d3v43453 at 2024-01-13T13:40:36Z","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"REPOSITORY: stuttgart-things","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"REPOSITORYURL: https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"PIPELINERUNS: 1","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"ALL PIPELINERUNS CAN BE RENDERED","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"COUNT-PR: 0","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"RESOURCE-NAME: st-0-simulate-stagetime-1149391358","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"IDENTIFIER: st-0-simulate-stagetime-1149391358","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"REVISIONRUN-ID: 135866d3v43453","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"STAGE: 0","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"DATE: 2024-02-1105-49-35","time":"11 Feb 24 05:49 UTC"} +{"level":"info","msg":"GRPC SERVER RUNNING ON PORT: :50051","time":"11 Feb 24 06:34 UTC"} +{"level":"info","msg":"REDIS SERVER: ","time":"11 Feb 24 06:34 UTC"} +{"level":"info","msg":"REDIS PORT: ","time":"11 Feb 24 06:34 UTC"} +{"level":"info","msg":"REDIS QUEUE: ","time":"11 Feb 24 06:34 UTC"} +{"level":"info","msg":"STAGETIME-SERVER RUNNING AT [::]:50051:50051","time":"11 Feb 24 06:34 UTC"} diff --git a/stagetime-server-v0.4.1.tgz b/stagetime-server-v0.4.1.tgz new file mode 100644 index 0000000..54f6683 Binary files /dev/null and b/stagetime-server-v0.4.1.tgz differ diff --git a/tests/cluster-importer/kustomization.yaml b/tests/cluster-importer/kustomization.yaml index ca3539f..4e70cc2 100644 --- a/tests/cluster-importer/kustomization.yaml +++ b/tests/cluster-importer/kustomization.yaml @@ -5,10 +5,10 @@ configMapGenerator: - name: revisionruns files: - prime.json -# patches: -# - target: -# kind: Pod -# patch: |- -# - op: replace -# path: /metadata/name -# value: revisionrun-importer \ No newline at end of file +patches: + - target: + kind: Pod + patch: |- + - op: replace + path: /metadata/name + value: revisionrun-importer \ No newline at end of file diff --git a/tests/cluster-importer/prime.json b/tests/cluster-importer/prime.json index b992db0..5b406e5 100644 --- a/tests/cluster-importer/prime.json +++ b/tests/cluster-importer/prime.json @@ -3,10 +3,10 @@ "pushed_at": "2024-01-13T13:40:36Z", "author": "patrick-hermann-sva", "repo_url": "https://codehub.sva.de/Lab/stuttgart-things/stuttgart-things.git", - "commit_id": "000000005", + "commit_id": "000000021", "pipelineruns": [ { - "name": "simulate-stagetime", + "name": "simulate-stagetime-1", "canfail": true, "stage": 0, "resolverParams": "url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml", @@ -17,16 +17,7 @@ { "name": "simulate-stagetime-2", "canfail": true, - "stage": 0, - "resolverParams": "url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml", - "params": "gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s", - "listparams": "", - "volumeClaimTemplates": "source=openebs-hostpath;ReadWriteOnce;20Mi" - }, - { - "name": "simulate-stagetime-3", - "canfail": true, - "stage": 0, + "stage": 1, "resolverParams": "url=https://github.com/stuttgart-things/stuttgart-things.git, revision=main, pathInRepo=stageTime/pipelines/simulate-stagetime-pipelineruns.yaml", "params": "gitRevision=main, gitRepoUrl=https://github.com/stuttgart-things/stageTime-server.git, gitWorkspaceSubdirectory=stageTime, scriptPath=tests/prime.sh, scriptTimeout=25s", "listparams": "", diff --git a/tests/grpcCall.go b/tests/grpcCall.go index 1e31216..e5b46a0 100644 --- a/tests/grpcCall.go +++ b/tests/grpcCall.go @@ -102,7 +102,7 @@ func ConnectSecure(address, testFilePath string) { } defer conn.Close() - json, err := ioutil.ReadFile(testFilePath) + json, err := os.ReadFile(testFilePath) if err != nil { log.Fatalln(err) }