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

Persist interface hash on installation status #2687

Open
1 task
Tracked by #2678
carolynvs opened this issue Mar 31, 2023 · 0 comments
Open
1 task
Tracked by #2678

Persist interface hash on installation status #2687

carolynvs opened this issue Mar 31, 2023 · 0 comments
Labels
pep003-advanced-dependencies Implementation of the Advanced Dependencies proposal placeholder Tracks work that has not yet be fully designed

Comments

@carolynvs
Copy link
Member

carolynvs commented Mar 31, 2023

When porter is searching for existing installations to reuse to satisfy a dependency, we need a way to quickly filter installations to a subset that implement the desired installation interface.

I was thinking that we can persist a hash of the installation interface on the status of the installation (next to where we store the current bundle reference/version).

schemaType: Installation
...
status:
  bundleReference: example.com/mybuns:v1.2.3
  bundleVersion: 1.2.3
  bundleDigest: sha256:abc123
  installationInterfaceHash: sha256:def456

Questions

  • We need to finalize exactly what is on the installation interface and it is the same as the bundle interface (i.e. does it include creds/params)

ℹ️ Read PEP003 - Advanced Dependencies for context about how dependencies should work, design details, and notes about desired behavior.

@carolynvs carolynvs added pep003-advanced-dependencies Implementation of the Advanced Dependencies proposal placeholder Tracks work that has not yet be fully designed labels Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pep003-advanced-dependencies Implementation of the Advanced Dependencies proposal placeholder Tracks work that has not yet be fully designed
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant