From 38b873a0e5b7758adfd8ae0615392fc5e4d8db97 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Sun, 19 Apr 2020 23:28:14 -0400 Subject: [PATCH] 0.1.8-DEV-20200419-232748 ------------------------- * MODIFY: - modified CI yaml to limit builds only to master --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e708ddf..0cc878c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,6 +38,8 @@ stages: .check_versions_template: &check_vers <<: *tags_template stage: check_and_lint + only: + - master script: - /usr/bin/hostname - "cd ${CI_PROJECT_DIR} && git log -1" @@ -48,6 +50,8 @@ stages: .lint_play_template: &lint_play <<: *tags_template stage: check_and_lint + only: + - master script: - chmod 755 ${ANSIBLE_PLAY_PATH} - ansible-lint -v ${ANSIBLE_PLAY_PATH}/*.yml @@ -56,6 +60,8 @@ stages: .test_deploy_template: &test_deploy <<: *tags_template stage: test_deploy + only: + - master script: - chmod 755 ${ANSIBLE_PLAY_PATH} - pwd