-
Hey Argo community! What I am trying to do is share an artifact between two separate workflows. One example would be to have a Workflow (let's call it A) that I run today, and another workflow B that I run tomorrow but I want it to fetch an artifact from A. Another example would be to have a CronWorkflow A that executes daily, and then a regular Workflow B that fetches an artifact from the latest execution of A. I assume this is not possible? From what I found, sharing artifacts is only possible between steps within a singular Workflow/CronWorkflow. I know something like that can be done, in general, but I was wondering if it's possible to do this with native Argo artifacts. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is certainly possible. You need to set up an Artifact repository. You can use a cloud provider (e.g. S3) or set up a repository in your own cluster (e.g. the team uses Minio). You can take a look at the possible Artifact repository types here. Once you have an artifact repository configured, your workflows can simply read and write the artifacts from said repository, instead of passing it around different steps. Take a look at these examples on how to get and put artifacts from an artifact repository: |
Beta Was this translation helpful? Give feedback.
This is certainly possible. You need to set up an Artifact repository. You can use a cloud provider (e.g. S3) or set up a repository in your own cluster (e.g. the team uses Minio). You can take a look at the possible Artifact repository types here.
Once you have an artifact repository configured, your workflows can simply read and write the artifacts from said repository, instead of passing it around different steps. Take a look at these examples on how to get and put artifacts from an artifact repository: