synapsecns / sanguine

Synapse Monorepo
MIT License
42 stars 30 forks source link

Helm Test on Goreleaser Builds #861

Open trajan0x opened 1 year ago

trajan0x commented 1 year ago

Run make chart-test on each new image build and test the helm chart against that new iamage

trajan0x commented 8 months ago

Honestly, this does not seem doable without an inordinate amount of work

greptile-apps[bot] commented 5 months ago

To run make chart-test on each new image build, follow these steps:

  1. Modify .github/workflows/goreleaser-actions.yml: Add a new step to run make chart-test after the Build and push step.
      - name: Run Helm Chart Test
        if: steps.changes.outputs.src == 'true'
        run: make chart-test
  1. Ensure make chart-test is defined in make/helm.Makefile: Verify that the chart-test target exists and is correctly configured to test the Helm chart against the new image.
chart-test: test-install ## Test Helm charts

References

/.github/workflows/goreleaser-actions.yml /.github/workflows/helm-test.yml /make/helm.Makefile

Ask Greptile