syntax - How to check YML grammar is correct (gitlab.yml) -


gitlab server can't start. reason because gitlab.yml configuration file not correct.

what tool use check yml grammar correct?

i have tried notepad++ , sublimetext, show small sign in different places:

notepad doesn't indent 1 line. notepad++

sublimetext enter image description here

can indents , spaces problem in gitlab config parser?

what use, , works editor, comparison between:

  • gitlab.yml
  • gitlab.yml.example

i developed little bash diff script differences in keys (not values, since supposed put own values there)

## ldap setting ldap:               (<--- key)   enabled: true     ^^^     ^^^     key      value 

i a:

cd gitlab/config check_all_diff . 

that way, if there change in term of keys, key order, new keys or deleted keys, can spot when upgrade gitlab.

to summarize, need copy in directory part of $path:

don't forget to:


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -