X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm-tests%2Flocalconfig%2FTEMPLATE-envprovisioning.sh;fp=osm-tests%2Flocalconfig%2FTEMPLATE-envprovisioning.sh;h=c2d67d7a9b1f746476b84e3ff7f7c55b70e011e6;hb=38bd734407f45aa4ce98395925a9f91c7a7c8606;hp=0000000000000000000000000000000000000000;hpb=59272c9bda5ab4116139532ea7c21e315c56b6bb;p=osm%2Fsandboxes.git diff --git a/osm-tests/localconfig/TEMPLATE-envprovisioning.sh b/osm-tests/localconfig/TEMPLATE-envprovisioning.sh new file mode 100644 index 0000000..c2d67d7 --- /dev/null +++ b/osm-tests/localconfig/TEMPLATE-envprovisioning.sh @@ -0,0 +1,22 @@ +# Copyright 2020 Telefónica Investigación y Desarrollo S.A.U. +# +# 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. + +####################################################################################################### +# envprovisioning.sh +####################################################################################################### +# (OPTIONAL) Local environment provisioning (e.g. cloning of local repos and credentials) + +ssh-keyscan mylocalgitserver.com >> ~/.ssh/known_hosts # Often needed for non public repos +git clone git@mylocalgitserver.com:local-environment-data/local-infra-info.git +cp local-infra-info/openstack/clouds.yaml "${BASE_FOLDER}"/ # Copy credentials to base folder