Skip to content

Commit

Permalink
ci(cat-voices): adds deployment configuration (#943)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman authored Oct 3, 2024
1 parent 4da289d commit 399731d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: CI
on:
push:
branches: [main]
tags: ['*']
pull_request:

permissions:
Expand All @@ -15,4 +16,4 @@ jobs:
ci:
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.1.0
with:
forge_version: 0.2.0
forge_version: 0.2.1
13 changes: 13 additions & 0 deletions blueprint.cue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ global: {
path: "global/ci/docker"
}

git: credentials: {
provider: "aws"
path: "global/ci/deploy"
}

earthly: {
credentials: {
provider: "aws"
Expand All @@ -48,4 +53,12 @@ global: {
strategy: "commit"
}
}
deployment: {
registry: ci.providers.aws.registry
repo: {
url: "https://github.com/input-output-hk/catalyst-world"
ref: "master"
}
root: "k8s"
}
}
17 changes: 16 additions & 1 deletion catalyst_voices/blueprint.cue
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
version: "1.0.0"
project: name: "voices"
project: {
name: "voices"
deployment: {
environment: "dev"
modules: main: {
container: "voices-deployment"
version: "0.1.1"
values: {
environment: name: "dev"
frontend: image: {
tag: _ @env(name="GIT_IMAGE_TAG",type="string")
}
}
}
}
}

0 comments on commit 399731d

Please sign in to comment.