-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into update-task-client-logging
- Loading branch information
Showing
752 changed files
with
13,660 additions
and
3,868 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
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 |
---|---|---|
|
@@ -2,15 +2,14 @@ name: cd-docs | |
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- 'documentation/docs/**' | ||
|
||
jobs: | ||
build: | ||
runs-on: custom-linux | ||
runs-on: ubuntu-20.04-16-core | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Dependencies (Linux) | ||
run: sudo apt-get update && sudo apt-get install -y build-essential curl wget libssl-dev libudev-dev squashfs-tools protobuf-compiler | ||
- name: Install rsync | ||
run: sudo apt-get install rsync | ||
- uses: rlespinasse/[email protected] | ||
|
@@ -26,14 +25,11 @@ jobs: | |
with: | ||
command: build | ||
args: --workspace --release | ||
- name: Install mdbook | ||
run: (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.4.33" mdbook) | ||
- name: Install mdbook plugins | ||
run: | | ||
cargo install --vers "=0.2.2" mdbook-variables && cargo install \ | ||
--vers "^1.8.0" mdbook-admonish && cargo install --vers \ | ||
"^0.1.2" mdbook-last-changed && cargo install --vers "^0.1.2" mdbook-theme \ | ||
&& cargo install --vers "^0.7.7" mdbook-linkcheck | ||
- name: Install mdbook and plugins | ||
run: cd documentation && ./install_mdbook_deps.sh | ||
- name: Remove existing Nym config directory (`~/.nym/`) | ||
run: cd documentation && ./remove_existing_config.sh | ||
continue-on-error: false | ||
- name: Build all projects in documentation/ & move to ~/dist/docs/ | ||
run: cd documentation && ./build_all_to_dist.sh | ||
continue-on-error: false | ||
|
@@ -52,6 +48,7 @@ jobs: | |
|
||
- name: Install Vercel CLI | ||
run: npm install --global vercel@latest | ||
continue-on-error: false | ||
|
||
- name: Pull Vercel Environment Information (preview) | ||
if: github.ref != 'refs/heads/master' | ||
|
@@ -61,15 +58,18 @@ jobs: | |
if: github.ref == 'refs/heads/master' | ||
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | ||
working-directory: dist/docs | ||
continue-on-error: false | ||
|
||
- name: Build Project Artifacts (preview) | ||
if: github.ref != 'refs/heads/master' | ||
run: vercel build --token=${{ secrets.VERCEL_TOKEN }} | ||
working-directory: dist/docs | ||
continue-on-error: false | ||
- name: Build Project Artifacts (production) | ||
if: github.ref == 'refs/heads/master' | ||
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} | ||
working-directory: dist/docs | ||
continue-on-error: false | ||
|
||
- name: Deploy Project Artifacts to Vercel (preview) | ||
if: github.ref != 'refs/heads/master' | ||
|
@@ -79,6 +79,7 @@ jobs: | |
if: github.ref == 'refs/heads/master' | ||
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} | ||
working-directory: dist/docs | ||
continue-on-error: false | ||
|
||
- name: Matrix - Node Install | ||
run: npm install | ||
|
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 |
---|---|---|
|
@@ -9,9 +9,11 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: custom-linux | ||
runs-on: ubuntu-20.04-16-core | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Dependencies (Linux) | ||
run: sudo apt-get update && sudo apt-get install -y build-essential curl wget libssl-dev libudev-dev squashfs-tools protobuf-compiler | ||
- name: Install rsync | ||
run: sudo apt-get install rsync | ||
- uses: rlespinasse/[email protected] | ||
|
@@ -27,22 +29,15 @@ jobs: | |
with: | ||
command: build | ||
args: --workspace --release | ||
- name: Install mdbook | ||
run: (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.4.35" mdbook) | ||
- name: Install mdbook plugins | ||
run: | | ||
cargo install --vers "=0.2.2" mdbook-variables && cargo install \ | ||
--vers "^1.8.0" mdbook-admonish --force && cargo install --vers \ | ||
"^0.1.2" mdbook-last-changed && cargo install --vers "^0.1.2" mdbook-theme \ | ||
&& cargo install --vers "^0.7.7" mdbook-linkcheck \ | ||
# && cd documentation \ | ||
# && mdbook-admonish install dev-portal \ | ||
# && mdbook-admonish install docs \ | ||
# && mdbook-admonish install operators | ||
- name: Install mdbook and plugins | ||
run: cd documentation && ./install_mdbook_deps.sh | ||
- name: Remove existing Nym config directory (`~/.nym/`) | ||
run: cd documentation && ./remove_existing_config.sh | ||
continue-on-error: false | ||
- name: Build all projects in documentation/ & move to ~/dist/docs/ | ||
run: cd documentation && ./build_all_to_dist.sh | ||
run: cd documentation && ./build_all_to_dist.sh | ||
continue-on-error: false | ||
|
||
- name: Deploy branch to CI www | ||
continue-on-error: true | ||
uses: easingthemes/ssh-deploy@main | ||
|
@@ -54,6 +49,7 @@ jobs: | |
REMOTE_USER: ${{ secrets.CI_WWW_REMOTE_USER }} | ||
TARGET: ${{ secrets.CI_WWW_REMOTE_TARGET }}/docs-${{ env.GITHUB_REF_SLUG }} | ||
EXCLUDE: "/node_modules/" | ||
|
||
- name: Matrix - Node Install | ||
run: npm install | ||
working-directory: .github/workflows/support-files | ||
|
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,43 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: Deploy static content to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["feature/ppa-repo"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
# Upload entire repository | ||
path: './ppa' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
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 |
---|---|---|
|
@@ -45,4 +45,6 @@ envs/qwerty.env | |
cpu-cycles/libcpucycles/build | ||
foxyfox.env | ||
|
||
.next | ||
.next | ||
ppa-private-key.b64 | ||
ppa-private-key.asc |
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.