2
0

More than 1 year has passed since last update.

CircleCIのconfig.ymlの設定ファイルが有効化確認するコマンド

Posted at

概要

CircleCIを稼働させたときにconfig.ymlの設定ファイルに何か間違いがあるとエラーが起こる。
稼働する前にファイル自体が正しいかどうか確認するコマンドを調べたのでメモとして残しておきます。

コマンド

下記コマンドを実行するだけです。

circleci config validate

ファイルが有効なら下記のメッセージが出力されます。

Config file at .circleci/config.yml is valid.

まとめ

稼働させる前にファイルの間違いを確認できるこでCircleCIのリソースを無駄にしなくて済みます。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0