Skip to content

Commit fad08e9

Browse files
committed
chore: migrate-ci-to-forge
1 parent 5312962 commit fad08e9

File tree

2 files changed

+16
-27
lines changed

2 files changed

+16
-27
lines changed

.github/workflows/ci-test.yml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ permissions:
1111
packages: write
1212

1313
env:
14-
AWS_REGION: eu-central-1
15-
AWS_ROLE_ARN: arn:aws:iam::332405224602:role/ci
16-
ECR_REGISTRY: 332405224602.dkr.ecr.eu-central-1.amazonaws.com
1714
TAG: ${{ github.sha }}
1815

1916
jobs:
@@ -24,20 +21,20 @@ jobs:
2421
FORCE_COLOR: 1
2522
steps:
2623
- uses: actions/checkout@v4
24+
25+
- name: Install Forge
26+
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.5.3
2727
with:
28-
fetch-depth: 0
28+
version: 0.8.0
29+
if: always()
30+
2931
- name: Setup CI
30-
uses: input-output-hk/catalyst-ci/actions/setup@master
31-
with:
32-
aws_role_arn: ${{ env.AWS_ROLE_ARN }}
33-
aws_region: ${{ env.AWS_REGION }}
34-
earthly_runner_secret: ${{ secrets.EARTHLY_RUNNER_SECRET }}
35-
- name: Login to ECR
36-
uses: docker/login-action@v2
37-
with:
38-
registry: ${{ env.ECR_REGISTRY }}
32+
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.5.3
33+
3934
- name: Run tests
40-
env:
41-
EARTHLY_SECRETS: "IDEASCALE_EMAIL=${{ secrets.IDEASCALE_EMAIL }}, IDEASCALE_PASSWORD=${{ secrets.IDEASCALE_PASSWORD }}, IDEASCALE_API_TOKEN=${{ secrets.IDEASCALE_API_TOKEN }}"
42-
run: |
43-
earthly -P --buildkit-host "tcp://${{ secrets.EARTHLY_SATELLITE_ADDRESS }}:8372" +test-all
35+
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.5.3
36+
if: always()
37+
continue-on-error: true
38+
with:
39+
command: run
40+
args: ./+test-all

.github/workflows/ci.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ permissions:
1010

1111
jobs:
1212
ci:
13-
uses: input-output-hk/catalyst-ci/.github/workflows/ci.yml@master
13+
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.5.3
1414
with:
15-
aws_ecr_registry: 332405224602.dkr.ecr.eu-central-1.amazonaws.com
16-
aws_role_arn: arn:aws:iam::332405224602:role/ci
17-
aws_region: eu-central-1
18-
publish_docs: false
19-
secrets:
20-
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
21-
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
22-
earthly_runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }}
23-
earthly_runner_secret: ${{ secrets.EARTHLY_RUNNER_SECRET }}
15+
forge_version: 0.8.1

0 commit comments

Comments
 (0)