Skip to content

Commit c1e89d1

Browse files
committed
mitch/tmnt-226-create-deploy-staging-networkyml
1 parent 0e62e56 commit c1e89d1

File tree

7 files changed

+399
-195
lines changed

7 files changed

+399
-195
lines changed

.github/local_workflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SA_KEY_JSON=$(cat "$GOOGLE_APPLICATION_CREDENTIALS")
3535

3636
mkdir -p $REPO_ROOT/.github/.act-tool-cache
3737

38-
act workflow_dispatch -j $workflow_name \
38+
act workflow_call -j $workflow_name \
3939
--env RUNNER_TOOL_CACHE=/work/toolcache \
4040
-s GITHUB_TOKEN="$(gh auth token)" \
4141
-s GCP_SA_KEY="$SA_KEY_JSON" \

.github/workflows/deploy-aztec-infra.yml

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -105,102 +105,6 @@ on:
105105
description: The base64 encoded kubeconfig
106106
required: false
107107

108-
workflow_dispatch:
109-
inputs:
110-
cluster:
111-
description: The cluster to deploy to, e.g. aztec-gke-private or kind
112-
required: true
113-
type: string
114-
namespace:
115-
description: The namespace to deploy to
116-
required: true
117-
type: string
118-
ref:
119-
description: The branch name to deploy from.
120-
required: true
121-
type: string
122-
run_terraform_destroy:
123-
description: Whether to run terraform destroy
124-
required: true
125-
type: boolean
126-
default: false
127-
aztec_docker_image:
128-
description: The Aztec Docker image to deploy
129-
required: true
130-
type: string
131-
l1_rpc_urls:
132-
description: L1 RPC URLs as JSON array. Format, e.g. ["http://10.96.142.184:8545"]
133-
required: true
134-
type: string
135-
l1_consensus_host_urls:
136-
description: L1 consensus host URLs as JSON array. Format, e.g. ["http://10.96.36.205:5052"]
137-
required: true
138-
type: string
139-
l1_consensus_host_api_keys:
140-
description: L1 consensus host API keys as JSON array. Format, e.g. ["1234567890"]
141-
required: true
142-
type: string
143-
l1_consensus_host_api_key_headers:
144-
description: L1 consensus host API key headers as JSON array. Format, e.g. ["X-API-Key"]
145-
required: true
146-
type: string
147-
l1_chain_id:
148-
description: L1 chain ID
149-
required: true
150-
type: string
151-
registry_address:
152-
description: Registry contract address
153-
required: true
154-
type: string
155-
slash_factory_address:
156-
description: Slash factory contract address
157-
required: true
158-
type: string
159-
fee_asset_handler_address:
160-
description: Fee asset handler contract address
161-
required: true
162-
type: string
163-
validator_mnemonic:
164-
description: Validator mnemonic phrase
165-
required: true
166-
type: string
167-
validator_mnemonic_start_index:
168-
description: Validator mnemonic start index
169-
required: true
170-
type: number
171-
validators_per_node:
172-
description: Number of validators per node
173-
required: true
174-
type: number
175-
validator_replicas:
176-
description: Number of validator replicas
177-
required: true
178-
type: number
179-
prover_mnemonic:
180-
description: Prover mnemonic phrase
181-
required: true
182-
type: string
183-
prover_mnemonic_start_index:
184-
description: Prover mnemonic start index
185-
required: true
186-
type: number
187-
p2p_bootstrap_resource_profile:
188-
description: P2P bootstrap resource profile
189-
required: true
190-
type: string
191-
validator_resource_profile:
192-
description: Validator resource profile
193-
required: true
194-
type: string
195-
prover_resource_profile:
196-
description: Prover resource profile
197-
required: true
198-
type: string
199-
rpc_resource_profile:
200-
description: RPC resource profile
201-
required: true
202-
type: string
203-
204108
jobs:
205109
deploy_aztec_infra:
206110
runs-on: ubuntu-latest

.github/workflows/deploy-eth-devnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ on:
6969
required: false
7070
KUBECONFIG_B64:
7171
description: The base64 encoded kubeconfig
72-
required: true
72+
required: false
7373
outputs:
7474
rpc_url:
7575
description: The RPC URL for the eth devnet

.github/workflows/deploy-rollup-contracts.yml

Lines changed: 0 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -163,103 +163,6 @@ on:
163163
description: The address of the coin issuer contract
164164
value: ${{ jobs.deploy_rollup_contracts.outputs.coin_issuer_address }}
165165

166-
workflow_dispatch:
167-
inputs:
168-
cluster:
169-
description: The cluster to deploy to, e.g. aztec-gke-private or kind
170-
required: true
171-
type: string
172-
namespace:
173-
description: The namespace to deploy to
174-
required: true
175-
type: string
176-
ref:
177-
description: The branch name to deploy from
178-
required: true
179-
type: string
180-
aztec_docker_image:
181-
description: Aztec Docker image with tag that will actually run deploy-l1-contracts
182-
required: true
183-
type: string
184-
l1_rpc_urls:
185-
description: Comma-separated list of L1 RPC URLs
186-
required: true
187-
type: string
188-
mnemonic:
189-
description: Mnemonic for deployment
190-
required: true
191-
type: string
192-
l1_chain_id:
193-
description: L1 chain ID
194-
required: true
195-
type: string
196-
salt:
197-
description: Salt for deployment
198-
required: true
199-
type: string
200-
validators:
201-
description: Comma-separated list of validators
202-
required: true
203-
type: string
204-
default: ""
205-
sponsored_fpc:
206-
description: Enable sponsored FPC
207-
required: true
208-
type: boolean
209-
real_verifier:
210-
description: Deploy real verifier
211-
required: true
212-
type: boolean
213-
# Aztec environment variables
214-
aztec_slot_duration:
215-
description: Aztec slot duration
216-
required: true
217-
type: string
218-
aztec_epoch_duration:
219-
description: Aztec epoch duration
220-
required: true
221-
type: string
222-
aztec_target_committee_size:
223-
description: Aztec target committee size
224-
required: true
225-
type: string
226-
aztec_proof_submission_epochs:
227-
description: Aztec proof submission epochs
228-
required: true
229-
type: string
230-
aztec_activation_threshold:
231-
description: Aztec activation threshold
232-
required: true
233-
type: string
234-
aztec_ejection_threshold:
235-
description: Aztec ejection threshold
236-
required: true
237-
type: string
238-
aztec_slashing_quorum:
239-
description: Aztec slashing quorum
240-
required: true
241-
type: string
242-
aztec_slashing_round_size:
243-
description: Aztec slashing round size
244-
required: true
245-
type: string
246-
aztec_governance_proposer_quorum:
247-
description: Aztec governance proposer quorum
248-
required: true
249-
type: string
250-
aztec_governance_proposer_round_size:
251-
description: Aztec governance proposer round size
252-
required: true
253-
type: string
254-
aztec_mana_target:
255-
description: Aztec mana target
256-
required: true
257-
type: string
258-
aztec_proving_cost_per_mana:
259-
description: Aztec proving cost per mana
260-
required: true
261-
type: string
262-
263166
jobs:
264167
deploy_rollup_contracts:
265168
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)