summaryrefslogtreecommitdiffstats
path: root/meta-sota/README.md
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-11-21 16:41:03 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2016-11-23 15:27:17 +0100
commitc0bfe0c519deed4e8cb3250e56e14db08a5d8750 (patch)
tree160b6991710591fdfc20dfad1a8d75f4fe658e6b /meta-sota/README.md
parentd1c5151b80a13ac0d17b20a7e38453ab96c1a703 (diff)
Bump versions of meta-sota utilities
Authenticated OSTree pull and push is added to sota_tools, ostree and sota-client. Change-Id: I36a4d3d24826ab8776bc980b50aef8606af9e7a8 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'meta-sota/README.md')
-rw-r--r--meta-sota/README.md16
1 files changed, 7 insertions, 9 deletions
diff --git a/meta-sota/README.md b/meta-sota/README.md
index 0e47cf6..4ea5da5 100644
--- a/meta-sota/README.md
+++ b/meta-sota/README.md
@@ -49,11 +49,9 @@ SOTA-related variables in local.conf
* OSTREE_INITRAMFS_IMAGE - initramfs/initrd image that is used as a proxy while
booting into OSTree deployment. Do not change this setting unless you are
sure that your initramfs can serve as such proxy.
-* OSTREE_REMOTE_URL - when set adds pushing your ostree commit to a remote
- repo. Defaults to an empty string.
-* OSTREE_REMOTE_USER and OSTREE_REMOTE_PASSWORD - should be set if
- OSTREE_REMOTE_URL is set. Used to authenticate to the server set in
- OSTREE_REMOTE_URL. Both default to an empty string.
+* OSTREE_PUSH_CREDENTIALS - when set adds pushing your ostree commit to a remote
+ repo. sota-tools will then use credentials in the file pointed to by this
+ variable.
Usage
-----
@@ -100,8 +98,8 @@ changes in OSTree repository generated by bitbake process. It communicates with
an http server capable of querying files with HEAD requests and uploading them
with POST requests. garage-push is used as following:
- garage-push --repo=/path/to/ostree-repo --ref=mybranch --url=https://my.ostree.server/ --user=username --password=password
+ garage-push --repo=/path/to/ostree-repo --ref=mybranch --credentials=~/.sota-tools.json --user=username --password=
-You can set OSTREE_REMOTE_URL, OSTREE_REMOTE_USER and OSTREE_REMOTE_PASSWORD in
-your local.conf to make your build results be automatically synchronized with a
-remote server.
+You can set OSTREE_PUSH_CREDENTIALS in your local.conf to make your build
+results be automatically synchronized with a remote server.
+Credentials are stored in JSON format which is described in [sota-tools documentation](https://github.com/advancedtelematic/sota-tools/blob/master/README.adoc)