chore(starknet_state_sync): add default port for state sync network c… #703
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
name: Sequencer Deployment Test | |
on: | |
push: | |
branches: | |
- main | |
- main-v[0-9].** | |
tags: | |
- v[0-9].** | |
# TODO(Dori, 1/9/2024): Decide when exactly native-blockifier artifacts will be built. Until | |
# then, keep the 'paths' key empty and build on every push to a release branch / tag. | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- auto_merge_enabled | |
- edited | |
paths: | |
- 'deployments/sequencer/*' | |
jobs: | |
deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: black all files | |
run: | | |
python3 -m pip install black | |
pushd deployments/sequencer | |
./black.sh --check | |
popd | |
- run: | | |
# Install deps. | |
npm install -g cdk8s-cli | |
python3 -m pip install pipenv | |
# Synthesize the CDK8s Sequencer app. | |
cd deployments/sequencer | |
pipenv install | |
cdk8s synth --app "pipenv run python main.py --namespace test" | |
diff -aur references dist |