Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
f0da8c16
Commit
f0da8c16
authored
5 years ago
by
Julien Leduc
Committed by
Eric Cano
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Please refer any DNS name with short name as FQDN depends on namespace name.
parent
0055e218
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
continuousintegration/orchestration/tests/simple_repack.sh
+3
-3
3 additions, 3 deletions
continuousintegration/orchestration/tests/simple_repack.sh
with
3 additions
and
3 deletions
continuousintegration/orchestration/tests/simple_repack.sh
+
3
−
3
View file @
f0da8c16
...
...
@@ -43,13 +43,13 @@ executeRepack() {
echo
"Changing the tape
$1
to FULL status"
kubectl
-n
${
NAMESPACE
}
exec
ctacli
--
cta-admin ta ch
-v
$1
-f
true
echo
"Creating the eos directory to put the retrieve files from the repack request"
kubectl
-n
${
NAMESPACE
}
exec
ctacli
--
rm
-rf
root://ctaeos
.cta.svc.cluster.local
//eos/ctaeos/repack
kubectl
-n
${
NAMESPACE
}
exec
ctacli
--
rm
-rf
root://ctaeos//eos/ctaeos/repack
kubectl
-n
${
NAMESPACE
}
exec
ctaeos
--
eos
mkdir
/eos/ctaeos/repack
kubectl
-n
${
NAMESPACE
}
exec
ctaeos
--
eos
chmod
1777 /eos/ctaeos/repack
echo
"Removing an eventual previous repack request for tape
$1
"
kubectl
-n
${
NAMESPACE
}
exec
ctacli
--
cta-admin re
rm
-v
$1
echo
"Launching the repack request on tape
$1
"
kubectl
-n
${
NAMESPACE
}
exec
ctacli
--
cta-admin re add
-v
$1
-m
-b
root://ctaeos
.cta.svc.cluster.local
//eos/ctaeos/repack
kubectl
-n
${
NAMESPACE
}
exec
ctacli
--
cta-admin re add
-v
$1
-m
-b
root://ctaeos//eos/ctaeos/repack
SECONDS_PASSED
=
0
while
test
0
=
`
kubectl
-n
${
NAMESPACE
}
exec
ctacli
--
cta-admin re
ls
-v
$1
|
grep
-E
"Complete|Failed"
|
wc
-l
`
;
do
echo
"Waiting for repack request on tape
$1
to be complete: Seconds passed =
$SECONDS_PASSED
"
...
...
@@ -104,4 +104,4 @@ echo
echo
"Summary of the repack requests"
kubectl
-n
${
NAMESPACE
}
exec
ctacli
--
cta-admin re
ls
-h
echo
"End of test simple_repack"
\ No newline at end of file
echo
"End of test simple_repack"
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