CI: Update configuration to pick commercial license to be used during the buildkite test (#7007)

* feat: invoke warning message for non-commercial users if reporter is cli

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* temp: add reference to dev branch of chef-licensing to verify changes

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* ci: use commercial license on the CI from vault

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* revert: remove additional call to the chef licensing

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* chore: remove dev branch reference from Gemfile

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
Sonu Saha 2024-05-31 14:31:32 +05:30 committed by GitHub
parent c2ebd4cf8d
commit 8f50a2dd7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ vault version
echo "--- fetching License serverl url and keys from vault"
$Env:CHEF_LICENSE_SERVER=vault kv get -field acceptance secret/inspec/licensing/server
$Env:CHEF_LICENSE_KEY=vault kv get -field acceptance secret/inspec/licensing/license-key
$Env:CHEF_LICENSE_KEY=vault kv get -field commercial secret/inspec/licensing/license-key
echo "--- verifying if environment variables are set"

View file

@ -29,7 +29,7 @@ unzip -o $VAULT_HOME/vault.zip -d $VAULT_HOME
echo "--- fetching License serverl url and keys from vault"
export CHEF_LICENSE_SERVER=$($VAULT_HOME/vault kv get -field acceptance secret/inspec/licensing/server)
export CHEF_LICENSE_KEY=$($VAULT_HOME/vault kv get -field acceptance secret/inspec/licensing/license-key)
export CHEF_LICENSE_KEY=$($VAULT_HOME/vault kv get -field commercial secret/inspec/licensing/license-key)
if [ -n "${CHEF_LICENSE_KEY:-}" ]; then
echo " ++ License Key set successfully"
else