Skip to content

Commit fe952b3

Browse files
committed
Update to new object-Object/ci and use per-repo CDK role
1 parent 08f0897 commit fe952b3

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
with:
146146
node-version: ${{ env.NODE_VERSION }}
147147
npm-packages: aws-cdk
148-
role-to-assume: default
148+
role-to-assume: repo
149149

150150
- name: Download synth artifact
151151
uses: actions/download-artifact@v4

infrastructure/src/ghutils/aws_cdk/app.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import logging
22

33
from object_ci.aws_cdk.codedeploy.stack import CodeDeployStack
4-
from object_ci.aws_cdk.codedeploy.types import GitHubRepository
54
from object_ci.logging import setup_logging
65

76
import aws_cdk as cdk
@@ -15,11 +14,7 @@ def main():
1514
logger.info("Ready.")
1615
app = cdk.App()
1716

18-
CodeDeployStack.default_prod_stack(
19-
app,
20-
base_stack_name="discord-github-utils",
21-
github_repo=GitHubRepository("object-Object", "discord-github-utils"),
22-
)
17+
CodeDeployStack.default_prod_stack(app)
2318

2419
logger.info("Synthesizing.")
2520
app.synth()

requirements-dev.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ multidict==6.0.5
129129
# via yarl
130130
nodeenv==1.9.1
131131
# via pre-commit
132-
object-ci @ git+https://github.com/object-Object/ci@d49aad2be03e0c6995be20d505d32aa54a6b7f89
132+
object-ci @ git+https://github.com/object-Object/ci@6c2cba42668b4c632a1368adb5034e733cb6cc0a
133133
# via ghutils-infrastructure
134134
orjson==3.10.5
135135
# via fastapi

requirements.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ more-itertools==10.5.0
119119
multidict==6.0.5
120120
# via aiohttp
121121
# via yarl
122-
object-ci @ git+https://github.com/object-Object/ci@d49aad2be03e0c6995be20d505d32aa54a6b7f89
122+
object-ci @ git+https://github.com/object-Object/ci@6c2cba42668b4c632a1368adb5034e733cb6cc0a
123123
# via ghutils-infrastructure
124124
orjson==3.10.5
125125
# via fastapi

0 commit comments

Comments
 (0)