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
Improve pipeline config help text to reflect that a pipeline is not generated #2131
Comments
Here's the output from the
This command says it was successful yet no pipeline was created or pushed to the github repository. |
@ellismg @savannahostrowski seems like a new feature request? today we don't generate any pipeline configs as part of |
Yeah definitely - I thought I'd filed an issue for this already but yes, I'd be nice if we had some gesture to generate a skeleton pipeline for folks. I have it planned to do some additional research around this. |
When I run the
This leads me to believe that running % azd pipeline
Manage integrating your application with build pipelines.
• The Azure Developer CLI template includes a GitHub Actions pipeline configuration file (in the .github/workflows folder) that deploys your application whenever code is pushed to the main branch.
• For more information, go to: https://aka.ms/azure-dev/pipeline.
Usage
azd pipeline [command]
Available Commands
config : Create and configure your deployment pipeline by using GitHub or Azure Pipelines.
Flags
-h, --help : Gets help for pipeline.
Global Flags
-C, --cwd string : Sets the current working directory.
--debug : Enables debugging and diagnostics logging.
--no-prompt : Accepts the default value instead of prompting, or it fails if there is no default.
Use azd pipeline [command] --help to view examples and more information about a specific command.
Examples
Walk through the steps required to set up your deployment pipeline.
azd pipeline config |
Yeah - that makes sense and is definitely valid feedback. I think that we can at least amend the text and examples to be more clear for now: Something like: Manage integrating your application with build pipelines.
• azd commands (e.g. provision, deploy) can be used within your GitHub Actions and Azure DevOps pipelines to test your code against real Azure resources and facilitate deployments.
• Using pipeline config on a configured codebase, azd will configures a service principal on the Azure subscription and create a secure connection between Azure and your repository.
• For more information on how to use azd in your build pipeline, go to: https://aka.ms/azure-dev/pipeline.
Usage
azd pipeline [command]
Available Commands
config : Create and configure your deployment pipeline by using GitHub or Azure Pipelines.
Flags
-h, --help : Gets help for pipeline.
Global Flags
-C, --cwd string : Sets the current working directory.
--debug : Enables debugging and diagnostics logging.
--no-prompt : Accepts the default value instead of prompting, or it fails if there is no default.
Use azd pipeline [command] --help to view examples and more information about a specific command.
Examples
Walk through the steps required to set up your deployment pipeline.
azd pipeline config @weikanglim any thoughts here? Would love to get a second opinion for clarity etc. @rajeshkamal5050 Let's see if we can make this clear in help text before end of next week. |
@savannahostrowski Those edits make sense. From dev perspective, the succinct version of
And do we want a direct link to the working workflow definition file? I think that'd be useful for devs that want to setup their own. |
I like your update for config and yeah, I'd like to link to both a GHA an d AzDO pipeline. Let's use this item to make text updates. |
@weikanglim can you take care of the text updates for GA? |
Make it clear that user needs to create their pipeline definition or use one provided by an azd template. While looking at other usage text, other small changes made: - Remove env name prompt from `azd provision` as that is no longer true - Fix `azd init` link to all templates - Remove `.git` suffix from links Fixes #2131, #2236
Output from
azd version
Describe the bug
Running the
azd pipeline config
results in successfully setting secrets in the git repository, and will even push changes to the github repository.However, no github action is generated in
.github/workflows
so there is not action to run or monitor when "successfully" configuring the pipeline.It should be noted I've had previous github actions created in
.github/workflows
before introducing azure developer cli to this project.To Reproduce
I'm not quite sure how to be honest.
Expected behavior
Generate a github action that provisions infrastructure and deploys the application via AZD cli.
Environment
MacOS Ventura
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: