-
Notifications
You must be signed in to change notification settings - Fork 29
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 --revision-suffix parameter support (which is a param from az containerapp create and az containerapp update) #49
Comments
@PedroCosta93 Hey Pedro, thanks for filing this issue -- currently, we only support setting the revision suffix via the Does this seem like a possible solution for you, or were you looking for an argument that's exposed directly as a part of the GitHub Action? |
Hey, thank you for the fast reply. That can work as a workaround for now but it has the issue that I have to alter the suffix value before deploying (either with a github action or manually in the code) which is not ideal. Although I noticed something, I have an action which deploys 3 container apps and if I use the yamlconfigPath in one of them, the others throw an error if I don't supply the parameter (which is optional). this is the error: ERROR: argument --yaml: expected one argument |
@PedroCosta93 Thanks for the reply -- we've had similar issues raised about modifying the YAML configuration file within the workflow to utilize some values defined there (e.g., the GitHub Action run ID), so this is something we'll need to circle back on to find an easy route for customers to use (which may end up being a separate argument for the action itself). The error you've replied with is an interesting one -- I'm not sure I've seen that before 🤔 Would you mind sending me your workflow YAML file (with any meaningful or identifying values stripped out), or maybe just the steps in the workflow relevant to this GitHub Action? |
I was able to modify the yaml configuration file using this action: fjogeleit/yaml-update-action@main I do it right after the checkout so when i reach the deploy stage it uses the modified yaml file.
As you can see, I only use the yamlConfigPath on APP1 although the error is in APP2: ERROR: argument --yaml: expected one argument |
@PedroCosta93 Huh, that's a very strange error to encounter for APP2, specifically because the Azure CLI commands we execute under-the-hood that use If you are able to, would you mind sharing the logs from the APP2 build step so that I can take a look at the inputs and environment variables defined throughout the step? Feel free to strip out any uniquely identifying information or anything you don't feel comfortable sharing. |
Like the title says, is it possible to add support to the --revision-suffix parameter ?
I am having issues deploying new revisions, I don't get any errors but no revision is created after I update my container app using "azure/container-apps-deploy-action@v1" with a newly built image. The new image has the same name but has code changes. It works when I create a revision through the portal and give it a Suffix.
The text was updated successfully, but these errors were encountered: