-
Notifications
You must be signed in to change notification settings - Fork 105
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 dn-unstabilize-hold-bound
- Loading branch information
Showing
34 changed files
with
714 additions
and
289 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,4 +1,4 @@ | ||
name: CD | ||
name: Vara CD | ||
|
||
on: | ||
workflow_dispatch: | ||
|
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,53 @@ | ||
name: Vara-deploy-only | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: docker | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Info | ||
run: | | ||
ls -l . | ||
ls -l ../.. | ||
pwd | ||
- name: Send telegram notify before run playbook | ||
uses: appleboy/telegram-action@master | ||
with: | ||
to: ${{ secrets.TELEGRAM_CHANNEL_ID }} | ||
token: ${{ secrets.TELEGRAM_BOT_TOKEN }} | ||
message: | | ||
Attention! Instances will be temporarily unavailable! | ||
${{ github.actor }} run build with commit: "${{ github.event.commits[0].message }}" | ||
Build number: ${{ github.run_number }} | ||
- name: Run playbook | ||
uses: dawidd6/action-ansible-playbook@v2 | ||
with: | ||
# Required, playbook filepath | ||
directory: ./ansible/ | ||
playbook: vara.yaml | ||
# Optional, SSH private key | ||
key: ${{secrets.SSH_PRIVATE_KEY}} | ||
# Optional, literal inventory file contents | ||
inventory: | | ||
[gearNodes:children] | ||
bootnode | ||
nodes | ||
[bootnode] | ||
${{secrets.VARA_NODE}} name=vara-gear01 loki=yes loki_url=${{secrets.LOKI_URL}} | ||
[nodes] | ||
${{secrets.VARA_NODE_2}} name=vara-gear02 validator=yes loki=yes loki_url=${{secrets.LOKI_URL}} | ||
${{secrets.VARA_NODE_3}} name=vara-rpc-node rpc=yes unsafe=yes loki=yes loki_url=${{secrets.LOKI_URL}} | ||
${{secrets.VARA_NODE_4}} name=vara-gear04 validator=yes loki=yes loki_url=${{secrets.LOKI_URL}} | ||
${{secrets.VARA_NODE_5}} name=vara-gear05 validator=yes loki=yes loki_url=${{secrets.LOKI_URL}} | ||
${{secrets.VARA_NODE_6}} name=vara-gear06 validator=yes loki=yes loki_url=${{secrets.LOKI_URL}} | ||
${{secrets.VARA_NODE_7}} name=vara-gear07 validator=yes loki=yes loki_url=${{secrets.LOKI_URL}} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[package] | ||
name = "gear-lazy-pages-common" | ||
version = "0.1.0" | ||
authors = ["Gear Technologies"] | ||
edition = "2018" | ||
license = "GPL-3.0" | ||
|
||
[dependencies] | ||
derive_more = "0.99.17" | ||
log = { version = "0.4.17", default-features = false } | ||
|
||
gear-core = { path = "../../core", default-features = false } | ||
gear-common = { path = "..", default-features = false } | ||
gear-runtime-interface = { path = "../../runtime-interface", default-features = false } | ||
|
||
sp-std = { version = "4.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-stable", default-features = false } | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"gear-common/std", | ||
"gear-runtime-interface/std", | ||
"sp-std/std", | ||
"log/std", | ||
] |
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.