Skip to content

Commit

Permalink
ci(general): upgrades CI to v1.7.0 and forge to v0.10.0 (#1557)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman authored Jan 18, 2025
1 parent 60da975 commit 15c979b
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ permissions:

jobs:
ci:
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.5.3
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.7.0
with:
forge_version: 0.8.0
forge_version: 0.10.0

test_reporting:
if: always()
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/generate-allure-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,40 +26,40 @@ jobs:
- uses: actions/checkout@v4

- name: Install Forge
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.5.3
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.7.0
with:
version: 0.8.0
version: 0.10.0
if: always()

- name: Setup CI
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.5.3
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.7.0

- name: Get catalyst gateway unit test report
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.5.3
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.7.0
if: always()
continue-on-error: true
with:
command: run
args: ./catalyst-gateway+build

- name: Get schemathesis test report
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.5.3
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.7.0
if: always()
continue-on-error: true
with:
command: run
args: ./catalyst-gateway/tests/schemathesis_tests+test-fuzzer-api

- name: Get flutter unit test report
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.5.3
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.7.0
if: always()
continue-on-error: true
with:
command: run
args: ./catalyst_voices+test-unit

- name: Get python api test report
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.5.3
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.7.0
if: always()
continue-on-error: true
with:
Expand Down
10 changes: 9 additions & 1 deletion blueprint.cue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ global: {
}

github: registry: "ghcr.io"

kcl: {
install: true
version: "v0.11.0"
}
}
secrets: [
{
Expand All @@ -49,7 +54,10 @@ global: {
]
}
deployment: {
registry: ci.providers.aws.ecr.registry
registries: {
containers: ci.providers.aws.ecr.registry
modules: ci.providers.aws.ecr.registry + "/catalyst-deployments"
}
repo: {
url: "https://github.com/input-output-hk/catalyst-world"
ref: "master"
Expand Down
22 changes: 17 additions & 5 deletions catalyst_voices/blueprint.cue
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,24 @@ project: {
}
environment: "dev"
modules: main: {
container: "voices-deployment"
version: "0.1.1"
name: "app"
version: "0.2.1"
values: {
environment: name: "dev"
frontend: image: {
tag: _ @forge(name="GIT_HASH_OR_TAG")
deployment: containers: main: {
image: {
name: _ @forge(name="CONTAINER_IMAGE")
tag: _ @forge(name="GIT_HASH_OR_TAG")
}
port: 80
probes: {
liveness: path: "/"
readiness: path: "/"
}
}
ingress: subdomain: "voices"
service: {
targetPort: 80
port: 80
}
}
}
Expand Down

0 comments on commit 15c979b

Please sign in to comment.