Skip to content

WIP: Remove per-entity tables #6502

WIP: Remove per-entity tables

WIP: Remove per-entity tables #6502

Triggered via pull request August 28, 2024 11:07
Status Failure
Total duration 6m 15s
Artifacts 1

pr.yml

on: pull_request
license-check  /  License boilerplate check
21s
license-check / License boilerplate check
lint  /  Run golangci-lint
1m 52s
lint / Run golangci-lint
lint  /  Uncommitted changes check - go mod tidy & make gen
3m 24s
lint / Uncommitted changes check - go mod tidy & make gen
build  /  Verify build
1m 16s
build / Verify build
test  /  Unit testing
6m 1s
test / Unit testing
test  /  Coverage
2m 58s
test / Coverage
test  /  Authz tests
40s
test / Authz tests
image-build  /  Image build
2m 37s
image-build / Image build
image-build  /  Build Helm chart
2m 37s
image-build / Build Helm chart
image-build  /  Check docker image build
1m 41s
image-build / Check docker image build
security  /  Code Security Scan
15s
security / Code Security Scan
security  /  Helm Security Scan
8s
security / Helm Security Scan
compose-migrate  /  docker
1m 30s
compose-migrate / docker
Fit to window
Zoom out
Zoom in

Annotations

71 errors and 8 warnings
license-check / License boilerplate check
Process completed with exit code 1.
build / Verify build: internal/repositories/db.go#L42
dbrepo.DefaultBranch.String undefined (type string has no field or method String)
build / Verify build: internal/repositories/db.go#L43
dbrepo.License.String undefined (type string has no field or method String)
build / Verify build: internal/repositories/db.go#L45
dbrepo.UpdatedAt undefined (type db.Repository has no field or method UpdatedAt)
build / Verify build: internal/repositories/github/service.go#L349
webhookID.Valid undefined (type int64 has no field or method Valid)
build / Verify build: internal/repositories/github/service.go#L350
webhookID.Int64 undefined (type int64 has no field or method Int64)
build / Verify build: internal/repositories/github/service.go#L358
t.DeleteRepository undefined (type db.ExtendQuerier has no field or method DeleteRepository)
build / Verify build: internal/repositories/github/service.go#L419
t.CreateRepository undefined (type db.ExtendQuerier has no field or method CreateRepository)
build / Verify build: internal/repositories/github/service.go#L419
undefined: db.CreateRepositoryParams
build / Verify build
Process completed with exit code 2.
compose-migrate / docker: internal/providers/github/manager/manager.go#L183
webhook.WebhookID.Int64 undefined (type int64 has no field or method Int64)
compose-migrate / docker: internal/repositories/db.go#L42
dbrepo.DefaultBranch.String undefined (type string has no field or method String)
compose-migrate / docker: internal/repositories/db.go#L43
dbrepo.License.String undefined (type string has no field or method String)
compose-migrate / docker: internal/repositories/db.go#L45
dbrepo.UpdatedAt undefined (type db.Repository has no field or method UpdatedAt)
compose-migrate / docker: internal/repositories/github/service.go#L349
webhookID.Valid undefined (type int64 has no field or method Valid)
compose-migrate / docker: internal/repositories/github/service.go#L350
webhookID.Int64 undefined (type int64 has no field or method Int64)
compose-migrate / docker: internal/repositories/github/service.go#L358
t.DeleteRepository undefined (type db.ExtendQuerier has no field or method DeleteRepository)
compose-migrate / docker: internal/repositories/github/service.go#L419
t.CreateRepository undefined (type db.ExtendQuerier has no field or method CreateRepository)
compose-migrate / docker: internal/repositories/github/service.go#L419
undefined: db.CreateRepositoryParams
compose-migrate / docker
Process completed with exit code 2.
image-build / Check docker image build
buildx failed with: ERROR: failed to solve: process "/bin/sh -c CGO_ENABLED=0 go build -trimpath -o minder-server ./cmd/server" did not complete successfully: exit code: 1
lint / Run golangci-lint: cmd/reminder/app/start.go#L32
could not import github.com/stacklok/minder/internal/reminder (-: # github.com/stacklok/minder/internal/reminder
lint / Run golangci-lint: internal/reminder/reminder.go#L173
r.store.UpdateReminderLastSentForRepositories undefined (type db.Store has no field or method UpdateReminderLastSentForRepositories)) (typecheck)
lint / Run golangci-lint: cmd/server/app/webhook_update.go#L39
could not import github.com/stacklok/minder/internal/providers/github/manager (-: # github.com/stacklok/minder/internal/providers/github/manager
lint / Run golangci-lint: internal/providers/github/manager/manager.go#L183
webhook.WebhookID.Int64 undefined (type int64 has no field or method Int64)) (typecheck)
lint / Run golangci-lint: database/mock/fixtures/store.go#L125
mockStore.EXPECT().UpsertPullRequest undefined (type *mockdb.MockStoreMockRecorder has no field or method UpsertPullRequest)
lint / Run golangci-lint: database/mock/fixtures/store.go#L136
mockStore.EXPECT().DeletePullRequest undefined (type *mockdb.MockStoreMockRecorder has no field or method DeletePullRequest)
lint / Run golangci-lint: database/mock/fixtures/store.go#L159
mockStore.EXPECT().UpsertArtifact undefined (type *mockdb.MockStoreMockRecorder has no field or method UpsertArtifact) (typecheck)
lint / Run golangci-lint: internal/controlplane/handlers_evalstatus.go#L82
eval.RepoOwner undefined (type db.GetEvaluationHistoryRow has no field or method RepoOwner) (typecheck)
lint / Run golangci-lint: internal/controlplane/handlers_evalstatus.go#L83
eval.RepoName undefined (type db.GetEvaluationHistoryRow has no field or method RepoName) (typecheck)
lint / Run golangci-lint: internal/controlplane/handlers_evalstatus.go#L84
eval.PrNumber undefined (type db.GetEvaluationHistoryRow has no field or method PrNumber) (typecheck)
image-build / Build Helm chart
webhook.WebhookID.Int64 undefined (type int64 has no field or method Int64)
image-build / Build Helm chart
dbrepo.DefaultBranch.String undefined (type string has no field or method String)
image-build / Build Helm chart
dbrepo.License.String undefined (type string has no field or method String)
image-build / Build Helm chart
dbrepo.UpdatedAt undefined (type db.Repository has no field or method UpdatedAt)
image-build / Build Helm chart
webhookID.Valid undefined (type int64 has no field or method Valid)
image-build / Build Helm chart
webhookID.Int64 undefined (type int64 has no field or method Int64)
image-build / Build Helm chart
t.DeleteRepository undefined (type db.ExtendQuerier has no field or method DeleteRepository)
image-build / Build Helm chart
t.CreateRepository undefined (type db.ExtendQuerier has no field or method CreateRepository)
image-build / Build Helm chart
undefined: db.CreateRepositoryParams
image-build / Build Helm chart
Process completed with exit code 2.
image-build / Image build: internal/providers/github/manager/manager.go#L183
webhook.WebhookID.Int64 undefined (type int64 has no field or method Int64)
image-build / Image build: internal/repositories/db.go#L42
dbrepo.DefaultBranch.String undefined (type string has no field or method String)
image-build / Image build: internal/repositories/db.go#L43
dbrepo.License.String undefined (type string has no field or method String)
image-build / Image build: internal/repositories/db.go#L45
dbrepo.UpdatedAt undefined (type db.Repository has no field or method UpdatedAt)
image-build / Image build: internal/repositories/github/service.go#L349
webhookID.Valid undefined (type int64 has no field or method Valid)
image-build / Image build: internal/repositories/github/service.go#L350
webhookID.Int64 undefined (type int64 has no field or method Int64)
image-build / Image build: internal/repositories/github/service.go#L358
t.DeleteRepository undefined (type db.ExtendQuerier has no field or method DeleteRepository)
image-build / Image build: internal/repositories/github/service.go#L419
t.CreateRepository undefined (type db.ExtendQuerier has no field or method CreateRepository)
image-build / Image build: internal/repositories/github/service.go#L419
undefined: db.CreateRepositoryParams
image-build / Image build
Process completed with exit code 1.
test / Coverage: internal/repositories/db.go#L42
dbrepo.DefaultBranch.String undefined (type string has no field or method String)
test / Coverage: internal/repositories/db.go#L43
dbrepo.License.String undefined (type string has no field or method String)
test / Coverage: internal/repositories/db.go#L45
dbrepo.UpdatedAt undefined (type db.Repository has no field or method UpdatedAt)
test / Coverage: internal/repositories/github/service.go#L349
webhookID.Valid undefined (type int64 has no field or method Valid)
test / Coverage: internal/repositories/github/service.go#L350
webhookID.Int64 undefined (type int64 has no field or method Int64)
test / Coverage: internal/repositories/github/service.go#L358
t.DeleteRepository undefined (type db.ExtendQuerier has no field or method DeleteRepository)
test / Coverage: internal/repositories/github/service.go#L419
t.CreateRepository undefined (type db.ExtendQuerier has no field or method CreateRepository)
test / Coverage: internal/repositories/github/service.go#L419
undefined: db.CreateRepositoryParams
test / Coverage: internal/providers/github/manager/manager.go#L183
webhook.WebhookID.Int64 undefined (type int64 has no field or method Int64)
test / Coverage: internal/reminder/reminder.go#L173
r.store.UpdateReminderLastSentForRepositories undefined (type db.Store has no field or method UpdateReminderLastSentForRepositories)
test / Unit testing: internal/repositories/db.go#L42
dbrepo.DefaultBranch.String undefined (type string has no field or method String)
test / Unit testing: internal/repositories/db.go#L43
dbrepo.License.String undefined (type string has no field or method String)
test / Unit testing: internal/repositories/db.go#L45
dbrepo.UpdatedAt undefined (type db.Repository has no field or method UpdatedAt)
test / Unit testing: internal/repositories/github/service.go#L349
webhookID.Valid undefined (type int64 has no field or method Valid)
test / Unit testing: internal/repositories/github/service.go#L350
webhookID.Int64 undefined (type int64 has no field or method Int64)
test / Unit testing: internal/repositories/github/service.go#L358
t.DeleteRepository undefined (type db.ExtendQuerier has no field or method DeleteRepository)
test / Unit testing: internal/repositories/github/service.go#L419
t.CreateRepository undefined (type db.ExtendQuerier has no field or method CreateRepository)
test / Unit testing: internal/repositories/github/service.go#L419
undefined: db.CreateRepositoryParams
test / Unit testing: internal/providers/github/manager/manager.go#L183
webhook.WebhookID.Int64 undefined (type int64 has no field or method Int64)
test / Unit testing: internal/reminder/reminder.go#L173
r.store.UpdateReminderLastSentForRepositories undefined (type db.Store has no field or method UpdateReminderLastSentForRepositories)
license-check / License boilerplate check
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test / Authz tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
build / Verify build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
compose-migrate / docker
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
image-build / Build Helm chart
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
image-build / Image build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test / Coverage
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test / Unit testing
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2

Artifacts

Produced during runtime
Name Size
stacklok~minder~LSGL0W.dockerbuild
7.21 KB