Skip to content

Commit 2b94d44

Browse files
authored
Merge branch 'main' into vec4/allora-cdk
2 parents c3f8e36 + eec97d7 commit 2b94d44

File tree

166 files changed

+11375
-4338
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+11375
-4338
lines changed

.github/workflows/website-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v2
2020
- uses: actions/setup-node@v3
2121
with:
22-
node-version: 18
22+
node-version: 19
2323
cache: npm
2424
cache-dependency-path: website/package-lock.json
2525
- name: Install dependencies

.github/workflows/website-test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- uses: actions/setup-node@v3
1919
with:
20-
node-version: 18
20+
node-version: 19
2121
cache: npm
2222
cache-dependency-path: website/package-lock.json
2323

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ repos:
1111
- id: detect-aws-credentials
1212
args: ['--allow-missing-credentials']
1313
- id: forbid-submodules
14+
- repo: https://github.com/iamthefij/docker-pre-commit
15+
rev: master
16+
hooks:
17+
- id: docker-compose-check

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# AWS Blockchain Node Runners
22

3-
This repository contains sample [AWS Cloud Development Kit (CDK)](https://aws.amazon.com/cdk/) applications (Node Runner Blueprints) to deploy on AWS self-service blockchain nodes for various protocols. For more information see [Introducing AWS Blockchain Node Runners](https://aws-samples.github.io/aws-blockchain-node-runners/docs/intro).
3+
This repository contains sample [AWS Cloud Development Kit (CDK)](https://aws.amazon.com/cdk/) applications (Node Runner Blueprints) to deploy on AWS self-service blockchain nodes for various protocols. For more information, see [Introducing AWS Blockchain Node Runners](https://aws-samples.github.io/aws-blockchain-node-runners/docs/intro).
44

55
### Documentation
6-
For deployment instructions see [AWS Blockchain Node Runners Blueprints](https://aws-samples.github.io/aws-blockchain-node-runners/docs/Blueprints/intro)
6+
For deployment instructions, see [AWS Blockchain Node Runners Blueprints](https://aws-samples.github.io/aws-blockchain-node-runners/docs/Blueprints/intro).
77

88
### Adding blueprints for new nodes
99

10-
If you'd like propose a Node Runner Blueprint for your node see [Adding new Node Runner Blueprints](./docs/adding-new-nodes.md)
10+
If you'd like propose a Node Runner Blueprint for your node, see [Adding new Node Runner Blueprints](./docs/adding-new-nodes.md).
1111

1212
### Directory structure
1313

@@ -19,7 +19,7 @@ If you'd like propose a Node Runner Blueprint for your node see [Adding new Node
1919
- `website/docs` - Place for the new blueprint deployment instructions. (If you are adding a new blueprint, use on of the existing examples to refer to the `README.md` file within your Node Runner Blueprint directory inside `lib`).
2020

2121
### License
22-
This repository uses MIT License. See more in [LICENSE](./LICENSE)
22+
This repository uses MIT License. See more in [LICENSE](./LICENSE).
2323

2424
### Contributing
2525
See [CONTRIBUTING](./CONTRIBUTING.md) for more information.

docs/setup-cloud9.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# AWS CloudShell
2+
3+
To begin, ensure you login to your AWS account with permissions to create and modify resources in IAM, EC2, EBS, VPC, S3, KMS, and Secrets Manager.
4+
5+
From the AWS Management Console, open the [AWS CloudShell](https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html), a web-based shell environment. If unfamiliar, review the [2-minute YouTube video](https://youtu.be/fz4rbjRaiQM) for an overview and check out [CloudShell with VPC environment](https://docs.aws.amazon.com/cloudshell/latest/userguide/creating-vpc-environment.html) that we'll use to test nodes API from internal IP address space.
6+
7+
Once ready, you can execute the commands to deploy and test blueprints in the CloudShell.
8+
9+
***
10+
# AWS Cloud 9 IS NO LONGER USED (the instructions below will be removed soon, use AWS CloudShell instead)
11+
***
112
# AWS Cloud9 Setup
213

314
Most steps in this repository will need to be performed from a Linux command prompt. An especially convenient way of doing this is to use AWS Cloud9, a cloud-based Integrated Development Environment (IDE). Cloud9 allows you to edit source files and execute commands from an easy-to-use web interface. It comes pre-configured with many of the tools needed for software development, and because it runs in the AWS Cloud, it can be an especially easy way to access other cloud services. One other handy feature is that your Cloud9 instances automatically stop running after a configurable period of inactivity, which helps reduce costs.
@@ -16,18 +27,18 @@ Create an instance profile called **Cloud9-Developer-Access**
1627

1728
```bash
1829
cat > ec2-trust-policy.json <<EOF
19-
{
20-
"Version": "2012-10-17",
21-
"Statement": [
22-
{
23-
"Effect": "Allow",
24-
"Principal": {
25-
"Service": "ec2.amazonaws.com"
26-
},
27-
"Action": "sts:AssumeRole"
28-
}
29-
]
30-
}
30+
{
31+
"Version": "2012-10-17",
32+
"Statement": [
33+
{
34+
"Effect": "Allow",
35+
"Principal": {
36+
"Service": "ec2.amazonaws.com"
37+
},
38+
"Action": "sts:AssumeRole"
39+
}
40+
]
41+
}
3142
EOF
3243
```
3344

lib/base/.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
*.js
2+
!jest.config.js
3+
*.d.ts
4+
node_modules
5+
6+
# CDK asset staging directory
7+
.cdk.staging
8+
cdk.out
9+
.idea
10+
11+
*-node.json

lib/base/.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*.ts
2+
!*.d.ts
3+
4+
# CDK asset staging directory
5+
.cdk.staging
6+
cdk.out

0 commit comments

Comments
 (0)