Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
410 stars 198 forks source link

[Issue] `pipeline config` and GitHub Codespaces issues #1934

Open jongio opened 1 year ago

jongio commented 1 year ago
  1. It hangs when trying to auth with GitHub at the SSH phase, I had to manually call gh auth login. I had to kill the process a few times for it to tell me I needed to gh auth login
  2. It requires you to clear the GITHUB_TOKEN env var to set secrets.
  3. It is only configured to run on main/master and my branch was azd. We should help the user figure out how to make that work without them guessing.
  4. The azd auth flow for Codespaces requires many hoops, including using a special flag --use-device-code=False and curl in a new terminal to get it to work.
  5. I couldn't figure out a way to configure a new secret in GH that could have been pulled from azd env.
  6. The action fails because it isn't logged into azd properly.

I have published an internal video with these issues and shared with the team.

weikanglim commented 1 year ago

@jongio Will try to move out to separate issues for better tracking:

rajeshkamal5050 commented 1 year ago

Fixing #1938 should fix the regressions 1,2 around Codespaces <-> Pipelines.

Leaving the other asks above in Backlog for future enhancements/features.

cc @savannahostrowski @ellismg