-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8fbf9c9
Showing
15 changed files
with
3,243 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: check | ||
on: | ||
pull_request: | ||
branches: [main] | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
check: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, macos-14] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: cachix/cachix-action@v12 | ||
with: | ||
name: cspr | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
|
||
- name: System Info | ||
run: | | ||
uname -a | ||
nix --version | ||
- name: format | ||
if: matrix.os == 'ubuntu-latest' | ||
run: nix build -L --no-link --show-trace .#checks.x86_64-linux.format | ||
|
||
- name: cctl-rs (x86_64-linux) | ||
if: matrix.os == 'ubuntu-latest' | ||
run: nix build -L --no-link --show-trace .#packages.x86_64-linux.cctl-rs | ||
|
||
- name: cctl-rs (x86_64-darwin) | ||
if: matrix.os == 'macos-latest' | ||
run: nix build -L --no-link --show-trace .#packages.x86_64-darwin.cctl-rs | ||
|
||
- name: cctl-rs aarch64-darwin | ||
if: matrix.os == 'macos-14' | ||
run: nix build -L --no-link --show-trace .#packages.aarch64-darwin.cctl-rs |
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,11 @@ | ||
name: pre-check | ||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
check-signed-commits: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: check signed commits | ||
uses: 1Password/check-signed-commits-action@v1 |
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,2 @@ | ||
target | ||
result |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Casper Association | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,38 @@ | ||
cctl | ||
=============== | ||
|
||
Bash application to work with a **local** casper-node network. Stripped down sucessor to nctl. | ||
|
||
What is cctl ? | ||
-------------------------------------- | ||
|
||
cctl is a bash utility that allows a developer to work with a local casper-node network. | ||
|
||
Why cctl ? | ||
-------------------------------------- | ||
|
||
Developers & community users need to spin up small local throwaway networks. | ||
|
||
Who uses cctl ? | ||
-------------------------------------- | ||
|
||
CSPR network community. This encompasses developers, validators, evaluators ... etc. | ||
|
||
Setup | ||
-------------------------------------- | ||
|
||
See [here](docs/setup.md) for setup details. | ||
|
||
Usage | ||
-------------------------------------- | ||
|
||
See [here](docs/usage.md) for usage details. | ||
|
||
Installation | ||
-------------------------------------- | ||
|
||
To install upon a virtual machine execute the one step install script. | ||
|
||
``` | ||
curl https://github.com/casper-network/cctl/blob/main/installer | bash | ||
``` |
Oops, something went wrong.