Feature Request: extending trellis check command

オープン
#376 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ansible, go
領域
cli, devops

調査の方向性

Start at the trellis check command and its existing Python, Vagrant, and VirtualBox checks. Review how dependency checks are represented before scoping Ansible compatibility and SSH-agent and key checks, including the possible conflict with a virtual environment. Done means the command reports the required and optional checks in the proposed format.

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

説明

enhancement
Terms
Summary

Extend the dependency checks the trellis check command carries out to include required provisioning/deployment checks like SSH agent, keys, Ansible.

Motivation
Why are we doing this?

Right now, trellis check looks for Python, Vagrant and Virtualbox compatibility related to local development, but some important checks would be:

  • system Ansible version and its compatibility
  • SSH agent being enabled
  • SSH agent keys being loaded
What use cases does it support?

Would be nice to support checks of any known dependencies of the deploy/provision processes.

What is the expected outcome?

An output like:

Checking Trellis requirements...

Required:
[✓] Ansible [>= 2.9.7]: 2.10.0
[✓] Python [>= 3.8.0]: 3.11.2
[✓] SSH Agent [On]: Yes
[✓] SSH Agent [Loaded]: Yes

Optional:

[✓] Vagrant [>= 2.1.0]: 2.3.4
[✓] VirtualBox [>= 4.3.10]: 6.1.36r152435
...
Potential conflicts / foreseeable issues

May conflict with Ansible version in virtual environment

Additional Context

No response

主要言語
Go
スター
169
フォーク
31
平均マージ
1時間 2分
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

roots/trellis-cli のほかの issue

roots/trellis-cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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