Gathering detailed insights and metrics for gae-ayaml-env
Gathering detailed insights and metrics for gae-ayaml-env
Gathering detailed insights and metrics for gae-ayaml-env
Gathering detailed insights and metrics for gae-ayaml-env
Generates an app.yaml file populated with environment variables, for use with CI / CD systems.
npm install gae-ayaml-env
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (84.78%)
JavaScript (13.82%)
Batchfile (1.4%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
43 Commits
3 Forks
1 Watchers
1 Branches
3 Contributors
Updated on Apr 24, 2023
Latest Version
0.0.20
Package Id
gae-ayaml-env@0.0.20
Unpacked Size
8.19 kB
Size
3.66 kB
File Count
9
NPM Version
9.5.0
Node Version
18.15.0
Published on
Apr 21, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
Generates an app.yaml file from a template and environment variables, designed for use with GitLab's CI / CD system.
Set your environment variables in GitLab (or other system), prefix variables you'd like to persist in app.yaml with "APP_", for example:
Create an app.template.yaml file include everything sans environment variables
1runtime: nodejs10 2env: standard 3 4automatic_scaling: 5 min_instances: 0 6 max_instances: 2 7 8service: default 9 10env_variables: 11 NODE_ENV: 'production'
In your CI / CD process run gae-ayaml-env
to emit a populated app.yaml file, make sure you do not commit an actual app.yaml file as it will be overwritten.
Example for GitLab
1deploy: 2 image: 'rlancer/gcloud-node:LTS-229' 3 script: 4 - npm i 5 - npm run build 6 - npx gae-ayaml-env 7 - echo $GCLOUD_SERVICE > /tmp/$CI_PIPELINE_ID.json 8 - gcloud auth activate-service-account --key-file /tmp/$CI_PIPELINE_ID.json 9 - gcloud --quiet --project $GCLOUD_PROJECT_ID app deploy app.yaml 10 only: 11 - prod
The system will write an app.yaml file fully populated with all the variables prefixed with "APP_".
1runtime: nodejs10 2env: standard 3 4env_variables: 5 APIMARKET_FROM: '******************' 6 DB_DATABASE: '******************' 7 DB_HOST: '******************' 8 DB_PASSWORD: '******************' 9 DB_USER: '******************' 10 NODE_ENV: production 11 SLACK_APP_ID: '******************' 12 SLACK_BOT_TOKEN: '******************' 13 SLACK_CLIENT_ID: '******************' 14 SLACK_CLIENT_SECRET: '******************' 15 SLACK_OAUTH_REDIR: '******************' 16 SLACK_SIGNING_SECRET: '******************' 17 SLACK_TOKEN: '******************' 18 SLACK_VERIFICATION_TOKEN: '******************' 19automatic_scaling: 20 max_instances: 2
to hide the output of the generated file in the console you can use the flag: no-output
Example using npx:
npx gae-ayaml-env --no-output
to @dannyzen from Google for helping Collaborizm move to GCP.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
5 existing vulnerabilities detected
Details
Reason
Found 2/28 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More