Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
float
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
float
Commits
38c6838f
Commit
38c6838f
authored
7 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Add a small document on testing
parent
394be7af
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
docs/testing.md
+27
-0
27 additions, 0 deletions
docs/testing.md
with
28 additions
and
0 deletions
README.md
+
1
−
0
View file @
38c6838f
...
@@ -42,6 +42,7 @@ and in README files for individual Ansible roles:
...
@@ -42,6 +42,7 @@ and in README files for individual Ansible roles:
*
[
Service discovery protocol
](
docs/service_mesh.md
)
*
[
Service discovery protocol
](
docs/service_mesh.md
)
*
[
HTTP router
](
docs/http_router.md
)
*
[
HTTP router
](
docs/http_router.md
)
*
[
Docker usage
](
roles/docker/README.md
)
*
[
Docker usage
](
roles/docker/README.md
)
*
[
Testing
](
docs/testing.md
)
### Built-in services documentation
### Built-in services documentation
...
...
This diff is collapsed.
Click to expand it.
docs/testing.md
0 → 100644
+
27
−
0
View file @
38c6838f
Testing
===
This repository contains some integration tests that use Vagrant to
spin up virtual machines and run Ansible against them. The virtual
machines will be destroyed and re-created every time the tests run, so
it would be a good idea to use a local caching proxy for Debian
packages (such as
*apt-cacher-ng*
).
## Networking
The virtual machines used in tests make use of the 192.168.10.0/24
network. If it is already in use by your local environment, you're
going to have trouble unfortunately. On this network, the local (host)
machine will have the address 192.168.10.1.
## Running tests
To run a test, go to the
*test*
subdirectory of this repository, and
run the
*run-test.sh*
command, with the name of the subdirectory
containing the test environment:
```
cd test
./run-test.sh --apt-proxy 192.168.10.1:3142 test-base
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment