Skip to content

Commit c2920d5

Browse files
authored
ci(general): converts uikit workflow to forge (#1468)
* chore(ci): converts uikit workflow to forge * wip: cleanup
1 parent 6ddc4c5 commit c2920d5

File tree

2 files changed

+17
-21
lines changed

2 files changed

+17
-21
lines changed

.github/workflows/flutter-uikit-example-firebase-deploy.yml

+8-21
Original file line numberDiff line numberDiff line change
@@ -13,38 +13,25 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
1414
cancel-in-progress: true
1515

16-
env:
17-
AWS_REGION: eu-central-1
18-
AWS_ROLE_ARN: arn:aws:iam::332405224602:role/ci
19-
EARTHLY_TARGET: docker
20-
ECR_REGISTRY: 332405224602.dkr.ecr.eu-central-1.amazonaws.com
21-
2216
jobs:
2317
deploy-uikit-example:
2418
name: Deploy UIKit example on Firebase Hosting
2519
runs-on: ubuntu-latest
2620
steps:
2721
- uses: actions/checkout@v4
28-
29-
- name: Setup CI
30-
uses: input-output-hk/catalyst-ci/actions/setup@master
22+
- name: Install Forge
23+
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.5.0
3124
with:
32-
aws_role_arn: ${{ env.AWS_ROLE_ARN }}
33-
aws_region: ${{ env.AWS_REGION }}
34-
earthly_runner_secret: ${{ secrets.EARTHLY_RUNNER_SECRET }}
35-
25+
version: 0.8.0
26+
- name: Setup CI
27+
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.5.0
3628
- name: Build Flutter Web
37-
uses: input-output-hk/catalyst-ci/actions/run@master
29+
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.5.0
3830
if: always()
3931
continue-on-error: true
4032
with:
41-
earthfile: ./catalyst_voices/utilities/uikit_example
42-
flags: --allow-privileged
43-
targets: local-build-web
44-
target_flags:
45-
runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }}
46-
artifact: "false"
47-
33+
command: run
34+
args: ./catalyst_voices/utilities/uikit_example+local-build-web
4835
- uses: FirebaseExtended/action-hosting-deploy@v0
4936
with:
5037
firebaseServiceAccount: "${{ secrets.UIKIT_FIREBASE_SERVICE_ACCOUNT }}"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: "1.0.0"
2+
project: {
3+
name: "uikit-example"
4+
ci: targets: {
5+
"local-build-web": {
6+
privileged: true
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)