govCMS / scaffold

7 stars 17 forks source link

Update the docker-compose for yamllint. #19

Closed steveworley closed 2 years ago

steveworley commented 2 years ago

After init docker-compose.yml

x-lagoon-project: &lagoon-project
  test9

x-lagoon-local-dev-url: &lagoon-local-dev-url
  http://test9.docker.amazee.io

# See GOVCMS_IMAGE_VERSION in "Variables" at https://github.com/govCMS/govCMS8/wiki
x-govcms-image-version: &govcms-image-version
  ${GOVCMS_IMAGE_VERSION:-9.x-latest}

Then performing the lint

$ docker run -ti --volume "$PWD:/app" gitlab-registry-production.govcms.amazee.io/govcms/govcms-ci /govcms/vendor/bin/govcms-yaml_lint docker-compose.yml
[OK] All 1 YAML files contain valid syntax.