Skip to content

Commit

Permalink
Merge branch 'develop' into pm-handbook
Browse files Browse the repository at this point in the history
  • Loading branch information
austin-schaefer committed Aug 25, 2021
2 parents 188a091 + b1bb2b6 commit 95fd8ae
Show file tree
Hide file tree
Showing 715 changed files with 5,133 additions and 2,580 deletions.
4 changes: 0 additions & 4 deletions .github/ISSUE_TEMPLATE/content-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ labels: content
assignees: ''
---

<!-- NOTE: New Relic is honoring employees with a Relic Recharge Week. This means many of us are out of the office from August 9th through August 13th. We'll take a look at your issue as soon as we're back on August 16.
Or, if your issue is urgent, you can reach out to our support team
at support.newrelic.com. -->

<!-- Thanks for filing an issue on our docs! -->

<!-- This repo is public. Anything you share here is visible to the world. -->
Expand Down
7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE/site-bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,10 @@ labels: bug, eng
assignees: ''
---

<!-- NOTE: New Relic is honoring employees with a Relic Recharge Week. This means many of us are out of the office from August 9th through August 13th. We'll take a look at your issue as soon as we're back on August 16.
Or, if your issue is urgent, you can reach out to our support team
at support.newrelic.com. -->

<!-- Please fill out each section below. This info allows our engineers to
diagnose your issue as quickly as possible. This repo is public. Anything you
share here is visible to the world. -->

<!-- ** Check for existing issues**: Before opening a new issue, please search
existing issues: https://github.com/newrelic/docs-website/issues -->

### Description

A clear and concise description of what the bug is.
Expand Down
4 changes: 0 additions & 4 deletions .github/ISSUE_TEMPLATE/site-enhancement.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ labels: enhancement, eng
assignees: ''
---

<!-- NOTE: New Relic is honoring employees with a Relic Recharge Week. This means many of us are out of the office from August 9th through August 13th. We'll take a look at your issue as soon as we're back on August 16.
Or, if your issue is urgent, you can reach out to our support team
at support.newrelic.com. -->

<!-- Please fill out each section below. This info allows our engineers to
diagnose your issue as quickly as possible. This repo is public. Anything you
share here is visible to the world. -->
Expand Down
24 changes: 24 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Set to true to add reviewers to pull requests
addReviewers: true

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- bradleycamacho
- barbnewrelic
- paperclypse
- zuluecho9
- rhetoric101
- urbiz-nr
- x8a
- mmfred
- stumblefiend
- dbarnesbrownNR

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 1

filterLabels:
# Run
include:
- from_tw
5 changes: 0 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
<!-- NOTE: New Relic is on a company-wide vacation the week of August 9 through
August 12. We'll take a look at your PR as soon as we're back on
August 16. Or, if your issue is urgent, you can reach out to our support team
at support.newrelic.com. -->

<!-- Thanks for contributing to our docs! -->

<!-- For Japanese readers:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/auto-assign-reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: 'Auto Assign'
on:
pull_request:
types: [opened, ready_for_review]

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.0
50 changes: 0 additions & 50 deletions .github/workflows/build-cache.yml

This file was deleted.

5 changes: 4 additions & 1 deletion .github/workflows/fetch-swiftype-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ jobs:
branch: 'main',
required_status_checks: {
strict: false,
contexts: ['build the docs site', 'unpaired translations removed']
contexts: [
'Gatsby Build Service - docs-website',
'unpaired translations removed'
]
},
restrictions: {
users: [],
Expand Down
25 changes: 11 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,7 @@ jobs:
run: |
echo LAST_RELEASE=$(git describe --tags --abbrev=0) >> $GITHUB_ENV
echo $LAST_RELEASE
- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install PyGithub
pip install invoke
- name: Create Updates
id: py-get-updates
run: |
python ./scripts/actions/release-notes.py
- name: Create release timestamp
run: |
echo RELEASE_TIMESTAMP=$(TZ=America/Los_Angeles date '+%m.%d.%Y-%H.%M') >> $GITHUB_ENV
Expand All @@ -50,5 +39,13 @@ jobs:
run: |
echo NEW_TAG=$(echo "release-${{ env.RELEASE_TIMESTAMP }}") >> $GITHUB_ENV
- name: Create release
run: gh release create ${{ env.NEW_TAG }} -t ${{ env.NEW_TAG }} -n "${{ env.RESULT }}"
- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install PyGithub
pip install invoke
- name: Create Updates and Release
id: py-get-updates
run: |
python ./scripts/actions/release-notes.py
8 changes: 7 additions & 1 deletion .github/workflows/update-whats-new-ids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,13 @@ jobs:
branch: 'develop',
required_status_checks: {
strict: false,
contexts: ['run linter', 'run tests', 'license/cla', 'unpaired translations removed']
contexts: [
'Gatsby Build Service - docs-website-develop',
'run linter',
'run tests',
'license/cla',
'unpaired translations removed'
]
},
restrictions: {
users: [],
Expand Down
41 changes: 1 addition & 40 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,45 +11,6 @@ env:
CHOKIDAR_USEPOLLING: 1

jobs:
build:
name: build the docs site
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 12

- name: Cache dependencies
id: yarn-cache
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}

- name: Cache Gatsby build
uses: actions/cache@v2
with:
path: |
public
.cache
key: ${{ runner.os }}-gatsby-build-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-gatsby-build-
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile

- name: Gatsby build
run: yarn build:production --log-pages
env:
GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES: true
CI: true

test:
name: run tests
runs-on: ubuntu-latest
Expand Down Expand Up @@ -128,4 +89,4 @@ jobs:
- name: check for outdated localized files
run: |
URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${{ github.event.pull_request.number }}/files"
yarn check-for-outdated-translations $URL
yarn check-for-outdated-translations $URL
9 changes: 7 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const parse = require('rehype-parse');
const fs = require('fs');
const parse = require('rehype-parse');
const path = require('path');
const unified = require('unified');
const rehypeStringify = require('rehype-stringify');
Expand Down Expand Up @@ -520,6 +520,11 @@ module.exports = {
},
},
'gatsby-plugin-meta-redirect',
'gatsby-plugin-gatsby-cloud',
{
resolve: 'gatsby-plugin-gatsby-cloud',
options: {
allPageHeaders: ['Referrer-Policy: no-referrer-when-downgrade'],
},
},
],
};
2 changes: 1 addition & 1 deletion plugins/gatsby-source-nav/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ const createNav = async ({ args, createNodeId, nodeModel, locales }) => {

// if current is link to auto index page && its path does not
// belong to nav it was first found in, find nav that matches its path
if (!fileNode.length && trueNav && trueNav !== nav) {
if (trueNav && trueNav !== nav) {
nav = trueNav;
}

Expand Down
12 changes: 8 additions & 4 deletions scripts/actions/release-notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
# Get latest merge number environment variable
lastRelease = os.getenv('LAST_RELEASE', '...')

# Get newly created tag environment variable
newTag = os.getenv('NEW_TAG', '...')

# Compare diff between previous release and develop
diff = repo.compare(lastRelease, "develop")

Expand All @@ -34,9 +37,10 @@
pass

# Encode the string to escape characters
result = json.dumps(result)
result = result.replace('"','\\"')

# Limit the characters in the notes to 25000 as per api restrictions
result = result[0:24999]

# Set result as an Env for use in Workflow
run('echo "RESULT<<EOF" >> $GITHUB_ENV')
run('echo "%s" >> $GITHUB_ENV' % result)
run('echo "EOF" >> $GITHUB_ENV')
run('gh release create {newTag} -t {newTag} -n "{result}"'.format(newTag=newTag,result=result))
21 changes: 21 additions & 0 deletions src/components/NetworkPerformanceMonitoringBannerGA.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react';
import { css } from '@emotion/react';
import fsBanner from '../images/NPM_banner.png';

const NetworkPerformanceMonitoringBannerGA = () => {
return (
<section>
<a href="/docs/network-performance-monitoring/get-started/npm-introduction">
<img
css={css`
width: 100%;
`}
src={fsBanner}
alt="Get started with Network performance monitoring."
/>
</a>
</section>
);
};

export default NetworkPerformanceMonitoringBannerGA;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Create your New Relic account
title: Create a New Relic account
tags:
- Accounts
- Accounts and billing
Expand All @@ -17,11 +17,13 @@ redirects:
- /docs/accounts/install-new-relic/account-setup/create-your-new-relic-account
---

To create a New Relic account, go to [newrelic.com/signup](https://newrelic.com/signup). Creating a New Relic account gives you free access to our entire [observability platform](https://newrelic.com/platform).
To create a new New Relic organization, go to [newrelic.com/signup](https://newrelic.com/signup). A New Relic organization gives you free access to our entire [observability platform](https://newrelic.com/platform).

## Sign up for a New Relic account [#confirmation]
If you want to add accounts to an existing organization, see [Organization structure](/docs/accounts/accounts-billing/account-structure/new-relic-account-structure).

A New Relic account is free forever. Sign up in a few minutes at [newrelic.com/signup](http://newrelic.com/signup). Or, if you have a specific offer from a [New Relic partner](/docs/accounts-partnerships/partnerships/partner-based-installation/log-install-new-relic-partners), use the link they've sent you.
## Sign up [#sign-up]

When you sign up for a New Relic organization, you have access to New Relic for free and forever. Sign up in a few minutes at [newrelic.com/signup](http://newrelic.com/signup). Or, if you have a specific offer from a [New Relic partner](/docs/accounts-partnerships/partnerships/partner-based-installation/log-install-new-relic-partners), use the link they've sent you.

Next steps after signing up:

Expand All @@ -35,4 +37,4 @@ If you're having login or password problems, see [Login troubleshooting](/docs/a

## Delete an accidental sign-up [#delete]

If you've unintentionally signed up for New Relic and want to delete your entire account, see [Delete organization](/docs/accounts/accounts-billing/account-setup/downgradecancel-account/#cancel-simple-org).
If you've unintentionally signed up and need to delete that organization, see [Delete organization](/docs/accounts/accounts-billing/account-setup/downgradecancel-account/#cancel-simple-org).
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ redirects:
- /docs/accounts-partnerships/accounts/account-setup/account-id
- /docs/accounts-partnerships/install-new-relic/account-setup/account-id
- /docs/accounts/install-new-relic/account-setup/account-id
- /docs/accounts/accounts-billing/account-setup/account-id
---

Some New Relic procedures require use of your account ID (for example, some API calls). Your account ID is the ID number we assign to your New Relic account. Note that some New Relic organizations will contain multiple accounts.
Some New Relic procedures require use of your account ID (for example, some API calls). Your account ID is the ID number we assign to a New Relic account. Note that some New Relic organizations contain multiple accounts.

Options for finding your account ID:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ There are several factors that can affect your access to a New Relic feature, or
User-related settings can impact what features or data you have access to. Potential impacts include:

* Your [user type](/docs/accounts/accounts-billing/new-relic-one-user-management/new-relic-one-user-model-understand-user-structure/#user-type) (basic user or full user).
* Your assigned roles. How your user roles and permissions work depends on which [user model](/docs/accounts/original-accounts-billing/original-product-based-pricing/overview-changes-pricing-user-model/#user-models) you're on.
* Your assigned roles. How your user roles and permissions work depends on which [user model](/docs/accounts/original-accounts-billing/original-product-based-pricing/overview-changes-pricing-user-model/#user-models) you're on:
* [Original user model roles](/docs/accounts/original-accounts-billing/original-users-roles/users-roles-original-user-model/#roles)
* [New Relic One user model roles](/docs/accounts/accounts-billing/new-relic-one-user-management/new-relic-one-user-model-understand-user-structure/#roles)

If you think your permissions are preventing you from accessing something, talk to your New Relic administrators.

## Account access [#account-access]

Expand Down

0 comments on commit 95fd8ae

Please sign in to comment.