Skip to content

Updates to handle CPI multiple releases #385

Updates to handle CPI multiple releases

Updates to handle CPI multiple releases #385

Triggered via push August 29, 2024 00:24
Status Failure
Total duration 1m 1s
Artifacts

go.yml

on: push
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

21 errors
lint (ubuntu-latest): cmd/create_env_test.go#L433
cannot use installedJob (variable of type installation.InstalledJob) as []installation.InstalledJob value in argument to biinstall.NewInstallation (typecheck)
lint (ubuntu-latest): cpi/release/validator_test.go#L35
cannot use release (variable of type *releasefakes.FakeRelease) as []"github.com/cloudfoundry/bosh-cli/v7/installation/manifest".ReleaseJobRef value in argument to validator.Validate
lint (ubuntu-latest): cpi/release/validator_test.go#L35
cannot use cpiReleaseJobName (variable of type string) as *"github.com/cloudfoundry/bosh-cli/v7/cpi/release".CpiInstaller value in argument to validator.Validate
lint (ubuntu-latest): cpi/release/validator_test.go#L63
cannot use release (variable of type *releasefakes.FakeRelease) as []"github.com/cloudfoundry/bosh-cli/v7/installation/manifest".ReleaseJobRef value in argument to validator.Validate
lint (ubuntu-latest): cpi/release/validator_test.go#L63
cannot use cpiReleaseJobName (variable of type string) as *"github.com/cloudfoundry/bosh-cli/v7/cpi/release".CpiInstaller value in argument to validator.Validate
lint (ubuntu-latest): cpi/release/validator_test.go#L94
cannot use release (variable of type "github.com/cloudfoundry/bosh-cli/v7/release".Release) as []"github.com/cloudfoundry/bosh-cli/v7/installation/manifest".ReleaseJobRef value in argument to validator.Validate
lint (ubuntu-latest): cpi/release/validator_test.go#L94
cannot use cpiReleaseJobName (variable of type string) as *"github.com/cloudfoundry/bosh-cli/v7/cpi/release".CpiInstaller value in argument to validator.Validate (typecheck)
lint (ubuntu-latest): installation/installer_test.go#L140
cannot use installedJob (variable of type installation.InstalledJob) as []installation.InstalledJob value in argument to NewInstallation (typecheck)
lint (ubuntu-latest): integration/create_env_test.go#L311
cannot use installedJob (variable of type installation.InstalledJob) as []installation.InstalledJob value in argument to biinstall.NewInstallation (typecheck)
lint (ubuntu-latest)
issues found
lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
lint (macos-latest): cmd/create_env_test.go#L433
cannot use installedJob (variable of type installation.InstalledJob) as []installation.InstalledJob value in argument to biinstall.NewInstallation (typecheck)
lint (macos-latest): cpi/release/validator_test.go#L35
cannot use release (variable of type *releasefakes.FakeRelease) as []"github.com/cloudfoundry/bosh-cli/v7/installation/manifest".ReleaseJobRef value in argument to validator.Validate
lint (macos-latest): cpi/release/validator_test.go#L35
cannot use cpiReleaseJobName (variable of type string) as *"github.com/cloudfoundry/bosh-cli/v7/cpi/release".CpiInstaller value in argument to validator.Validate
lint (macos-latest): cpi/release/validator_test.go#L63
cannot use release (variable of type *releasefakes.FakeRelease) as []"github.com/cloudfoundry/bosh-cli/v7/installation/manifest".ReleaseJobRef value in argument to validator.Validate
lint (macos-latest): cpi/release/validator_test.go#L63
cannot use cpiReleaseJobName (variable of type string) as *"github.com/cloudfoundry/bosh-cli/v7/cpi/release".CpiInstaller value in argument to validator.Validate
lint (macos-latest): cpi/release/validator_test.go#L94
cannot use release (variable of type "github.com/cloudfoundry/bosh-cli/v7/release".Release) as []"github.com/cloudfoundry/bosh-cli/v7/installation/manifest".ReleaseJobRef value in argument to validator.Validate
lint (macos-latest): cpi/release/validator_test.go#L94
cannot use cpiReleaseJobName (variable of type string) as *"github.com/cloudfoundry/bosh-cli/v7/cpi/release".CpiInstaller value in argument to validator.Validate (typecheck)
lint (macos-latest): installation/installer_test.go#L140
cannot use installedJob (variable of type installation.InstalledJob) as []installation.InstalledJob value in argument to NewInstallation (typecheck)
lint (macos-latest): integration/create_env_test.go#L311
cannot use installedJob (variable of type installation.InstalledJob) as []installation.InstalledJob value in argument to biinstall.NewInstallation (typecheck)
lint (macos-latest)
issues found