Skip to content

Commit

Permalink
push env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Apr 16, 2021
1 parent 29eaf82 commit 5000e36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 25 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ jobs:
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
PRIVATE_BAKING_KEY: ${{secrets.PRIVATE_BAKING_KEY }}
PRIVATE_NON_BAKING_KEY: ${{secrets.PRIVATE_NON_BAKING_KEY }}
4 changes: 4 additions & 0 deletions .github/workflows/push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
PRIVATE_BAKING_KEY: ${{secrets.PRIVATE_BAKING_KEY }}
PRIVATE_NON_BAKING_KEY: ${{secrets.PRIVATE_NON_BAKING_KEY }}

up:
needs: Preview
Expand Down Expand Up @@ -70,3 +72,5 @@ jobs:
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
PRIVATE_BAKING_KEY: ${{secrets.PRIVATE_BAKING_KEY }}
PRIVATE_NON_BAKING_KEY: ${{secrets.PRIVATE_NON_BAKING_KEY }}
27 changes: 2 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,7 @@
# Teztnets

Infrastructure-as-code repo to deploy tezos testnets in a repeatable, automated way.
Infrastructure-as-code repo to activate and bootstrap tezos testnets in a repeatable, automated way.

## Differences with tqinfra
## Currently deployed testnets

* repo is public
* we define vpc manually. This is necessary to ensure that the proper tags will be present to allow application load balancing. It may cause 2 vpcs to be created. Note that we don't need ALB for a teztnet for now, but tqinfra needed it and I added the tags manually there.
* we don't deploy from submodules (for now), we deploy from a release version of tezos-k8s
* the component resource has been renamed to tezosK8s (since PrivateChain name is not always accurate)

## TODO

This repo is untested and probably contains bugs as of this commit.

First thing is to set us up with Pulumi enterprise so all of us can do `pulumi preview` from working directory on laptop.

Deploy the teztnet with github actions. Make sure it works at least as well as tqinfra

Add network load balancers for public access.

Add route53 automation so the testnets deployed here would be exposed by <teztnetname>.tznode.net

Automate creation of json snipplets to pass to tezos `--network` argument for easy teztnet deployment.

## Prototype

We will start with a basic `mondaynet` with just 2 entities creating blocks: us and ecadlabs.

`mondaynet` is a weekly, short-lived testnet that boots every sunday night/monday morning with the most recent protocol alpha in tezos/tezos master.

0 comments on commit 5000e36

Please sign in to comment.