Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

EVEREST-302 Improve validation for backupStorage #912

EVEREST-302 Improve validation for backupStorage

EVEREST-302 Improve validation for backupStorage #912

Triggered via pull request September 19, 2023 19:40
Status Failure
Total duration 2m 36s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
API Integration Tests
29s
API Integration Tests
Matrix: Check
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 3 warnings
API Integration Tests: api/backup_storage.go#L250
cannot use params.AccessKey (variable of type string) as *string value in argument to e.createSecrets
API Integration Tests: api/backup_storage.go#L250
cannot use params.SecretKey (variable of type string) as *string value in argument to e.createSecrets
API Integration Tests: api/backup_storage.go#L353
invalid operation: params.AccessKey != nil (mismatched types string and untyped nil)
API Integration Tests: api/backup_storage.go#L361
invalid operation: params.SecretKey != nil (mismatched types string and untyped nil)
API Integration Tests: api/backup_storage.go#L429
cannot use params.BucketName (variable of type string) as *string value in struct literal
API Integration Tests: api/validation.go#L110
invalid operation: params.AccessKey != nil (mismatched types string and untyped nil)
API Integration Tests: api/validation.go#L111
invalid operation: cannot indirect params.AccessKey (variable of type string)
API Integration Tests: api/validation.go#L115
invalid operation: params.SecretKey != nil (mismatched types string and untyped nil)
API Integration Tests: api/validation.go#L116
invalid operation: cannot indirect params.SecretKey (variable of type string)
API Integration Tests: api/validation.go#L120
invalid operation: params.BucketName != nil (mismatched types string and untyped nil)
API Integration Tests
Process completed with exit code 1.
Test (1.21.x, false): api/backup_storage.go#L250
cannot use params.AccessKey (variable of type string) as *string value in argument to e.createSecrets
Test (1.21.x, false): api/backup_storage.go#L250
cannot use params.SecretKey (variable of type string) as *string value in argument to e.createSecrets
Test (1.21.x, false): api/backup_storage.go#L353
invalid operation: params.AccessKey != nil (mismatched types string and untyped nil)
Test (1.21.x, false): api/backup_storage.go#L361
invalid operation: params.SecretKey != nil (mismatched types string and untyped nil)
Test (1.21.x, false): api/backup_storage.go#L429
cannot use params.BucketName (variable of type string) as *string value in struct literal
Test (1.21.x, false): api/validation.go#L110
invalid operation: params.AccessKey != nil (mismatched types string and untyped nil)
Test (1.21.x, false): api/validation.go#L111
invalid operation: cannot indirect params.AccessKey (variable of type string)
Test (1.21.x, false): api/validation.go#L115
invalid operation: params.SecretKey != nil (mismatched types string and untyped nil)
Test (1.21.x, false): api/validation.go#L116
invalid operation: cannot indirect params.SecretKey (variable of type string)
Test (1.21.x, false): api/validation.go#L120
invalid operation: params.BucketName != nil (mismatched types string and untyped nil)
Check (1.21.x, false): cmd/main.go#L30
could not import github.com/percona/percona-everest-backend/api (-: # github.com/percona/percona-everest-backend/api
Check (1.21.x, false): api/backup_storage.go#L250
cannot use params.AccessKey (variable of type string) as *string value in argument to e.createSecrets
Check (1.21.x, false): api/backup_storage.go#L250
cannot use params.SecretKey (variable of type string) as *string value in argument to e.createSecrets
Check (1.21.x, false): api/backup_storage.go#L353
invalid operation: params.AccessKey != nil (mismatched types string and untyped nil)
Check (1.21.x, false): api/backup_storage.go#L361
invalid operation: params.SecretKey != nil (mismatched types string and untyped nil)
Check (1.21.x, false): api/backup_storage.go#L429
cannot use params.BucketName (variable of type string) as *string value in struct literal
Check (1.21.x, false): api/validation.go#L110
invalid operation: params.AccessKey != nil (mismatched types string and untyped nil)
Check (1.21.x, false): api/validation.go#L111
invalid operation: cannot indirect params.AccessKey (variable of type string)
Check (1.21.x, false): api/validation.go#L115
invalid operation: params.SecretKey != nil (mismatched types string and untyped nil)
Check (1.21.x, false): api/validation.go#L116
invalid operation: cannot indirect params.SecretKey (variable of type string)
API Integration Tests
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-backend/percona-everest-backend. Supported file pattern: go.sum
Test (1.21.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-backend/percona-everest-backend. Supported file pattern: go.sum
Check (1.21.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-backend/percona-everest-backend. Supported file pattern: go.sum