9909e00ede
Bifrost intiially had support for parsing ZUUL_CHANGES, however due to changes in it's gate CI jobs, these steps are no longer necessary. As a result of this change, we also need to support copying files directly and not forcibly resetting the git status since the repositories are provided to us in the way they are needed without additional work. As a result, added logic to the preparation and git download role to support local file copies instead of git downloads. Also changed default source location for CI testing repos to leverage the WORKSPACE environment variable. Change-Id: I23e902c8637e142fba23d71467225d48ee265253 Depends-On: I01c16990dc66988fab29c41ec4b4e6094213b2ca
22 lines
871 B
YAML
22 lines
871 B
YAML
# Copyright (c) 2015 Hewlett-Packard Development Company, L.P.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
---
|
|
- name: "Download via GIT"
|
|
include: git_download.yaml
|
|
when: ci_testing_zuul | bool == false and copy_from_local_path | bool == false
|
|
- name: "Copy from local path"
|
|
include: local_path.yaml
|
|
when: ci_testing_zuul | bool or copy_from_local_path | bool
|