[x] Add Snyk token as SNYK_TOKEN ENV variable in CircleCI
[x] Add an appropriate NR api key for use in deployment with the nr1 cli as NR1CLI_PROFILE_DEMOTRONV2 ENV variable in CircleCI
[x] Copy .circleci directory. Note - there are some scripts used to copy this from open-source-tools/nerdpacks/oss-template, then search/replace the following strings:
NERDPACK_UUID
NERDPACK_SLUG
REPO_DEPLOY_KEY_FINGERPRINT
[x] Import bot user's into CLA assistant
[x] npm i -D @semantic-release/changelog @semantic-release/git
Prerequisites:
brew install gnu-sed (for search and replace) brew install bash (for associative arrays on mac) npm install -g json (to modify with package.json)
Required setup items:
[x] Add project to CircleCI
[x] Configure advanced CircleCI settings
[x] Add branch protection for the master branch (even from administrators)
[x] Turn off "Branch or Tag Creation" webhook event under the configured CircleCI webhook endpoint
[x] Add a Deploy Key (w/write access) to github repo (public key) & CircleCI (private key)
[x] Add Github Personal access token as
GITHUB_TOKEN
ENV variable. Required by: Semantic-Release Github Plugin[x] Add Snyk token as
SNYK_TOKEN
ENV variable in CircleCI[x] Add an appropriate NR api key for use in deployment with the nr1 cli as
NR1CLI_PROFILE_DEMOTRONV2
ENV variable in CircleCI[x] Copy .circleci directory. Note - there are some scripts used to copy this from
open-source-tools/nerdpacks/oss-template
, then search/replace the following strings:[x] Import bot user's into CLA assistant
[x]
npm i -D @semantic-release/changelog @semantic-release/git