-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add artifact access via graph proxy #288
base: main
Are you sure you want to change the base?
Conversation
a579aac
to
2357b86
Compare
I'm not overly pleased about passing the argo workflows server URL from If there's a better way to do that then I'm happy to change this. I have a sneaking suspicion that the rejigging of the design as mentioned in the thread above may be better done sooner rather than later though, to avoid having to deal with this. |
If it helps checking that this works, I've been using the following query to test things: {
workflows(visit: {proposalCode: "mg", proposalNumber: 36964, number: 1}){
nodes {
name
status {
...on WorkflowSucceededStatus {
tasks {
name,
artifacts {
name
url
}
}
}
}
}
}
} |
Another option would be to have the |
2357b86
to
ef580c8
Compare
285168e
to
4ae0ebb
Compare
666f2ae
to
d484744
Compare
ef580c8
to
f1d8f58
Compare
f1d8f58
to
1977352
Compare
While I'm fairly sure the filename is what we want to give requestors rather than the artifact name which argo workflows uses, maybe we'd want to provide the artifact name, so I left the two commits separate for easier viewing of using one vs. the other. Can squash if the filename is what we want. Also, lots of assumptions being made in getting the filename:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, could make more use of error types though, just don't want to crash in prod
1977352
to
a52c7ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
e8dadeb
to
dbbaebe
Compare
Co-Authored-By: garryod <[email protected]>
dbbaebe
to
db95515
Compare
No description provided.