| commit | 697e4c0b3146a836406d5e6bc8820a323926146c | [log] [tgz] |
|---|---|---|
| author | ramonsalguer <javier.ramon@telefonica.com> | Sun Jun 14 23:24:06 2020 +0200 |
| committer | ramonsalguer <javier.ramon@telefonica.com> | Sun Jun 14 23:32:43 2020 +0200 |
| tree | 2122b263e565386f0171ab74ae5288cf3e18fd05 | |
| parent | 38bd734407f45aa4ce98395925a9f91c7a7c8606 [diff] |
Sandbox clones & uses community packages from Git: - Clones community packages from GitLab repo inside the VM. - For convenience, clones the Tester Guide inside the VM. - Adds option to use daily build of OSM client instead of latest stable. - Updates `README.md` accordingly. Change-Id: I8f0940a73d895c9c452e9b831ae4cbccf28959b8 Signed-off-by: ramonsalguer <javier.ramon@telefonica.com>
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.
The goal is adopting a methodology for local testing that is fully repeatable and well-known by the Depops MDL team in OSM.
This means that:
provisioner.sh), so that the exact procedure can be well-known and testable by everyone.%userprofile%/.ssh folder (the one equivalent to ~/.ssh in Linux/Mac),%userprofile%/.gitconfig exists and has the proper configuration.user.name there contains your EOL account name (i.e. avoid using a full name there). Beware that only the global profile is supported.To build a sandbox from scratch:
cd folder_of_the_sandbox
vagrant up
NOTE: All the examples that follow are suppossed to be run in the same sandbox's folder.
To access the VM via SSH:
vagrant ssh
To destroy the VM:
vagrant destroy
To rebuild and reprovision the VM:
vagrant destroy && vagrant up