Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
352b66db
Commit
352b66db
authored
Jun 21, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook/util: add update-sha256sum script
parent
f58b80be
Pipeline
#28723
passed with stage
in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
playbook/sha256sum
playbook/sha256sum
+1
-1
playbook/util/update-sha256sum
playbook/util/update-sha256sum
+3
-0
playbook/util/upload-to-cache
playbook/util/upload-to-cache
+1
-1
No files found.
playbook/sha256sum
View file @
352b66db
fc085ff3a6ec4b99b7baff843ace3c10d82bbdd70297ad86a45a31f24fa3fc2b
-
01a465187b01a1e432de5d68b0b50d92b7b4c5a7d54b7ee114a37f7e35983ec3
-
playbook/util/update-sha256sum
0 → 100755
View file @
352b66db
playbook_dir="$(dirname $(realpath $0))/.."
cd $playbook_dir
find . -type f ! -name 'sha256sum' -print0 | LC_ALL=C sort -z | xargs -0 sha256sum | sha256sum > sha256sum
playbook/util/upload-to-cache
View file @
352b66db
...
...
@@ -3,5 +3,5 @@ conf=${1:-/etc/opt/slapcache.cfg}
conf=$(realpath $conf)
cd $playbook_dir
find . -type f ! -name 'sha256sum' -print0 | LC_ALL=C sort -z | xargs -0 sha256sum | sha256sum >
sha256sum
util/update-
sha256sum
rm -f /tmp/archive.tar.gz && tar -czvf /tmp/archive.tar.gz . && slapcache-upload --file=/tmp/archive.tar.gz --slapos-configuration=$conf
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment