Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nord Site
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
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Freifunk Nord
Nord Site
Commits
344c2bec
Commit
344c2bec
authored
7 years ago
by
rubo77
Browse files
Options
Downloads
Patches
Plain Diff
travis: add --depth=1 to checkout of repos
parent
81d09f1d
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
tests/validate_site.sh
+2
-2
2 additions, 2 deletions
tests/validate_site.sh
with
2 additions
and
2 deletions
tests/validate_site.sh
+
2
−
2
View file @
344c2bec
...
...
@@ -17,7 +17,7 @@ rm -Rf $testpath
mkdir
-p
$testpath
/packages
cd
$testpath
/packages
for
feed
in
$GLUON_SITE_FEEDS
;
do
echo
"checking PACKAGES_
${
feed
^^
}
_REPO ..."
echo
"
#######
checking PACKAGES_
${
feed
^^
}
_REPO ..."
repo_var
=
$(
echo
PACKAGES_
${
feed
^^
}
_REPO
)
commit_var
=
$(
echo
PACKAGES_
${
feed
^^
}
_COMMIT
)
branch_var
=
$(
echo
PACKAGES_
${
feed
^^
}
_BRANCH
)
...
...
@@ -36,7 +36,7 @@ for feed in $GLUON_SITE_FEEDS; do
echo
"branch
$branch_var
missing"
exit
1
fi
git clone
-b
"
$branch
"
--single-branch
"
$repo
"
$feed
git clone
-b
"
$branch
"
--single-branch
--depth
=
1
"
$repo
"
$feed
if
[
"
$?
"
!=
"0"
]
;
then
exit
1
;
fi
cd
$feed
git checkout
"
$commit
"
...
...
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