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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
slapos.package
Commits
90323358
Commit
90323358
authored
Jul 29, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packer: Include playbook to upload images to shacache.
parent
80fbd6ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
0 deletions
+65
-0
packer/shacache/shacache.cfg
packer/shacache/shacache.cfg
+34
-0
packer/upload.yml
packer/upload.yml
+31
-0
No files found.
packer/shacache/shacache.cfg
0 → 100644
View file @
90323358
[networkcache]
download-binary-cache-url = http://www.shacache.org/shacache
download-cache-url = https://www.shacache.org/shacache
download-binary-dir-url = http://www.shacache.org/shadir
download-dir-url = http://www.shacache.org/shadir
signature_private_key_file = shacache/signature.key
signature_certificate_file = shacache/signature.cert
upload-cache-url = https://www.shacache.org/shacache
shacache-cert-file = shacache/shacache.crt
shacache-key-file = shacache/shacache.key
upload-dir-url = https://www.shacache.org/shadir
shadir-cert-file = shacache/shacache.crt
shadir-key-file = shacache/shacache.key
shacache-ca-file = /etc/opt/ca.crt
shadir-ca-file = /etc/opt/ca.crt
signature-certificate-list =
-----BEGIN CERTIFICATE-----
MIIB8DCCAVmgAwIBAgIJAPFf61p8y809MA0GCSqGSIb3DQEBBQUAMBAxDjAMBgNV
BAMMBUNPTVAtMCAXDTE0MDIxNzE2NDgxN1oYDzIxMTQwMTI0MTY0ODE3WjAQMQ4w
DAYDVQQDDAVDT01QLTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAsiqCyuv1
HO9FmtwnMbEa1/u8Dn7T0k7hVKYXVQYof+59Ltbb3cA3nLjFSJDr/wQT6N89MccS
PneRzkWqZKL06Kmj+N+XJfRyVaTz1qQtNzjdbYkO6RgQq+fvq2CO0+PSnL6NttLU
/a9nQMcVm7wZ8kmY+AG5LbVo8lmxDD16Wq0CAwEAAaNQME4wHQYDVR0OBBYEFEVi
YyWHF3W7/O4NaTjn4lElLpp7MB8GA1UdIwQYMBaAFEViYyWHF3W7/O4NaTjn4lEl
Lpp7MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgIPGoxhUa16AgjZx
Jr1kUrs8Fg3ig8eRFQlBSLYfANIUxcQ2ScFAkmsvwXY3Md7uaSvMJsEl2jcjdmdi
eSreNkx85j9GtMLY/2cv0kF4yAQNRtibtDkbg6fRNkmUopDosJNVf79l1GKX8JFL
zZBOFdOaLYY/6dLRwiTUKHU6su8=
-----END CERTIFICATE-----
packer/upload.yml
0 → 100644
View file @
90323358
-
name
:
Upload a list of images to shacache, be sure you know what you are doing.
hosts
:
127.0.0.1
connection
:
local
tasks
:
-
name
:
Upload a list of images to shacache, there is no verification for now
shell
:
networkcache-upload --prefix-key packerimage- --url {{ item }} --file {{ item }} shacache/shacache.cfg
with_items
:
-
output-debian8/packer-debian8.gz
-
output-debian7/packer-debian7.gz
-
output-ubuntu-14-04-server/packer-ubuntu-14-04-server.gz
-
output-ubuntu-15-04-server/packer-ubuntu-15-04-server.gz
-
output-centos72/packer-centos72.gz
-
output-centos67/packer-centos67.gz
-
output-debian8-testing-version/packer-debian8-testing-version.gz
-
output-debian7-testing-version/packer-debian7-testing-version.gz
-
output-ubuntu-15-04-server-testing-version/packer-ubuntu-15-04-server-testing-version.gz
-
output-ubuntu-14-04-server-testing-version/packer-ubuntu-14-04-server-testing-version.gz
-
output-centos67-testing-version/packer-centos67-testing-version.gz
-
output-centos72-testing-version/packer-centos72-testing-version.gz
-
output-debian8-webrunner/packer-debian8-webrunner.gz
-
output-debian8-erp5-standalone/packer-debian8-erp5-standalone.gz
-
output-debian8-wendelin/packer-debian8-wendelin.gz
-
output-debian8-vm-bootstrap/packer-debian8-vm-bootstrap.gz
-
output-debian7-vm-bootstrap/packer-debian7-vm-bootstrap.gz
-
output-ubuntu-14-04-server-vm-bootstrap/packer-ubuntu-14-04-server-vm-bootstrap.gz
-
output-ubuntu-15-04-server-vm-bootstrap/packer-ubuntu-15-04-server-vm-bootstrap.gz
-
output-centos68-vm-bootstrap/packer-centos68-vm-bootstrap.gz
-
output-centos72-vm-bootstrap/packer-centos72-vm-bootstrap.gz
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