Skip to content
Snippets Groups Projects
Unverified Commit 0823de5f authored by Ritesh Raj Sarraf's avatar Ritesh Raj Sarraf
Browse files

Fix ostree-push options


The version of ostree-push in v2023 does not support  the -o option. The
port is provided by the crafted 'ssh' command variable instead.

Signed-off-by: default avatarRitesh Raj Sarraf <ritesh.sarraf@collabora.com>
parent c26e4bce
No related branches found
No related tags found
1 merge request!651Fix ostree-push options
Pipeline #694968 passed with warnings
+13
......@@ -118,6 +118,6 @@
- ${ssh} mkdir -p "${UPLOAD_ROOT}/${ostree_path}"
- ${ssh} ostree init --repo="${UPLOAD_ROOT}/${ostree_path}" --mode=archive-z2 --collection-id=${collection_id}
- echo Pushing to ${upload_dest}/${ostree_path}
- ostree-push -o SetEnv=OSTREE_RECEIVE_CONF="${ostree_receive_conf}" --repo ${repo} ${upload_dest}/${ostree_path} ${branch}
- ostree-push --repo ${repo} ${upload_dest}/${ostree_path} ${branch}
- ${ssh} ostree summary --update --repo="${UPLOAD_ROOT}/${ostree_path}" --verbose
rules: *upload-rules
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment