Skip to content

set pr meta on preview target creation #2816

set pr meta on preview target creation

set pr meta on preview target creation #2816

Triggered via pull request May 6, 2024 14:39
Status Failure
Total duration 4m 8s
Artifacts

pr_push_checks_go.yaml

on: pull_request
Setup cache
59s
Setup cache
Matrix: Running Go Tests
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 6 warnings
Running Go Tests (ubuntu-latest, cmd): api/server/handlers/deployment_target/create.go#L91
unknown field Metadata in struct literal of type porterv1.CreateDeploymentTargetRequest
Running Go Tests (ubuntu-latest, cmd)
Process completed with exit code 1.
Running Go Tests (ubuntu-latest, api)
The job was canceled because "ubuntu-latest_cmd" failed.
Running Go Tests (ubuntu-latest, api): api/server/handlers/deployment_target/create.go#L91
unknown field Metadata in struct literal of type porterv1.CreateDeploymentTargetRequest
Running Go Tests (ubuntu-latest, api)
The operation was canceled.
Go Linter: api/server/handlers/deployment_target/create.go#L74
undefined: porterv1.DeploymentTargetMeta
Go Linter: api/server/handlers/deployment_target/create.go#L76
undefined: porterv1.DeploymentTargetMeta
Go Linter: api/server/handlers/deployment_target/create.go#L77
undefined: porterv1.PullRequest
Go Linter: api/server/handlers/deployment_target/create.go#L91
unknown field Metadata in struct literal of type porterv1.CreateDeploymentTargetRequest (typecheck)
Go Linter: api/server/router/deployment_target.go#L8
could not import github.com/porter-dev/porter/api/server/handlers/deployment_target (-: # github.com/porter-dev/porter/api/server/handlers/deployment_target
Go Linter: api/server/handlers/deployment_target/create.go#L74
undefined: porterv1.DeploymentTargetMeta
Go Linter: api/server/handlers/deployment_target/create.go#L76
undefined: porterv1.DeploymentTargetMeta
Go Linter: api/server/handlers/deployment_target/create.go#L77
undefined: porterv1.PullRequest
Go Linter: api/server/handlers/deployment_target/create.go#L91
unknown field Metadata in struct literal of type porterv1.CreateDeploymentTargetRequest) (typecheck)
Go Linter
issues found
Setup cache
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: tj-actions/[email protected], actions/cache@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Go Tests (ubuntu-latest, provisioner)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Go Tests (ubuntu-latest, internal)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Go Tests (ubuntu-latest, cli)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Go Tests (ubuntu-latest, cmd)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go Linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.