kargo icon indicating copy to clipboard operation
kargo copied to clipboard

Kargo updates helm timestamp every 5 minute with a new commit on GitHub pull request

Open akselleirv opened this issue 1 year ago • 1 comments

Checklist

  • [x] I've searched the issue queue to verify this is not a duplicate bug report.
  • [x] I've included steps to reproduce the bug.
  • [x] I've pasted the output of kargo version.
  • [ ] I've pasted logs, if applicable.

Description

Kargo will constantly add commits to a pull request when using Helm chart.

It updates the Chart.lock file with a need timestamp on the generated field every five minute: generated: "2024-07-01T07:01:59.944058789Z"

Steps to Reproduce

apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse
metadata:
  name: example
  namespace: kargo
spec:
  subscriptions:
    - chart:
        repoURL: oci://my-acr.azurecr.io/helm-charts/my-app
---
apiVersion: kargo.akuity.io/v1alpha1
kind: Stage
metadata:
  name: test
  namespace: kargo
spec:
  subscriptions:
    warehouse: example
  promotionMechanisms:
    gitRepoUpdates:
      - repoURL: https://github.com/akselleirv/fake-example.git
        writeBranch: main
        pullRequest:
          github: { }
        helm:
          charts:
            - chartPath: my-app-dir
              name: my-app
              repository: oci://my-acr.azurecr.io/helm-charts

Version

v0.7.1

Logs

Paste any relevant application logs here.

akselleirv avatar Jul 01 '24 07:07 akselleirv

I think this touches the same area/problem as #2178.

hiddeco avatar Jul 01 '24 11:07 hiddeco

I am adding this to v0.9.0, as I anticipate that work on #2219 will naturally solve this.

krancour avatar Aug 19 '24 15:08 krancour

@hiddeco will this still happen with the helm-template promotion step?

krancour avatar Sep 28 '24 01:09 krancour