Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Integration flow ATL-5777 #738

Merged
merged 2 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Setup Helm
uses: azure/setup-helm@v3
with:
version: '3.12.2' # default is latest (stable)
id: install
- name: Setup yq - portable yaml processor
uses: mikefarah/[email protected]
- uses: crazy-max/ghaction-import-gpg@v3
Expand Down
29 changes: 0 additions & 29 deletions infrastructure/argocd-state/d-useast1-sjd4e/Chart.yaml

This file was deleted.

74 changes: 0 additions & 74 deletions infrastructure/argocd-state/d-useast1-sjd4e/values.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions infrastructure/argocd-state/i-eucentral1-prt9a/Chart.yaml

This file was deleted.

92 changes: 0 additions & 92 deletions infrastructure/argocd-state/i-eucentral1-prt9a/values.yaml

This file was deleted.

10 changes: 5 additions & 5 deletions infrastructure/charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 1.16.3
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.3"
appVersion: 1.16.3
dependencies:
- name: "vault"
version: "0.24.1"
repository: "https://helm.releases.hashicorp.com"
- name: vault
version: 0.24.1
repository: https://helm.releases.hashicorp.com
32 changes: 32 additions & 0 deletions infrastructure/charts/index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: v1
entries:
prism-agent:
- apiVersion: v2
appVersion: 1.16.3
created: "2023-09-29T13:10:40.398427+02:00"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
version: 0.24.1
description: A Helm chart for deploying prism-agent
digest: 309200472891b513a19fad3c3a84745ee95afad6b4680924e81b497f4d8736d3
name: prism-agent
type: application
urls:
- https://raw.githubusercontent.com/hyperledger-labs/open-enterprise-agent/main/infrastructure/charts/prism-agent-1.16.3.tgz
version: 1.16.3
- apiVersion: v2
appVersion: 1.16.2
created: "2023-09-29T13:10:40.395578+02:00"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
version: 0.24.1
description: A Helm chart for deploying prism-agent
digest: 0ffa1f3b0748da032ff40900bc4bb55e4a64c400b31cc8796880da4aa7557529
name: prism-agent
type: application
urls:
- https://raw.githubusercontent.com/hyperledger-labs/open-enterprise-agent/main/infrastructure/charts/prism-agent-1.16.2.tgz
version: 1.16.2
generated: "2023-09-29T13:10:40.391159+02:00"
Binary file added infrastructure/charts/prism-agent-1.16.2.tgz
Binary file not shown.
Binary file added infrastructure/charts/prism-agent-1.16.3.tgz
Binary file not shown.
19 changes: 16 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,25 @@
[
"@semantic-release/exec",
{
"prepareCmd": "yq -i '.appVersion = \"${nextRelease.version}\"' ./infrastructure/charts/agent/Chart.yaml"
"prepareCmd": "yq eval -i '.appVersion = \"${nextRelease.version}\" | .version = \"${nextRelease.version}\"' ./infrastructure/charts/agent/Chart.yaml"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "yq -i -P '(.argocd-apps.itemTemplates[].items[] |= (select(.name == \"prism-agent-application-set\").targetRevision |= \"prism-agent-v${nextRelease.version}\"))' ./infrastructure/argocd-state/d-useast1-sjd4e/values.yaml"
"prepareCmd": "helm package -d infrastructure/charts -u infrastructure/charts/agent"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "helm repo index --url \"https://raw.githubusercontent.com/hyperledger-labs/open-enterprise-agent/main/infrastructure/charts\" --merge index.yaml infrastructure/charts"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "yq -i -P infrastructure/charts/index.yaml"
}
],
[
Expand All @@ -91,7 +103,8 @@
"package-lock.json",
"prism-agent/service/api/http/prism-agent-openapi-spec.yaml",
"infrastructure/charts/agent/Chart.yaml",
"infrastructure/argocd-state/d-useast1-sjd4e/values.yaml"
"infrastructure/charts/index.yaml",
"infrastructure/charts/*.tgz"
],
"message": "chore(release): cut atala prism ${nextRelease.version} release\n\n${nextRelease.notes}\n\nSigned-off-by: Anton Baliasnikov <[email protected]>"
}
Expand Down
Loading