Skip to content

Commit

Permalink
fix(fips): set KONG_PACKAGE_NAME envrionment variable and double chec…
Browse files Browse the repository at this point in the history
…k when packaing
  • Loading branch information
hutchic committed Aug 31, 2022
1 parent 74b423a commit 74e592b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ pipeline {
PATH = "/home/ubuntu/bin/:${env.PATH}"
GITHUB_SSH_KEY = credentials('github_bot_ssh_key')
DOCKER_REPOSITORY = "kong/kong-build-tools-private"
KONG_PACKAGE_NAME = "kong-enterprise-edition-fips"
}
steps {
sh 'echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin || true'
Expand Down
3 changes: 2 additions & 1 deletion fpm-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ then
PACKAGE_REPLACES=kong-community-edition
PACKAGE_REPLACES_2=kong-enterprise-edition-fips

elif [ "$KONG_PACKAGE_NAME" = "kong-enterprise-edition-fips" ]
elif [ "$KONG_PACKAGE_NAME" = "kong-enterprise-edition-fips" ] || [ "$SSL_PROVIDER" = "boringssl" ]
then
KONG_PACKAGE_NAME=kong-enterprise-edition-fips
PACKAGE_CONFLICTS=kong-community-edition
PACKAGE_CONFLICTS_2=kong-enterprise-edition

Expand Down

0 comments on commit 74e592b

Please sign in to comment.