Skip to content

Commit b7b2b06

Browse files
committed
chore: merge main into branch
Signed-off-by: gabrik <[email protected]>
2 parents a16d5f3 + a69f908 commit b7b2b06

File tree

4 files changed

+1298
-566
lines changed

4 files changed

+1298
-566
lines changed

.github/workflows/enforce-linking-issues.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 28 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,28 @@ on:
2020
inputs:
2121
live-run:
2222
type: boolean
23-
description: If false (or undefined) the workflow runs in dry-run mode (i.e. with no side-effects)
23+
description: Live-run
2424
required: false
2525
version:
2626
type: string
27-
description: Release number. If undefined, the workflow auto-generates a version using git-describe
27+
description: Release number
2828
required: false
2929
zenoh-version:
3030
type: string
31-
description: Release number of Zenoh. Required in live-run mode and ignored in dry-run mode
31+
description: Release number of Zenoh
3232
required: false
3333

3434
jobs:
3535
tag:
36-
name: Bump and tag crates
37-
uses: eclipse-zenoh/ci/.github/workflows/tag-crates.yml@main
36+
name: Branch, Bump & tag crates
37+
uses: eclipse-zenoh/ci/.github/workflows/branch-bump-tag-crates.yml@main
3838
with:
3939
repo: ${{ github.repository }}
4040
live-run: ${{ inputs.live-run || false }}
4141
version: ${{ inputs.version }}
42-
inter-deps-pattern: ${{ inputs.live-run && 'zenoh.*' || '^$' }}
43-
inter-deps-version: ${{ inputs.live-run && inputs.zenoh-version || '' }}
42+
bump-deps-version: ${{ inputs.zenoh-version }}
43+
bump-deps-pattern: ${{ inputs.zenoh-version && 'zenoh.*' || '^$' }}
44+
bump-deps-branch: ${{ inputs.zenoh-version && format('release/{0}', inputs.zenoh-version) || '' }}
4445
secrets: inherit
4546

4647
build-debian:
@@ -67,33 +68,21 @@ jobs:
6768
^zenoh_plugin_mqtt\.dll$
6869
secrets: inherit
6970

70-
cargo-live-run:
71-
if: ${{ inputs.live-run || false }}
72-
name: Publish Cargo crates (live-run)
71+
cargo:
7372
needs: tag
73+
name: Publish Cargo crates
7474
uses: eclipse-zenoh/ci/.github/workflows/release-crates-cargo.yml@main
7575
with:
76-
repos: ${{ github.repository }}
77-
live-run: true
78-
branch: ${{ needs.tag.outputs.branch }}
79-
inter-deps-pattern: ^$
80-
secrets: inherit
81-
82-
# In dry-run mode, we need to publish eclipse-zenoh/zenoh before this repository,
83-
# in which case the version of zenoh dependecies are left as is and thus point to
84-
# the main branch of eclipse-zenoh/zenoh
85-
cargo-dry-run:
86-
if: ${{ !inputs.live-run || true }}
87-
name: Publish Cargo crates (dry-run)
88-
needs: tag
89-
uses: eclipse-zenoh/ci/.github/workflows/release-crates-cargo.yml@main
90-
with:
91-
repos: |
92-
eclipse-zenoh/zenoh
93-
${{ github.repository }}
94-
live-run: false
76+
repo: ${{ github.repository }}
77+
live-run: ${{ inputs.live-run || false }}
9578
branch: ${{ needs.tag.outputs.branch }}
96-
inter-deps-pattern: zenoh.*
79+
# - In dry-run mode, we need to publish eclipse-zenoh/zenoh before this
80+
# repository, in which case the version of zenoh dependecies are left as
81+
# is and thus point to the main branch of eclipse-zenoh/zenoh.
82+
# - In live-run mode, we assume that eclipse-zenoh/zenoh is already
83+
# published as this workflow can't be responsible for publishing it
84+
unpublished-deps-patterns: ${{ !(inputs.live-run || false) && 'zenoh.*' || '' }}
85+
unpublished-deps-repos: ${{ !(inputs.live-run || false) && 'eclipse-zenoh/zenoh' || '' }}
9786
secrets: inherit
9887

9988
debian:
@@ -106,6 +95,7 @@ jobs:
10695
version: ${{ needs.tag.outputs.version }}
10796
repo: ${{ github.repository }}
10897
branch: ${{ needs.tag.outputs.branch }}
98+
installation-test: false
10999
secrets: inherit
110100

111101
homebrew:
@@ -165,17 +155,19 @@ jobs:
165155
uses: eclipse-zenoh/ci/.github/workflows/release-crates-dockerhub.yml@main
166156
with:
167157
no-build: true
168-
live-run: ${{ inputs.live-run || false }}
158+
live-run: true
169159
version: ${{ needs.tag.outputs.version }}
170160
repo: ${{ github.repository }}
171-
tags: "eclipse/zenoh-plugin-mqtt:${{ needs.tag.outputs.version }}"
161+
branch: ${{ needs.tag.outputs.branch }}
162+
tags: "eclipse/zenoh-bridge-mqtt:${{ needs.tag.outputs.version }}"
172163
binary: zenoh-bridge-mqtt
173164
files: |
174165
zenoh-bridge-mqtt
175166
libzenoh_plugin_mqtt.so
176167
platforms: |
177168
linux/arm64
178169
linux/amd64
170+
licenses: EPL-2.0 OR Apache-2.0
179171
secrets: inherit
180172

181173
ghcr:
@@ -184,15 +176,17 @@ jobs:
184176
uses: eclipse-zenoh/ci/.github/workflows/release-crates-ghcr.yml@main
185177
with:
186178
no-build: true
187-
live-run: ${{ inputs.live-run || false }}
179+
live-run: true
188180
version: ${{ needs.tag.outputs.version }}
189181
repo: ${{ github.repository }}
190-
tags: "${{ github.repository }}:${{ needs.tag.outputs.version }}"
182+
branch: ${{ needs.tag.outputs.branch }}
183+
tags: "ghcr.io/${{ github.repository }}:${{ needs.tag.outputs.version }}"
191184
binary: zenoh-bridge-mqtt
192185
files: |
193186
zenoh-bridge-mqtt
194187
libzenoh_plugin_mqtt.so
195188
platforms: |
196189
linux/arm64
197190
linux/amd64
191+
licenses: EPL-2.0 OR Apache-2.0
198192
secrets: inherit

0 commit comments

Comments
 (0)