diff --git a/code-quality/ci-setup/general.md b/code-quality/ci-setup/general.md index ee571dc..0882252 100644 --- a/code-quality/ci-setup/general.md +++ b/code-quality/ci-setup/general.md @@ -91,7 +91,7 @@ You can also explicitly set the upstream branch if needed via `--upstream`, but ### Uploading Results From Hourly/Nightly Builds -Trunk Code Quality has the ability to post its results to [app.trunk.io](https://app.trunk.io/?intent=code+quality). This will enable you to view your repository's Code Quality history over time so you can track the trend of issues in your code, as well as browse the issues in your repository to help you understand which issues should be prioritized to fix. +Trunk Code Quality has the ability to post its results to [app.trunk.io](https://app.trunk.io/login/?intent=code+quality). This will enable you to view your repository's Code Quality history over time so you can track the trend of issues in your code, as well as browse the issues in your repository to help you understand which issues should be prioritized to fix. In order to keep the data up-to-date, you should upload Trunk Code Quality results regularly in an automated fashion. Depending on the size of your repository and the linters you have configured to run, running Trunk Code Quality on your whole repository may take a while. Because this run may take a while, we recommend uploading Trunk Code Quality results once daily. However, the system supports uploading results for every commit, so the granularity of upload is up to you. diff --git a/code-quality/overview/how-does-it-work.md b/code-quality/overview/how-does-it-work.md index 90b9e04..6aab3aa 100644 --- a/code-quality/overview/how-does-it-work.md +++ b/code-quality/overview/how-does-it-work.md @@ -58,6 +58,6 @@ Trunk works in CI. Trunk Code Quality provides [GitHub integration](../ci-setup/ ### Nightly reports -Trunk Code Quality allows you to [upload results](../ci-setup/manual-setup.md#other-providers) to the [Trunk Web App](https://app.trunk.io/?intent=code+quality), which provides a dashboard for you to view your current code base issues and track code base health over time. +Trunk Code Quality allows you to [upload results](../ci-setup/manual-setup.md#other-providers) to the [Trunk Web App](https://app.trunk.io/login/?intent=code+quality), which provides a dashboard for you to view your current code base issues and track code base health over time. [Learn more about nightly reporting.](how-does-it-work.md#nightly-reports) diff --git a/code-quality/security.md b/code-quality/security.md index 58f6f87..6c4f8d2 100644 --- a/code-quality/security.md +++ b/code-quality/security.md @@ -19,7 +19,7 @@ Whether invoked directly by developers on their local machines, triggered automa The Trunk VS Code extension has the same privacy properties as the Trunk CLI. Under the hood, all code-checking by the VS Code extension is completed via the Trunk CLI, which drives the VS Code extension. -### Web App ([app.trunk.io](https://app.trunk.io/?intent=code+quality)) +### Web App ([app.trunk.io](https://app.trunk.io/login/?intent=code+quality)) The Trunk Code Quality web app is powered via running nightly scans in your repo’s own CI system which uploads results to the Trunk backend. This feature is optional, but it enables you to audit the issues in your repo and prioritize fixes. Here's how it works: diff --git a/flaky-tests/get-started/README.md b/flaky-tests/get-started/README.md index d1b00f2..d1c6d50 100644 --- a/flaky-tests/get-started/README.md +++ b/flaky-tests/get-started/README.md @@ -4,7 +4,7 @@ Trunk Flaky Tests works by changing all of your CI jobs that run tests to upload their test results to Trunk. This setup looks slightly different depending on which CI system and test framework(s) you use, but we have guides for all the popular systems. -### 1. Sign up for [app.trunk.io](https://app.trunk.io/?intent=flaky+tests) +### 1. Sign up for [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests) You must create an account and Trunk organization to complete the steps below. @@ -24,7 +24,7 @@ Once you've merged changes to your CI test jobs, make sure you've run at least 1 ### 4. Confirm your configuration, analyze your dashboard -In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), select the repo you're working in, and navigate to `Flaky Tests` -> `Uploads`. Confirm that you see the upload(s) from the previous step. +In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), select the repo you're working in, and navigate to `Flaky Tests` -> `Uploads`. Confirm that you see the upload(s) from the previous step. Trunk needs to ingest a large amount of test data from a variety of pull request branches and protected branches (like `main` or `master`) before it can start accurately detecting flaky tests. This may happen quickly if you have a very high-velocity repo and run test jobs hundreds of times a day. diff --git a/flaky-tests/get-started/ci-providers/buildkite.md b/flaky-tests/get-started/ci-providers/buildkite.md index 44d6629..eddc974 100644 --- a/flaky-tests/get-started/ci-providers/buildkite.md +++ b/flaky-tests/get-started/ci-providers/buildkite.md @@ -12,7 +12,7 @@ Before you start on these steps, see the [Test Frameworks](../frameworks/) docs ### 1. Store a TRUNK\_TOKEN secret in your CI system -In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage Organization` -> `Organization API Token`** @@ -21,7 +21,7 @@ Store your API Token in a [Buildkite CI secret](https://buildkite.com/docs/pipel ### 2. Grab your Organization Slug -To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage` -> `Organization` -> `Organization Slug`** diff --git a/flaky-tests/get-started/ci-providers/circleci.md b/flaky-tests/get-started/ci-providers/circleci.md index 6544af3..f7bbade 100644 --- a/flaky-tests/get-started/ci-providers/circleci.md +++ b/flaky-tests/get-started/ci-providers/circleci.md @@ -12,7 +12,7 @@ Before you start on these steps, see the [Test Frameworks](../frameworks/) docs ### 1. Store a TRUNK\_TOKEN secret in your CI system -In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage Organization` -> `Organization API Token`** @@ -20,7 +20,7 @@ Store your API Token in your CircleCI project settings under **Environment Vari ### 2. Grab your Organization Slug -To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage` -> `Organization` -> `Organization Slug`** diff --git a/flaky-tests/get-started/ci-providers/droneci.md b/flaky-tests/get-started/ci-providers/droneci.md index d0c9d79..e0d1ae0 100644 --- a/flaky-tests/get-started/ci-providers/droneci.md +++ b/flaky-tests/get-started/ci-providers/droneci.md @@ -12,7 +12,7 @@ Before you start on these steps, see the [Test Frameworks](../frameworks/) docs ### 1. Store a TRUNK\_TOKEN secret in your CI system -In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage Organization` -> `Organization API Token`** @@ -20,7 +20,7 @@ Store your API Token in your Drone CI project settings as a new variable named ` ### 2. Grab your Organization Slug -To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage` -> `Organization` -> `Organization Slug`** diff --git a/flaky-tests/get-started/ci-providers/github-actions.md b/flaky-tests/get-started/ci-providers/github-actions.md index 57dc877..11ead56 100644 --- a/flaky-tests/get-started/ci-providers/github-actions.md +++ b/flaky-tests/get-started/ci-providers/github-actions.md @@ -12,7 +12,7 @@ Before you start on these steps, see the [Test Frameworks](../frameworks/) docs ### 1. Store a TRUNK\_TOKEN secret in your CI system -In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage Organization` -> `Organization API Token`** @@ -20,7 +20,7 @@ Store your API Token in a [GitHub secret](https://docs.github.com/en/actions/sec ### 2. Grab your Organization Slug -To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage` -> `Organization` -> `Organization Slug`** diff --git a/flaky-tests/get-started/ci-providers/gitlab.md b/flaky-tests/get-started/ci-providers/gitlab.md index 09d6e34..74d7750 100644 --- a/flaky-tests/get-started/ci-providers/gitlab.md +++ b/flaky-tests/get-started/ci-providers/gitlab.md @@ -12,7 +12,7 @@ Before you start on these steps, see the [Test Frameworks](../frameworks/) docs ### 1. Store a TRUNK\_TOKEN secret in your CI system -In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage Organization` -> `Organization API Token`** @@ -20,7 +20,7 @@ Store your API Token in a [GitLab Variable](https://docs.gitlab.com/ee/ci/variab ### 2. Grab your Organization Slug -To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage` -> `Organization` -> `Organization Slug`** diff --git a/flaky-tests/get-started/ci-providers/jenkins.md b/flaky-tests/get-started/ci-providers/jenkins.md index 1b3a1a4..879e8ea 100644 --- a/flaky-tests/get-started/ci-providers/jenkins.md +++ b/flaky-tests/get-started/ci-providers/jenkins.md @@ -12,7 +12,7 @@ Before you start on these steps, see the [Test Frameworks](../frameworks/) docs ### 1. Store a TRUNK\_TOKEN credential in your CI system -In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage Organization` -> `Organization API Token`** @@ -20,7 +20,7 @@ From your Jenkins dashboard, store your API Token in a credential named `TRUNK_T ### 2. Grab your Organization Slug -To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage` -> `Organization` -> `Organization Slug`** diff --git a/flaky-tests/get-started/ci-providers/otherci.md b/flaky-tests/get-started/ci-providers/otherci.md index 1f57a02..01a2e15 100644 --- a/flaky-tests/get-started/ci-providers/otherci.md +++ b/flaky-tests/get-started/ci-providers/otherci.md @@ -12,7 +12,7 @@ Before you start on these steps, see the [Test Frameworks](../frameworks/) docs ### 1. Store a TRUNK\_TOKEN secret in your CI system -In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage Organization` -> `Organization API Token`** @@ -20,7 +20,7 @@ Store your API Token as a secret named `TRUNK_TOKEN` in your CI system's secrets ### 2. Grab your Organization Slug -To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage` -> `Organization` -> `Organization Slug`** diff --git a/flaky-tests/get-started/ci-providers/semaphoreci.md b/flaky-tests/get-started/ci-providers/semaphoreci.md index 79a4bb7..373e696 100644 --- a/flaky-tests/get-started/ci-providers/semaphoreci.md +++ b/flaky-tests/get-started/ci-providers/semaphoreci.md @@ -12,7 +12,7 @@ Before you start on these steps, see the [Test Frameworks](../frameworks/) docs ### 1. Store a TRUNK\_TOKEN secret in your CI system -In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage Organization` -> `Organization API Token`** @@ -20,7 +20,7 @@ From your Semaphore dashboard, store your API Token in a secret named `TRUNK_TOK ### 2. Grab your Organization Slug -To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage` -> `Organization` -> `Organization Slug`** diff --git a/flaky-tests/get-started/ci-providers/travisci.md b/flaky-tests/get-started/ci-providers/travisci.md index 8b7b6c5..fe0a266 100644 --- a/flaky-tests/get-started/ci-providers/travisci.md +++ b/flaky-tests/get-started/ci-providers/travisci.md @@ -12,7 +12,7 @@ Before you start on these steps, see the [Test Frameworks](../frameworks/) docs ### 1. Store a TRUNK\_TOKEN secret in your CI system -In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage Organization` -> `Organization API Token`** @@ -20,7 +20,7 @@ Store your API Token a secret named `TRUNK_TOKEN` in your Travis CI project sett ### 2. Grab your Organization Slug -To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/?intent=flaky+tests), navigate to: +To upload test results to Trunk, you'll need to pass a Trunk Org Slug to the upload command. To get your organization slug, In [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests), navigate to: **`Settings` -> `Manage` -> `Organization` -> `Organization Slug`** diff --git a/flaky-tests/github-pull-request-comments.md b/flaky-tests/github-pull-request-comments.md index 39ff3bc..2fe7774 100644 --- a/flaky-tests/github-pull-request-comments.md +++ b/flaky-tests/github-pull-request-comments.md @@ -38,7 +38,7 @@ It's recommended that the Trunk GitHub App be used to manage GitHub comments. If 8. If everything looks good, scroll down to double check that your Overview for permissions looks something like the image below. If so, create the token.
-9. Once the token is generated, go back to the Trunk App ([app.trunk.io](https://app.trunk.io/?intent=flaky+tests) ) > click on your profile > **Settings** > **Manage** (under _Organization_) > **Organization GitHub Token** and enter the copied token into the text field, then finally press **Submit**. +9. Once the token is generated, go back to the Trunk App ([app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests) ) > click on your profile > **Settings** > **Manage** (under _Organization_) > **Organization GitHub Token** and enter the copied token into the text field, then finally press **Submit**. You should see comments posted by your service account on your next PR. diff --git a/flaky-tests/readme.md b/flaky-tests/readme.md index 0efeff5..7a45b05 100644 --- a/flaky-tests/readme.md +++ b/flaky-tests/readme.md @@ -68,4 +68,4 @@ To learn more, [learn about our ticketing integrations](jira-integration.md). ### **Join Trunk Flaky Tests** -Start finding flaky tests today by [signing up for Trunk](https://app.trunk.io/?intent=flaky+tests) or reading our [Getting Started guides](get-started/). +Start finding flaky tests today by [signing up for Trunk](https://app.trunk.io/login/?intent=flaky+tests) or reading our [Getting Started guides](get-started/). diff --git a/flaky-tests/uploader.md b/flaky-tests/uploader.md index 6f24392..3a2f674 100644 --- a/flaky-tests/uploader.md +++ b/flaky-tests/uploader.md @@ -66,7 +66,7 @@ The `trunk` binary should be run from the repository root. If you need to run th ### Organization not found -If you receive an error that the org slug or API token is not found, double check that the secrets stored in your CI provider are the same as the Organization settings by navigating to **Settings** -> **Manage** -> **Organization** on [app.trunk.io](https://app.trunk.io/?intent=flaky+tests). +If you receive an error that the org slug or API token is not found, double check that the secrets stored in your CI provider are the same as the Organization settings by navigating to **Settings** -> **Manage** -> **Organization** on [app.trunk.io](https://app.trunk.io/login/?intent=flaky+tests). Make sure you are getting your _Organization Slug_, not the Organization Name.