Skip to content
New issue

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

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

Already on GitHub? # to your account

CI: Update Helm chart version for dev envs to fix issue with deprecated parameters MGX-808 #637

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
3 changes: 2 additions & 1 deletion .github/workflows/branch-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
outputs:
GLOBAL_VERSION: ${{ steps.set_vars.outputs.GLOBAL_VERSION }}
GIT_BRANCH: ${{ steps.set_vars.outputs.GIT_BRANCH }}
GIT_BRANCH_UNFORMATTED: ${{ steps.branch-name.outputs.current_branch }}
steps:
- name: Get branch name
id: branch-name
Expand Down Expand Up @@ -160,7 +161,7 @@ jobs:
uses: ./.github/workflows/reusable-generate-types.yml
secrets: inherit
with:
branch: ${{ needs.init.outputs.GIT_BRANCH }}
branch: ${{ needs.init.outputs.GIT_BRANCH_UNFORMATTED }}
parachainDocker: ${{ github.event.inputs.parachainDocker }}
globalVersion: ${{ needs.init.outputs.GLOBAL_VERSION }}

Expand Down
3 changes: 2 additions & 1 deletion devops/helmfiles/config/default.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
nodeChain: mangata-rococo-local
enableLocalRelaychain: true
enableParachainRegisterSidecar: true
enableServiceMonitorCollectors: false
storageSize: 20Gi
relaychainImage: parity/polkadot:v0.9.38
relaychainImage: parity/polkadot:v1.1.0
relaychainStorageSize: 20Gi
relaychainBootnodeAddr: /dns/relaychain-alice/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp

Expand Down
3 changes: 0 additions & 3 deletions devops/helmfiles/config/fungible.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
nodeChain: mangata-rococo-local

node01:
accountKeySeed: '0xe5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a'

node02:
accountKeySeed: '0x398f0c28f98885e046333d4a41c19cee4c37368a9832c6502f6cfd182e2aef89'

Expand Down
15 changes: 6 additions & 9 deletions devops/helmfiles/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,14 @@ environments:
---
repositories:
- name: mangata-node
url: git+https://github.com/mangata-finance/helm-charts@charts?ref=node-v1.3.0
url: git+https://github.com/mangata-finance/helm-charts@charts?ref=node-v2.0.2
- name: mangata-relaychain
url: git+https://github.com/mangata-finance/helm-charts@charts?ref=relaychain-testnet-v1.0.0
url: git+https://github.com/mangata-finance/helm-charts@charts?ref=relaychain-testnet-v1.1.0


helmDefaults:
wait: true

templates:
nodeDefault: &nodeDefault
chart: mangata-node/node
namespace: '{{ requiredEnv "ENVIRONMENT" }}'

releases:
- name: relaychain
installed: {{ .Values.enableLocalRelaychain | toYaml }}
Expand All @@ -39,7 +34,8 @@ releases:
storageSize: {{ .Values.relaychainStorageSize }}
remoteCluster: true
- name: node-01
<<: *nodeDefault
chart: mangata-node/node
namespace: '{{ requiredEnv "ENVIRONMENT" }}'
values:
- values.yaml.gotmpl
- isCollator: {{ .Values.node01.isCollator | toYaml }}
Expand All @@ -52,7 +48,8 @@ releases:
scheme: sr25519
seed: {{ .Values.node01.accountKeySeed | fetchSecretValue | quote }}
- name: node-02
<<: *nodeDefault
chart: mangata-node/node
namespace: '{{ requiredEnv "ENVIRONMENT" }}'
values:
- values.yaml.gotmpl
- isCollator: {{ .Values.node02.isCollator | toYaml }}
Expand Down
2 changes: 1 addition & 1 deletion devops/helmfiles/values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ environment: {{ requiredEnv "ENVIRONMENT" | quote }}
image:
tag: {{ requiredEnv "IMAGE_TAG" | quote }}
customChainspecUrl: {{ .Values | get "nodeCustomChainspecUrl" "" }}
chain: {{ .Values | get "nodeChain" "rococo" }}
chain: {{ .Values.nodeChain }}
storageClass: {{ .Values.storageClass }}
storageSize: {{ .Values.storageSize }}
relaychain:
Expand Down