You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by pi...@apache.org on 2025/04/16 20:29:48 UTC
(iggy) branch release/server-0.4.300 updated (5fb34a96 -> 7cf9f2f2)
This is an automated email from the ASF dual-hosted git repository.
piotr pushed a change to branch release/server-0.4.300
in repository https://gitbox.apache.org/repos/asf/iggy.git
omit 5fb34a96 fix(ci): fix publish server script tag validation (#1692)
new 7cf9f2f2 fix(ci): fix publish server script tag validation (#1692)
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (5fb34a96)
\
N -- N -- N refs/heads/release/server-0.4.300 (7cf9f2f2)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/publish_server.yml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
(iggy) 01/01: fix(ci): fix publish server script tag validation (#1692)
Posted by pi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
piotr pushed a commit to branch release/server-0.4.300
in repository https://gitbox.apache.org/repos/asf/iggy.git
commit 7cf9f2f2131ef314b43a1bfcda7474ef1f00e07b
Author: Piotr Gankiewicz <pi...@gmail.com>
AuthorDate: Wed Apr 16 20:29:46 2025 +0200
fix(ci): fix publish server script tag validation (#1692)
---
.github/workflows/publish_server.yml | 10 ++++++++--
.github/workflows/release_cli.yml | 2 +-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/publish_server.yml b/.github/workflows/publish_server.yml
index 26be9cdb..70ca3538 100644
--- a/.github/workflows/publish_server.yml
+++ b/.github/workflows/publish_server.yml
@@ -55,6 +55,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
+ ref: ${{ inputs.ref }}
fetch-depth: 0
- name: Extract tag name
@@ -74,7 +75,7 @@ jobs:
- name: Check if version from Cargo.toml is the same as the tag
id: check_git_tag
run: |
- if [[ "iggy-${{ steps.extract_version.outputs.server_version }}" == "${{ steps.extract_tag.outputs.tag_name }}" ]];
+ if [[ "server-${{ steps.extract_version.outputs.server_version }}" == "${{ steps.extract_tag.outputs.tag_name }}" ]];
then
echo "::notice ::Tag ${{ steps.extract_tag.outputs.tag_name }} matches the version in Cargo.toml"
echo "tag_matches=true" >> "$GITHUB_OUTPUT"
@@ -85,7 +86,7 @@ jobs:
outputs:
server_version: ${{ steps.extract_version.outputs.server_version }}
- tag_created: ${{ steps.tagging.outputs.tag_created }}
+ tag_created: ${{ steps.check_git_tag.outputs.tag_matches }}
release_and_publish:
name: build release ${{ matrix.platform.os_name }}
@@ -121,6 +122,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
+ with:
+ ref: ${{ inputs.ref }}
- name: Cache cargo & target directories
uses: Swatinem/rust-cache@v2
@@ -255,6 +258,7 @@ jobs:
$(printf '${{ env.DOCKERHUB_REGISTRY_NAME }}@sha256:%s ' *)
- name: Inspect image
+ continue-on-error: true
run: |
docker buildx imagetools inspect ${{ env.DOCKERHUB_REGISTRY_NAME }}:latest
@@ -275,6 +279,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
+ with:
+ ref: ${{ inputs.ref }}
- name: Everything is fine
if: ${{ !(contains(needs.*.result, 'failure')) }}
diff --git a/.github/workflows/release_cli.yml b/.github/workflows/release_cli.yml
index dace1705..0bd20285 100644
--- a/.github/workflows/release_cli.yml
+++ b/.github/workflows/release_cli.yml
@@ -91,7 +91,7 @@ jobs:
tool: cross
- name: Build ${{ matrix.platform.target }} release binary
- run: cross +stable build --verbose --release --target ${{ matrix.platform.target }}
+ run: cross +stable build --verbose --release --target ${{ matrix.platform.target }} -p iggy
- name: Collect ${{ matrix.platform.target }} executable
run: |