Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webeos-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
webservices
webeos
webeos-tests
Commits
4bda2805
Commit
4bda2805
authored
1 year ago
by
Chrysoula Dikonimaki
Browse files
Options
Downloads
Patches
Plain Diff
print
parent
8dd7d24c
No related branches found
No related tags found
1 merge request
!12
Add a squashfs package
Pipeline
#6964727
passed
1 year ago
Stage: copy
Stage: deploy
Stage: squashfs
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+13
-16
13 additions, 16 deletions
.gitlab-ci.yml
.gitlab/squashfs.sh
+2
-3
2 additions, 3 deletions
.gitlab/squashfs.sh
with
15 additions
and
19 deletions
.gitlab-ci.yml
+
13
−
16
View file @
4bda2805
...
...
@@ -67,11 +67,20 @@ copy:
# make sure to get a forwardable Kerberos ticket so lxplus can access AFS/EOS on behalf of the user
-
echo "${EOS_ACCOUNT_PASSWORD}" | kinit -f ${EOS_ACCOUNT_USERNAME}@CERN.CH
-
ssh ${EOS_ACCOUNT_USERNAME}@lxplus "bash -s" < ./.gitlab/squashfs.sh $EOS_PATH $PACKAGE_DIR $CONTENT_DIR
#- ssh ${EOS_ACCOUNT_USERNAME}@lxplus "eos root://eoshome-a.cern.ch squash new $EOS_PATH$PACKAGE_DIR"
#- ssh ${EOS_ACCOUNT_USERNAME}@lxplus "cp -r $EOS_PATH$CONTENT_DIR/. $EOS_PATH$PACKAGE_DIR/"
#- ssh ${EOS_ACCOUNT_USERNAME}@lxplus "eos root://eoshome-a.cern.ch squash pack $EOS_PATH$PACKAGE_DIR"
Test deploy
:
<<
:
*base_deploy
variables
:
<<
:
*dev_variables
Deploy
:
<<
:
*base_deploy
only
:
-
master
variables
:
<<
:
*master_variables
Test squashfs
:
<<
:
*add_squashfs
variables
:
...
...
@@ -84,16 +93,4 @@ squashfs:
<<
:
*master_variables
<<
:
*common_variables
only
:
-
master
Test deploy
:
<<
:
*base_deploy
variables
:
<<
:
*dev_variables
Deploy
:
<<
:
*base_deploy
only
:
-
master
variables
:
<<
:
*master_variables
-
master
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.gitlab/squashfs.sh
+
2
−
3
View file @
4bda2805
...
...
@@ -6,9 +6,8 @@
# $3: The subdirectory to copy into the package
echo
"Params given as input: "
echo
"EOS path:
$1
"
echo
"Package directory:
$2
"
echo
"Content directory:
$3
"
echo
"Package path:
$1$2
"
echo
"Copied Directory:
$1$3
"
eos root://eoshome-a.cern.ch squash new
$1$2
cp
-r
$1$3
/.
$1$2
/
...
...
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