From 9067077eb11c606b8ebe98338457fad894dc38d1 Mon Sep 17 00:00:00 2001 From: Julien Date: Mon, 19 Jun 2017 23:56:56 +0800 Subject: Move project's exception file to subdir add subdir **exceptions** for project's specific exception config files Change-Id: I57b7972706dd2e2168099e9815a0cfc3e8a33b67 Signed-off-by: Julien --- exceptions/releng_exception.yaml | 62 +++++++++++++++++++++++++++++++++++++++ exceptions/sandbox_exception.yaml | 13 ++++++++ gatechecks.yaml | 6 ++-- releng_exception.yaml | 62 --------------------------------------- sandbox_exception.yaml | 13 -------- 5 files changed, 78 insertions(+), 78 deletions(-) create mode 100644 exceptions/releng_exception.yaml create mode 100644 exceptions/sandbox_exception.yaml delete mode 100644 releng_exception.yaml delete mode 100644 sandbox_exception.yaml diff --git a/exceptions/releng_exception.yaml b/exceptions/releng_exception.yaml new file mode 100644 index 0000000..aee6768 --- /dev/null +++ b/exceptions/releng_exception.yaml @@ -0,0 +1,62 @@ +# When adding projects all `arrays: []` sections must have +# a value, Use 'nullvalue' if no waivers are available. +# +# This file uses standard regular expression syntax, however be mindful +# of escaping YAML delimiters too (such as `:`) using double quotes "". + +binaries: + binary_ignore: [nullvalue] +file_audits: + file_names: [nullvalue] + file_contents: + - ^# + - -s set secret key + - "PKG_MAP\\[wget\\]" + - "\\[wget\\]=wget" + - "git clone(.*)\\.openstack\\.org" + - "git clone(.*)gerrit\\.opnfv\\.org" + - "name: GIT_CLONE_BASE" + - "name: SSH_KEY" + - "packages = \\['parted', 'puppet', 'wget'" + - "wget http://repo1\\.maven\\.org" + - "wget(.*)puppetlabs\\.com" + - ^wget \\ + - _eval_pods_db + - ast\.literal_eva + - bifrost_ssh_private_key + - cacheValues + - elif type wget >/dev/null + - eval_collection + - eval_db + - evaluate + - fa-user-secret + - fileValidationError + - function git_clone + - git clone --quiet --branch \$BRANCH \$LAB_CONFIG_URL lab-config + - git clone \$MOD \$DEST + - git clone the Openstack-Ansible + - git clone(.*)\$GIT_BASE(.*)\$WORKSPACE + - git clone(.*)\$OPENSTACK_OSA_GIT_URL + - git repositories of XCI + - git_clone(.*)MOD(.*)MODULE_PATH(.*)MODULE_NAME + - github\.com/maestrodev/puppet-wget + - if \(name === 'evals'\) + - isInfiniteValue + - jh_ssh_key='/root/\.ssh/id_rsa' + - new = eval\(obj\) + - paramiko\.RSAKey\.from_private_key_file\(pkey_file\) + - secret not defined + - self\.local_ssh_key + - self\.proxy_ssh_key + - slave_secret + - sudo yum -y install wget + - user_secrets\.yml + - value + - wget --directory-prefix=(.*)SNAP_CACHE(.*)snap_url(.*) + - wget --version + - wget -O /tmp/get-pip\.py + - wget -q -O \$ODL_ZIP \$NETVIRT_ARTIFACT_URL + - wget > /dev/null + - wget \$get_pip_url + - wget(.*)WORKSPACE/opnfv\.properties(.*)GS_URL(.*)properties + - wget(.*)build.opnfv.org diff --git a/exceptions/sandbox_exception.yaml b/exceptions/sandbox_exception.yaml new file mode 100644 index 0000000..e41b04a --- /dev/null +++ b/exceptions/sandbox_exception.yaml @@ -0,0 +1,13 @@ +# When adding projects all `arrays: []` sections must have +# a value, Use 'nullvalue' if no waivers are available. +# +# This file uses standard regular expression syntax, however be mindful +# of escaping YAML delimiters too (such as `:`) using double quotes "". + +binaries: + binary_ignore: [nullvalue] +file_audits: + file_names: [nullvalue] + file_contents: + - ^# + diff --git a/gatechecks.yaml b/gatechecks.yaml index c49fc2e..8a670bd 100644 --- a/gatechecks.yaml +++ b/gatechecks.yaml @@ -69,6 +69,6 @@ licence: - '__init__.py' project_config: - - releng: releng_exception.yaml - - sandbox: sandbox_exception.yaml - - testproj: sandbox_exception.yaml + - releng: exceptions/releng_exception.yaml + - sandbox: exceptions/sandbox_exception.yaml + - testproj: exceptions/sandbox_exception.yaml diff --git a/releng_exception.yaml b/releng_exception.yaml deleted file mode 100644 index aee6768..0000000 --- a/releng_exception.yaml +++ /dev/null @@ -1,62 +0,0 @@ -# When adding projects all `arrays: []` sections must have -# a value, Use 'nullvalue' if no waivers are available. -# -# This file uses standard regular expression syntax, however be mindful -# of escaping YAML delimiters too (such as `:`) using double quotes "". - -binaries: - binary_ignore: [nullvalue] -file_audits: - file_names: [nullvalue] - file_contents: - - ^# - - -s set secret key - - "PKG_MAP\\[wget\\]" - - "\\[wget\\]=wget" - - "git clone(.*)\\.openstack\\.org" - - "git clone(.*)gerrit\\.opnfv\\.org" - - "name: GIT_CLONE_BASE" - - "name: SSH_KEY" - - "packages = \\['parted', 'puppet', 'wget'" - - "wget http://repo1\\.maven\\.org" - - "wget(.*)puppetlabs\\.com" - - ^wget \\ - - _eval_pods_db - - ast\.literal_eva - - bifrost_ssh_private_key - - cacheValues - - elif type wget >/dev/null - - eval_collection - - eval_db - - evaluate - - fa-user-secret - - fileValidationError - - function git_clone - - git clone --quiet --branch \$BRANCH \$LAB_CONFIG_URL lab-config - - git clone \$MOD \$DEST - - git clone the Openstack-Ansible - - git clone(.*)\$GIT_BASE(.*)\$WORKSPACE - - git clone(.*)\$OPENSTACK_OSA_GIT_URL - - git repositories of XCI - - git_clone(.*)MOD(.*)MODULE_PATH(.*)MODULE_NAME - - github\.com/maestrodev/puppet-wget - - if \(name === 'evals'\) - - isInfiniteValue - - jh_ssh_key='/root/\.ssh/id_rsa' - - new = eval\(obj\) - - paramiko\.RSAKey\.from_private_key_file\(pkey_file\) - - secret not defined - - self\.local_ssh_key - - self\.proxy_ssh_key - - slave_secret - - sudo yum -y install wget - - user_secrets\.yml - - value - - wget --directory-prefix=(.*)SNAP_CACHE(.*)snap_url(.*) - - wget --version - - wget -O /tmp/get-pip\.py - - wget -q -O \$ODL_ZIP \$NETVIRT_ARTIFACT_URL - - wget > /dev/null - - wget \$get_pip_url - - wget(.*)WORKSPACE/opnfv\.properties(.*)GS_URL(.*)properties - - wget(.*)build.opnfv.org diff --git a/sandbox_exception.yaml b/sandbox_exception.yaml deleted file mode 100644 index e41b04a..0000000 --- a/sandbox_exception.yaml +++ /dev/null @@ -1,13 +0,0 @@ -# When adding projects all `arrays: []` sections must have -# a value, Use 'nullvalue' if no waivers are available. -# -# This file uses standard regular expression syntax, however be mindful -# of escaping YAML delimiters too (such as `:`) using double quotes "". - -binaries: - binary_ignore: [nullvalue] -file_audits: - file_names: [nullvalue] - file_contents: - - ^# - -- cgit 1.2.3-korg