kaihlavi | d1a1fb7 | 2019-06-13 16:11:48 +0300 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright 2019 © Samsung Electronics Co., Ltd. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | |
Petr Ospalý | b86853b | 2019-09-23 17:01:09 +0200 | [diff] [blame] | 18 | # It can enable HTTPS for SDC component |
| 19 | export SDC_TEST_HTTPS="${SDC_TEST_HTTPS:-false}" |
| 20 | |
| 21 | # By default all images are from remote upstream registry, this option |
| 22 | # provides the chance to test locally built images |
| 23 | export SDC_LOCAL_IMAGES="${SDC_LOCAL_IMAGES:-false}" |
| 24 | |
| 25 | # For this to take effect SDC_LOCAL_IMAGES must be enabled... |
| 26 | # |
| 27 | # The path to the local sdc git repo from which the local images have |
| 28 | # been built - it also affects the tag used - if left empty *AND* |
| 29 | # local images are used *AND* SDC_LOCAL_TAG is unset then the tag |
| 30 | # will be set to: 'latest' |
| 31 | # |
| 32 | # BEWARE: Using local images with an incorrect git repo could lead to |
| 33 | # problems...set SDC_LOCAL_GITREPO or GERRIT_BRANCH properly... |
| 34 | export SDC_LOCAL_GITREPO="${SDC_LOCAL_GITREPO}" |
| 35 | |
| 36 | # For this to take effect SDC_LOCAL_IMAGES must be enabled... |
| 37 | # |
| 38 | # This will set the tag for local images - leaving this empty *AND* |
| 39 | # with unset SDC_LOCAL_GITREPO the local images will fallback to the |
| 40 | # tag: 'latest' |
| 41 | export SDC_LOCAL_TAG="${SDC_LOCAL_TAG}" |
| 42 | |
kaihlavi | dc39684 | 2019-06-26 15:09:37 +0300 | [diff] [blame] | 43 | source ${WORKSPACE}/scripts/sdc-dcae-d/setup_sdc_dcaed.sh |