File tree Expand file tree Collapse file tree 4 files changed +35
-11
lines changed Expand file tree Collapse file tree 4 files changed +35
-11
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,20 @@ jobs:
42
42
npm install -g aws-cdk
43
43
cdk --version
44
44
- uses : actions/checkout@v4
45
- - name : Set up Python ${{ matrix.python-version }}
45
+ - name : Set up Python
46
46
uses : actions/setup-python@v5
47
47
with :
48
- python-version : ${{ matrix.python-version }}
48
+ python-version : 3.11
49
49
- name : Install Requirements
50
+ run : |
51
+ cd test_infra
52
+ python -m pip install --upgrade pip
53
+ python -m pip install poetry
54
+ poetry env use python
55
+ poetry env info
56
+ source $(poetry env info --path)/bin/activate
57
+ poetry install -vvv
58
+ - name : Set up cdk.json
50
59
run : |
51
60
cd test_infra
52
61
cat <<EOT >> cdk.context.json
61
70
]
62
71
}
63
72
EOT
64
- python -m pip install --upgrade pip
65
- python -m pip install poetry
66
- poetry env use python
67
- poetry env info
68
- source $(poetry env info --path)/bin/activate
69
- poetry install -vvv
73
+ cat cdk.json | jq -r '.context.databases.neptune = true' | jq -r '.context.databases.oracle = true' | jq -r '.context.databases.sqlserver = true' > overwrite.cdk.json
74
+ rm cdk.json && mv overwrite.cdk.json cdk.json
70
75
- name : CDK Synth
71
76
run : |
72
77
cd test_infra
Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ license = "Apache License 2.0"
9
9
python = " >=3.8, <4.0"
10
10
"aws-cdk-lib" = " ^2.128.0"
11
11
"aws-cdk.aws-glue-alpha" = " ^2.128.0a0"
12
+ "aws-cdk.aws-neptune-alpha" = " ^2.128.0a0"
12
13
"aws-cdk.aws-redshift-alpha" = " ^2.128.0a0"
Original file line number Diff line number Diff line change 5
5
from aws_cdk import aws_glue_alpha as glue
6
6
from aws_cdk import aws_iam as iam
7
7
from aws_cdk import aws_kms as kms
8
- from aws_cdk import aws_neptune as neptune
8
+ from aws_cdk import aws_neptune_alpha as neptune
9
9
from aws_cdk import aws_rds as rds
10
10
from aws_cdk import aws_redshift_alpha as redshift
11
11
from aws_cdk import aws_redshiftserverless as redshiftserverless
You can’t perform that action at this time.
0 commit comments