Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tumbler-thumbnailing
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tests
tumbler-thumbnailing
Commits
e84c4283
Commit
e84c4283
authored
6 years ago
by
Frédéric Dalleau
Browse files
Options
Downloads
Patches
Plain Diff
README: Describe usage of common-subtree.sh
Signed-off-by:
Frédéric Dalleau
<
frederic.dalleau@collabora.co.uk
>
parent
2ff97c1f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+25
-1
25 additions, 1 deletion
README.md
with
25 additions
and
1 deletion
README.md
+
25
−
1
View file @
e84c4283
...
...
@@ -2,4 +2,28 @@ Common files shared accross apertis tests.
Those files are shared through a git subtree which is included by all test projects.
Use common-subtree.sh to add the subtree in a tests repository
Use
`common-subtree.sh add`
to add the subtree in a tests repository.
For example:
```
# Retrieve the common-subtree.sh script, we use `git`, but could also use `wget`
$ git clone git@gitlab.apertis.org:tests/common
# Clone the test repository if needed
$ git clone git@gitlab.apertis.org:tests/iptables-basic
# Enter the test directory
$ cd iptables-basic
# In the test directory, add the common git subtree
$ ../common/common-subtree.sh add
# A new commit has been created, push the test with the subtree initialized
$ git push origin
```
If a script is supposed to be in the common/ directory, it should be commited in the
[
common repository
](
https://gitlab.apertis.org/tests/common
)
, and then it can be pulled
into the git subtree using the command:
```
$ ../common/common-subtree.sh pull
```
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