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

Improve the release process for the radix-operator. #846

Open
emirgens opened this issue Mar 16, 2023 · 2 comments
Open

Improve the release process for the radix-operator. #846

emirgens opened this issue Mar 16, 2023 · 2 comments

Comments

@emirgens
Copy link
Contributor

emirgens commented Mar 16, 2023

Using helm-charts without a proper version connection is troublesome.

Look into new ways of releasing this component.

Start using release versions which will build.

DoD
Tag, Release and chart version are connected
To make it possible to rollback

If you run version x of Helm you are sure it is version y of the app

@anneliawa anneliawa self-assigned this Mar 17, 2023
@anneliawa anneliawa removed their assignment Jul 3, 2023
@Richard87
Copy link
Contributor

I have tested the following which I think might be a good solution for us:

Prod Service version: ">=1.0.0 < 2.0.0"
Dev service version: ">= 1.0.0-0 < 2.0.0-0"

Prod release is tagged with 1.X.X
Dev release is tagged with 1.X.X-nightly.TIMESTAMP

Interesting discussion: fluxcd/flux2#1298

Helm Github steps:

- name: Update helm chart
  id: update
  working-directory: infrastructure
  run: |
    yq -i '.version = "${{ steps.read.outputs.version }}"' Chart.yaml
    yq -i '.appVersion = "${{ steps.read.outputs.version }}"' Chart.yaml

- name: Helm Login
  run: |
    helm registry login happydogsprod.azurecr.io \
      --username helmuser \
      --password ${{secrets.HELM_REPO_SECRET}}

- name: package & push
  working-directory: infrastructure
  run: |
    helm package .
    helm push appname-${{ steps.read.outputs.version }}.tgz oci://repository.azurecr.io/helm

@Richard87
Copy link
Contributor

I see we used to push HelmCharts to ACR, does anyone remember why we stopped?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants