ci/test.sh in conjur-asset-policy-0.8.3 vs ci/test.sh in conjur-asset-policy-0.11.0
- old
+ new
@@ -6,8 +6,9 @@
cd /src/conjur-asset-policy
bundle
export CONJUR_AUTHN_LOGIN=admin
-export CONJUR_AUTHN_API_KEY=secret
+
+ruby -ryaml -e "conf = YAML.load(File.read('/etc/conjur.conf')); conf['plugins'] = [ 'policy', 'authn-local' ]; File.write('/etc/conjur.conf', YAML.dump(conf))"
bundle exec rake jenkins || true