-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into stat2
Sync past mobile_docs CI failure. Signed-off-by: Raven Black <ravenblack@dropbox.com>
- Loading branch information
Showing
36 changed files
with
549 additions
and
449 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,32 +1,8 @@ | ||
version: 2.1 | ||
|
||
executors: | ||
ubuntu-build: | ||
description: "A regular build executor based on ubuntu image" | ||
docker: | ||
- image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446 | ||
# TODO(mattklein123): Get xlarge class enabled | ||
resource_class: medium | ||
working_directory: /source | ||
|
||
jobs: | ||
docs: | ||
executor: ubuntu-build | ||
build: | ||
docker: | ||
- image: debian:bullseye-slim | ||
steps: | ||
- checkout | ||
- run: mobile/docs/build.sh | ||
- add_ssh_keys: | ||
fingerprints: | ||
- "33:78:4d:5c:bd:62:2e:43:9d:79:2c:3e:dc:45:c0:98" | ||
- run: mobile/docs/publish.sh | ||
- store_artifacts: | ||
path: generated/docs | ||
|
||
workflows: | ||
version: 2 | ||
all: | ||
jobs: | ||
- docs: | ||
filters: | ||
tags: | ||
only: /^v.*/ | ||
- run: echo "no circle on this branch" |
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,32 @@ | ||
name: mobile_docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 20 | ||
container: | ||
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Add safe directory | ||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- name: Generate docs | ||
run: mobile/docs/build.sh | ||
- name: Set up deploy key | ||
if: github.event.pull_request.head.repo.full_name == github.repository | ||
uses: shimataro/ssh-key-action@193316a178ec055fcc7b018f7f76bbf64085c628 | ||
with: | ||
key: ${{ secrets.ENVOY_MOBILE_WEBSITE_DEPLOY_KEY }} | ||
known_hosts: unnecessary | ||
- name: Publish docs | ||
run: mobile/docs/publish.sh | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: docs | ||
path: generated/docs |
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
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
Oops, something went wrong.