Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apparmor-tumbler
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
apparmor-tumbler
Merge requests
!3
Update common subtree
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update common subtree
wip/d4s/subtree_update
into
apertis/v2020dev0
Overview
0
Commits
3
Pipelines
0
Changes
2
Merged
Denis Pynkin
requested to merge
wip/d4s/subtree_update
into
apertis/v2020dev0
5 years ago
Overview
0
Commits
3
Pipelines
0
Changes
2
Expand
Need an updated common subtree to fix aa tests.
0
0
Merge request reports
Compare
apertis/v2020dev0
apertis/v2020dev0 (base)
and
latest version
latest version
d2dc3629
3 commits,
5 years ago
2 files
+
13
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
common/common-subtree.sh
+
5
−
2
Options
@@ -7,12 +7,15 @@ usage () {
echo
"'
$0
pull' is used to update the common subtree in tests"
}
branch
=
"
$(
git symbolic-ref
--short
HEAD
)
"
test
-z
"
$branch
"
&&
branch
=
"master"
case
$1
in
pull
)
git subtree pull
-P
common git@gitlab.apertis.org:tests/common.git
master
git subtree pull
-P
common git@gitlab.apertis.org:tests/common.git
"
$branch
"
;;
add
)
git subtree add
-P
common git@gitlab.apertis.org:tests/common.git
master
git subtree add
-P
common git@gitlab.apertis.org:tests/common.git
"
$branch
"
;;
*
)
usage
;;
esac
Loading