-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into edwarddowling/path-style
- Loading branch information
Showing
3,206 changed files
with
118,932 additions
and
50,351 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Docs Preview | ||
on: | ||
pull_request: | ||
paths: | ||
- 'docs/**' | ||
- .github/workflows/docs-amplify.yaml | ||
workflow_dispatch: | ||
|
||
permissions: | ||
pull-requests: write | ||
id-token: write | ||
|
||
jobs: | ||
amplify-preview: | ||
name: Prepare Amplify preview URL | ||
runs-on: ubuntu-22.04-2core-arm64 | ||
environment: docs-amplify | ||
steps: | ||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4 | ||
with: | ||
aws-region: us-west-2 | ||
role-to-assume: ${{ vars.IAM_ROLE }} | ||
|
||
- name: Create Amplify preview environment | ||
uses: gravitational/shared-workflows/tools/amplify-preview@tools/amplify-preview/v0.0.1 | ||
continue-on-error: true | ||
with: | ||
app_ids: ${{ vars.AMPLIFY_APP_IDS }} | ||
create_branches: "true" | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
wait: "true" | ||
|
||
- name: Print failure message | ||
if: failure() | ||
env: | ||
ERR_TITLE: Teleport Docs preview build failed | ||
ERR_MESSAGE: >- | ||
Please refer to the following documentation for help: https://www.notion.so/goteleport/How-to-Amplify-deployments-162fdd3830be8096ba72efa1a49ee7bc?pvs=4 | ||
run: | | ||
echo ::error title=$ERR_TITLE::$ERR_MESSAGE | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,8 +94,8 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub" | ||
# get Go version from go.mod | ||
GO_VERSION=$(go mod edit -json | jq -r .Go) | ||
# get Go version from go.mod (preferring the toolchain directive if it's present) | ||
GO_VERSION=$(go mod edit -json | jq -r 'if has("Toolchain") then .Toolchain | sub("go"; "") else .Go end') | ||
# update versions in docs/config.json | ||
# for docker images replace version number after <docker image name>: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.