This is an automated email from the ASF dual-hosted git repository. sciabarracom pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/openserverless.git
commit 8100833cd9cc5677d36392e42f8c7cefae03bc11 Author: Michele Sciabarra <[email protected]> AuthorDate: Thu Sep 10 12:50:51 2026 +0200 sync images --- Taskfile.yml | 44 ++------------------------------------------ cli | 2 +- oplugins | 2 +- oplugins-op | 2 +- 4 files changed, 5 insertions(+), 45 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 24001cc..91fbc55 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -313,47 +313,7 @@ tasks: - echo 'Next steps are svn push, git push --tags and send email' sync-images: - - | - for i in build oplugins-op admin-api streamer devcontainer runtimes - do - cd $i - echo git tag -d | xargs -L1 echo git tag -d - echo git fetch --tags --all - cd .. - done - - task: sync-runtimes - - task: sync-opsroot - - sync-runtimes: - dir: runtimes - cmds: - - git fetch --all --tags - - task render-runtimes - - jq -r '.runtimes[][] | "\(.image.prefix)/\(.image.name):\(.image.tag)"' runtimes.json - - cp -v runtimes.json ../oplugins/runtimes.json - - sync-opsroot: - vars: - OPERATOR_TAG: - sh: git -C oplugins-op for-each-ref --sort=-creatordate --count=1 --format='%(refname:short)' refs/tags - STREAMER_TAG: - sh: git -C streamer for-each-ref --sort=-creatordate --count=1 --format='%(refname:short)' refs/tags - ADMIN_API_TAG: - sh: git -C admin-api for-each-ref --sort=-creatordate --count=1 --format='%(refname:short)' refs/tags - OPENWHISK_TAG: - sh: git -C build for-each-ref --sort=-creatordate --count=1 --format='%(refname:short)' refs/tags - DEVCONTAINER_TAG: - sh: git -C devcontainer for-each-ref --sort=-creatordate --count=1 --format='%(refname:short)' refs/tags + desc: synchronize runtimes.json and opsroot.json with published images, use WRITE=y to actuallyt write, GHUSER=github-user for a non apache user on ghcr.io cmds: - - test -e opsroot.orig || jq . <oplugins/opsroot.json >opsroot.orig - - > - jq <opsroot.orig >oplugins/opsroot.json ' - .config.images.controller = "{{.BASE_IMG}}/openserverless-wsk-controller:{{.OPENWHISK_TAG}}" | - .config.images.invoker = "{{.BASE_IMG}}/openserverless-wsk-invoker:{{.OPENWHISK_TAG}}" | - .config.images.operator = "{{.BASE_IMG}}/openserverless-operator:{{.OPERATOR_TAG}}" | - .config.images.streamer = "{{.BASE_IMG}}/openserverless-streamer:{{.STREAMER_TAG}}" | - .config.images.systemapi = "{{.BASE_IMG}}/openserverless-admin-api:{{.ADMIN_API_TAG}}" | - .config.images.devcontainer = "{{.BASE_IMG}}/openserverless-devcontainer:{{.DEVCONTAINER_TAG}}" - ' - - diff opsroot.orig oplugins/opsroot.json || true + - python syncimages.py --write={{.WRITE}} "{{.GHUSER}}" diff --git a/cli b/cli index d077857..f33ce2b 160000 --- a/cli +++ b/cli @@ -1 +1 @@ -Subproject commit d077857d81b10544a5154bf54b97c31f713fdc18 +Subproject commit f33ce2b736a8940c3fc256ff9b54fa948f3b0104 diff --git a/oplugins b/oplugins index 7e523ad..eeac57e 160000 --- a/oplugins +++ b/oplugins @@ -1 +1 @@ -Subproject commit 7e523adb9af3f17ae221220e9c17bce31fd92090 +Subproject commit eeac57e4179381ee18fba290ab79d6cec1dafb09 diff --git a/oplugins-op b/oplugins-op index 9a74639..5df76fe 160000 --- a/oplugins-op +++ b/oplugins-op @@ -1 +1 @@ -Subproject commit 9a74639a10d136a2d9689ebe13ae5ff445d167c7 +Subproject commit 5df76feda569b374276f4e2c72a46d3a980a4b77
