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

Accessing the build environment of another source when using multiple sources #14855

Open
APemberton1 opened this issue Aug 2, 2023 · 3 comments
Labels
component:core Syncing, diffing, cluster state cache enhancement New feature or request type:enhancement

Comments

@APemberton1
Copy link

Summary

Access the build environment of another source when using multiple sources

Motivation

Now we have multiple sources we need a way to use build env vars from the first source as part of the second. E.g.

  sources:
    - repoURL: https://github.com/xxxx/repo-1
      targetRevision: main
      ref: repo-1
    - repoURL: https://somecharturl.com
      targetRevision: 1.0.0
      chart: somechart
      helm:
        valueFiles:
          - $repo-1/values.yaml
         parameters:
         - name: image.tag
            value: ${ARGOCD_APP_REVISION}

ARGOCD_APP_REVISION resolves to 1.0.0 whereas I want it to resolve to the revision from repo-1 which I manage. Would be very useful as part of automated image version tagging

Proposal

related feat to add multiple sources: schakrad@a928e3b
and issue: #2789

@APemberton1 APemberton1 added the enhancement New feature or request label Aug 2, 2023
@blakepettersson
Copy link
Member

Should be addressed with #12508

@RodrigoMenezes-Vantage
Copy link

Any other potential solution to this now that #12508 seems to have been closed and abandoned?

@alexmt alexmt added component:core Syncing, diffing, cluster state cache type:enhancement labels Jul 11, 2024
@alstephenclaypool
Copy link

Also running into this issue. Has anyone found a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:core Syncing, diffing, cluster state cache enhancement New feature or request type:enhancement
Projects
None yet
Development

No branches or pull requests

5 participants