Skip to content

[SDP-1001] refactor migration commands to keep a consistent naming approach, in preparation for the TSS migrations (pt 1/2) #533

[SDP-1001] refactor migration commands to keep a consistent naming approach, in preparation for the TSS migrations (pt 1/2)

[SDP-1001] refactor migration commands to keep a consistent naming approach, in preparation for the TSS migrations (pt 1/2) #533

Triggered via pull request December 13, 2023 01:31
Status Failure
Total duration 52s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors
build: db/dbtest/dbtest.go#L12
no required module provides package github.com/stellar/stellar-disbursement-platform-backend/db/migrations/tenant-migrations; to add it:
build
Process completed with exit code 1.
check: db/migrate_test.go#L106
undefined: StellarMultiTenantMigrationsTableName (typecheck)
check: db/migrate_test.go#L111
undefined: StellarMultiTenantMigrationsTableName (typecheck)
check: db/migrate_test.go#L126
undefined: StellarMultiTenantMigrationsTableName (typecheck)
check: stellar-multitenant/pkg/internal/validators/tenant_validator.go#L1
: # github.com/stellar/stellar-disbursement-platform-backend/stellar-multitenant/pkg/internal/validators [github.com/stellar/stellar-disbursement-platform-backend/stellar-multitenant/pkg/internal/validators.test]
check: stellar-multitenant/pkg/internal/validators/tenant_validator_test.go#L230
invalid operation: cannot take address of tenant.AWSEmailSenderType (constant "AWS_EMAIL" of type tenant.EmailSenderType)
check: stellar-multitenant/pkg/internal/validators/tenant_validator_test.go#L231
invalid operation: cannot take address of tenant.AWSSMSSenderType (constant "AWS_SMS" of type tenant.SMSSenderType) (typecheck)
check: stellar-multitenant/pkg/tenant/manager_test.go#L80
invalid operation: cannot take address of AWSEmailSenderType (constant "AWS_EMAIL" of type EmailSenderType) (typecheck)
check: stellar-multitenant/pkg/tenant/manager_test.go#L98
invalid operation: cannot take address of AWSEmailSenderType (constant "AWS_EMAIL" of type EmailSenderType) (typecheck)
check: stellar-multitenant/pkg/tenant/manager_test.go#L115
invalid operation: cannot take address of TwilioSMSSenderType (constant "TWILIO_SMS" of type SMSSenderType) (typecheck)
check: stellar-multitenant/pkg/tenant/tenant_test.go#L57
invalid operation: cannot take address of AWSEmailSenderType (constant "AWS_EMAIL" of type EmailSenderType) (typecheck)
test: db/dbtest/dbtest.go#L12
no required module provides package github.com/stellar/stellar-disbursement-platform-backend/db/migrations/tenant-migrations; to add it:
test
Process completed with exit code 1.
complete
Process completed with exit code 1.