mirror of
https://github.com/inspec/inspec
synced 2024-11-22 04:33:09 +00:00
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:
parent
c2ebd4cf8d
commit
8f50a2dd7c
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue