Closed devfreddy closed 5 years ago
Ignoring job-lint failure until we do a second pass on repos with our @newrelic/eslint-plugin-newrelic
:tada: This PR is included in version 0.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
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 - https://circleci.com/gh/newrelic/nr1-customer-journey/edit#advanced-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