-
Notifications
You must be signed in to change notification settings - Fork 27
43 lines (39 loc) · 1.04 KB
/
deployment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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