Azure / Azure/sql-action

Support Azure CLI Credentials (ActiveDirectoryAzCli)

オープン
#256 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
need-to-triage
主要言語
TypeScript
スター
142
フォーク
73
PR マージ指標
30日以内にマージされた PR はありません

説明

Azure CLI Credential support [was added to](https://github.com/microsoft/go-sqlcmd/commit/0a4cd1949a9ff220649a4f7bd0d9f775488df8e1) the sqlcmd-go tool back in v1.4.0 but the `@tediousjs/connection-string` library does not support the `Active Directory Az CLI` Authentication parameter in the connection string.

https://github.com/tediousjs/connection-string/blob/v0.5.0/src/parser/sql-connection-string.ts#L49-L51

Since many use cases of this action would involve first doing an `azure/login`, it makes sense to support the CLI credentials.

I am completely aware that this is a problem in a dependent package, but it would appreciate any update on plans to support this, or guidance to achieve this that does not involve manually installing `sqlcmd`.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

依存関係にある @tediousjs/connection-string パーサーを src/parser/sql-connection-string.ts の 49-51 行から確認し、続いて azure/login 後に sql-action が接続文字列をどのように処理するかを調べます。sqlcmd-go v1.4.0 が Azure CLI の認証情報をどのようにサポートしているかを確認します。Active Directory Az CLI パラメーターが受け付けられ、sqlcmd を手動でインストールせずに action が動作すれば完了です。リポジトリにパーサーと action の集中的なテストが用意されている場合は、それらを追加または実行します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, github-actions, sql, typescript
領域
authentication, ci-cd, cloud
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。