-
Notifications
You must be signed in to change notification settings - Fork 30
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
when using the emissary executor you must either explicitly specify the command, #1
Comments
I haven't been using the emissary executor (just yet) and, unfortunately, I do not have access to my work computer (on mini hollidays...). From what I saw, the solution is to add |
Hi, I tried the command you mentioned above. This is my workflow.
Now, this is what is said.
I even used that command in your |
I'll. be back right after New Year's eve and will go through it. I hope that's not too late for you. |
Ok, No problem. However, the issue has been resolved by using One thing I want to ask, how can I automatically assign docker-image tags. Below is my code.
I want Argo workflow should assign new tag names automatically every time I re-submit the workflow. |
Normally, you would calculate the new tag, put it in an environment variable, and use it when constructing the arguments. The calculation itself can be random, or Git commit hash, or the Git tag (if you're creating tags), or semantic versioning (my favorite), or any other logic. I prefer semantic versioning and, in those cases, you would either extract it from the commit messages (if you do add the desired tag there) or generate it using one of many binaries that do that. Unfortunately, I'm not in front of a working computer to check out what I'm using to generate semantic versions (it's one of those things that you do once or twice and forget about it). If you Google something like "semantic version generator" you should be able to find it quickly. |
@vfarcic Hi, I am using Using the below annotation.
|
It's hard to say what's wrong based only on that info. Can you post the whole manifest, especially the rest of the annotations? Also, please post the logs from the image updater. |
@vfarcic Here is the manifest
And here are the logs
However, if update the docker image tag manually i.e. |
Assuming that Workflows did push your images to the registry, the issue is unrelated to it. Image Updater does not care how are images pushed to the registry. You are probably missing |
Hi,
I am getting the below error after submitting the build-container-image.yaml workflow.
task 'toolkit-f84wm.build-container-image' errored: when using the emissary executor you must either explicitly specify the command, or list the image's command in the index: https://argoproj.github.io/argo-workflows/workflow-executors/#emissary-emissary
The text was updated successfully, but these errors were encountered: