diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -49,11 +49,9 @@ SOTA-related variables in local.conf | |||
49 | * OSTREE_INITRAMFS_IMAGE - initramfs/initrd image that is used as a proxy while | 49 | * OSTREE_INITRAMFS_IMAGE - initramfs/initrd image that is used as a proxy while |
50 | booting into OSTree deployment. Do not change this setting unless you are | 50 | booting into OSTree deployment. Do not change this setting unless you are |
51 | sure that your initramfs can serve as such proxy. | 51 | sure that your initramfs can serve as such proxy. |
52 | * OSTREE_REMOTE_URL - when set adds pushing your ostree commit to a remote | 52 | * OSTREE_PUSH_CREDENTIALS - when set adds pushing your ostree commit to a remote |
53 | repo. Defaults to an empty string. | 53 | repo. sota-tools will then use credentials in the file pointed to by this |
54 | * OSTREE_REMOTE_USER and OSTREE_REMOTE_PASSWORD - should be set if | 54 | variable. |
55 | OSTREE_REMOTE_URL is set. Used to authenticate to the server set in | ||
56 | OSTREE_REMOTE_URL. Both default to an empty string. | ||
57 | 55 | ||
58 | Usage | 56 | Usage |
59 | ----- | 57 | ----- |
@@ -100,8 +98,8 @@ changes in OSTree repository generated by bitbake process. It communicates with | |||
100 | an http server capable of querying files with HEAD requests and uploading them | 98 | an http server capable of querying files with HEAD requests and uploading them |
101 | with POST requests. garage-push is used as following: | 99 | with POST requests. garage-push is used as following: |
102 | 100 | ||
103 | garage-push --repo=/path/to/ostree-repo --ref=mybranch --url=https://my.ostree.server/ --user=username --password=password | 101 | garage-push --repo=/path/to/ostree-repo --ref=mybranch --credentials=~/.sota-tools.json --user=username --password= |
104 | 102 | ||
105 | You can set OSTREE_REMOTE_URL, OSTREE_REMOTE_USER and OSTREE_REMOTE_PASSWORD in | 103 | You can set OSTREE_PUSH_CREDENTIALS in your local.conf to make your build |
106 | your local.conf to make your build results be automatically synchronized with a | 104 | results be automatically synchronized with a remote server. |
107 | remote server. | 105 | Credentials are stored in JSON format which is described in [sota-tools documentation](https://github.com/advancedtelematic/sota-tools/blob/master/README.adoc) |