Skip to content

Commit a6e9fed

Browse files
authored
fix: env variable tag bug in ci cd config (#2698)
* fixed env var in ci cd config * updated down sql
1 parent 78b8a5e commit a6e9fed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/pipeline/CdConfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type CdConfig struct {
6767
AzureBlobContainerCiLog string `env:"AZURE_BLOB_CONTAINER_CI_LOG"`
6868
AzureBlobContainerCiCache string `env:"AZURE_BLOB_CONTAINER_CI_CACHE"`
6969
AzureAccountKey string `env:"AZURE_ACCOUNT_KEY"`
70-
BuildLogTTLValue int `json:"BUILD_LOG_TTL_VALUE_IN_SECS" envDefault:"3600"`
70+
BuildLogTTLValue int `env:"BUILD_LOG_TTL_VALUE_IN_SECS" envDefault:"3600"`
7171
DefaultAddressPoolBaseCidr string `env:"CD_DEFAULT_ADDRESS_POOL_BASE_CIDR"`
7272
DefaultAddressPoolSize int `env:"CD_DEFAULT_ADDRESS_POOL_SIZE"`
7373
}

pkg/pipeline/CiConfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type CiConfig struct {
7474
BlobStorageS3EndpointInsecure bool `env:"BLOB_STORAGE_S3_ENDPOINT_INSECURE" envDefault:"false"`
7575
BlobStorageS3BucketVersioned bool `env:"BLOB_STORAGE_S3_BUCKET_VERSIONED" envDefault:"true"`
7676
BlobStorageGcpCredentialJson string `env:"BLOB_STORAGE_GCP_CREDENTIALS_JSON"`
77-
BuildLogTTLValue int `json:"BUILD_LOG_TTL_VALUE_IN_SECS" envDefault:"3600"`
77+
BuildLogTTLValue int `env:"BUILD_LOG_TTL_VALUE_IN_SECS" envDefault:"3600"`
7878
AzureAccountKey string `env:"AZURE_ACCOUNT_KEY"`
7979
CiRunnerDockerMTUValue int `env:"CI_RUNNER_DOCKER_MTU_VALUE" envDefault:"-1"`
8080
IgnoreDockerCacheForCI bool `env:"CI_IGNORE_DOCKER_CACHE"`

0 commit comments

Comments
 (0)