Skip to content

Commit d7c6f8a

Browse files
committed
set public ECR role workflow
1 parent e0c895c commit d7c6f8a

File tree

17 files changed

+46
-2703
lines changed

17 files changed

+46
-2703
lines changed

.github/workflows/framework.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,22 @@ jobs:
1010
run:
1111
working-directory: framework
1212
runs-on: ubuntu-latest
13+
permissions:
14+
id-token: write
15+
contents: read
1316
steps:
1417
- name: Checkout repo
1518
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
19+
- name: Configure AWS credentials using OIDC
20+
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
21+
with:
22+
role-to-assume: ${{ secrets.PUBLIC_AWS_ECR_ROLE }}
23+
aws-region: us-east-1
24+
- name: Authenticate to ECR Public
25+
id: login-ecr-public
26+
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
27+
with:
28+
registry-type: public
1629
- name: Check for changes in Framework
1730
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
1831
id: changes

framework/compose/conf/provisioning/dashboards/sample.yaml renamed to framework/cmd/observability/compose/conf/provisioning/dashboards/dashboards.yaml

File renamed without changes.

framework/cmd/observability/compose/conf/provisioning/dashboards/sample.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

framework/compose/conf/provisioning/dashboards/wasp.json renamed to framework/cmd/observability/compose/conf/provisioning/dashboards/wasp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@
931931
"refId": "A"
932932
}
933933
],
934-
"title": "WASP Debug",
934+
"title": "WASP Load Test",
935935
"type": "row"
936936
},
937937
{
@@ -1425,8 +1425,8 @@
14251425
]
14261426
},
14271427
"timezone": "",
1428-
"title": "WaspDebug",
1429-
"uid": "WaspDebug",
1428+
"title": "WASP Load Test",
1429+
"uid": "WASPLoadTests",
14301430
"version": 11,
14311431
"weekStart": ""
14321432
}

framework/cmd/observability/compose/docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ services:
2626
- grafana_plugins:/var/lib/grafana/plugins
2727
- ./conf/grafana.ini:/etc/grafana/grafana.ini
2828
- ./conf/provisioning:/etc/grafana/provisioning
29+
- ./conf/provisioning/dashboards/dashboards.yaml:/etc/grafana/provisioning/dashboards/dashboards.yaml
30+
- ./conf/provisioning/dashboards/wasp.json:/var/lib/grafana/dashboards/wasp.json
2931
ports:
3032
- "3000:3000"
3133
pyroscope:

0 commit comments

Comments
 (0)