From da1465db0935ece6a0557c03c22a5eade5bfb613 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 26 Jan 2014 08:54:27 -0800 Subject: [PATCH] Make the alphabetized check self-gating When putting the alphabetize script into slave_scripts, we run the risk of bugs entering the script without being tested before they are rolled live and become part of the gate. This just recently happened. Instead, move it to the tools dir, which makes it easy for a dev to run, and also which makes changes to the script self-gating. Change-Id: Ia5e1870f84b0cbc0c6f172b6982263440af5575e --- .../files/jenkins_job_builder/config/infra.yaml | 3 +-- .../check_projects_yaml_alphabetized.sh | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename {modules/jenkins/files/slave_scripts => tools}/check_projects_yaml_alphabetized.sh (100%) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/infra.yaml b/modules/openstack_project/files/jenkins_job_builder/config/infra.yaml index c44b6062dd..f31cf7baaf 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/infra.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/infra.yaml @@ -66,8 +66,7 @@ builders: - gerrit-git-prep - - shell: | - /usr/local/jenkins/slave_scripts/check_projects_yaml_alphabetized.sh + - shell: "tools/check_projects_yaml_alphabetized.sh" publishers: - console-log diff --git a/modules/jenkins/files/slave_scripts/check_projects_yaml_alphabetized.sh b/tools/check_projects_yaml_alphabetized.sh similarity index 100% rename from modules/jenkins/files/slave_scripts/check_projects_yaml_alphabetized.sh rename to tools/check_projects_yaml_alphabetized.sh