Skip to content

Commit d9625b2

Browse files
authored
write kondukto_token into expansion file correctly (#784)
Additionally, there's no community variant for RHEL 9 for PowerPC and s390x, and they only support 7.0+, so I'm making those changes in platform.go
1 parent d6f6e6e commit d9625b2

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ functions:
592592
# use AWS CLI to get the Kondukto API token from AWS Secrets Manager
593593
kondukto_token=$(aws secretsmanager get-secret-value --secret-id "kondukto-token" --region "us-east-1" --query 'SecretString' --output text)
594594
# set the KONDUKTO_TOKEN environment variable
595-
echo "KONDUKTO_TOKEN: ${kondukto_token}" > kondukto_token.yml
595+
echo "KONDUKTO_TOKEN: $kondukto_token" > kondukto_token.yml
596596
- command: expansions.update
597597
params:
598598
file: kondukto_token.yml

release/platform/platform.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -521,23 +521,24 @@ var platforms = []Platform{
521521
),
522522
ServerPlatform: "rhel80",
523523
},
524+
// MongoDB server only supports enterprise on RHEL9 for s390x and ppc64le, and only version 7.0+ is available.
524525
{
525526
Name: "rhel9",
526527
Arch: ArchPpc64le,
527528
OS: OSLinux,
528529
Pkg: PkgRPM,
529-
Repos: []Repo{RepoOrg, RepoEnterprise},
530+
Repos: []Repo{RepoEnterprise},
530531
BuildTags: defaultBuildTags,
531-
MinLinuxServerVersion: &version.Version{Major: 6, Minor: 0, Patch: 0},
532+
MinLinuxServerVersion: &version.Version{Major: 7, Minor: 0, Patch: 0},
532533
},
533534
{
534535
Name: "rhel9",
535536
Arch: ArchS390x,
536537
OS: OSLinux,
537538
Pkg: PkgRPM,
538-
Repos: []Repo{RepoOrg, RepoEnterprise},
539+
Repos: []Repo{RepoEnterprise},
539540
BuildTags: defaultBuildTags,
540-
MinLinuxServerVersion: &version.Version{Major: 6, Minor: 0, Patch: 0},
541+
MinLinuxServerVersion: &version.Version{Major: 7, Minor: 0, Patch: 0},
541542
},
542543
{
543544
Name: "rhel93",

0 commit comments

Comments
 (0)