@featurepeek/circleci
Advanced tools
Comparing version 0.1.1 to 0.1.2
14
index.js
@@ -24,3 +24,3 @@ #!/usr/bin/env node | ||
config = yaml.safeLoad(fs.readFileSync(peekFile, 'utf8')) | ||
console.log(config) | ||
// console.log(config) | ||
} catch (error) { | ||
@@ -59,3 +59,3 @@ console.log(error) | ||
} | ||
} else { | ||
} else if (process.env.AWS_ACCOUNT_ID) { | ||
// dockerized builds for AWS ECR | ||
@@ -72,3 +72,6 @@ const account = process.env.AWS_ACCOUNT_ID | ||
registry_image_path: `${account}.dkr.ecr.${region}.amazonaws.com/${resource}:${sha1}`, | ||
secret: process.env.AWS_SECRET_ACCESS_KEY, | ||
aws_account: account, | ||
aws_access_key: process.env.AWS_ACCESS_KEY_ID, | ||
aws_secret_access_key: process.env.AWS_SECRET_ACCESS_KEY, | ||
aws_region: region, | ||
org, | ||
@@ -79,5 +82,8 @@ repo, | ||
} | ||
} else { | ||
console.log('At the moment, FeaturePeek only supports static builds and Amazon ECR on CircleCI.') | ||
console.log('Please read our CircleCI docs at https://docs.featurepeek.com/docs/circleci/') | ||
} | ||
console.log(options) | ||
// console.log(options) | ||
@@ -84,0 +90,0 @@ request.post(FEATUREPEEK_ENDPOINT, options, (err, res, body) => { |
{ | ||
"private": false, | ||
"name": "@featurepeek/circleci", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "index.js", | ||
@@ -15,3 +15,3 @@ "bin": { | ||
}, | ||
"gitHead": "dc043f9f81203ddac9d8d484521a29e2a32203a2" | ||
"gitHead": "45f4816929d1e9aea3fa5ef66d2286097a02dec2" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12251
7
79
17