Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Troubleshooting release CI #3701

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions actions/publish-pkgset.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env bash
set -u

echo Pkgset "$PKGSET_NAME"
echo Fluvio Version "$FLUVIO_VERSION"
echo Fluvio Cloud Version "$FLUVIO_CLOUD_VERSION"

curl -v -X "POST" "https://hub.infinyon.cloud/hub/v1/fvm/pkgset" \
-H "Authorization: $BPKG_TOKEN" \
-H 'Content-Type: application/json; charset=utf-8' \
Expand Down
8 changes: 4 additions & 4 deletions makefiles/release.mk
Original file line number Diff line number Diff line change
Expand Up @@ -215,24 +215,24 @@ bump-fluvio: install-fluvio-package

# publishes pkgset for stable e.g. 0.11.0
# uses FLUVIO_CLOUD_VERSION
publish-pkgset-stable: PKGSET_NAME=${REPO_VERSION}
publish-pkgset-stable: FLUVIO_VERSION=${REPO_VERSION}
publish-pkgset-stable: PKGSET_NAME=$(REPO_VERSION)
publish-pkgset-stable: FLUVIO_VERSION=$(REPO_VERSION)
publish-pkgset-stable:
./actions/publish-pkgset.sh

bump-fluvio-stable: CHANNEL_TAG=stable
bump-fluvio-stable: VERSION=$(REPO_VERSION)
# publishes pkgset for "stable"
bump-fluvio-stable: PKGSET_NAME=stable
bump-fluvio-latest: FLUVIO_VERSION=${VERSION}
bump-fluvio-latest: FLUVIO_VERSION=$(VERSION)
bump-fluvio-stable: bump-fluvio publish-pkgset-stable
./actions/publish-pkgset.sh

bump-fluvio-latest: CHANNEL_TAG=latest
bump-fluvio-latest: VERSION=$(subst -$(GIT_COMMIT_SHA),+$(GIT_COMMIT_SHA),$(DEV_VERSION_TAG))
# publishes pkgset for "latest"
bump-fluvio-latest: PKGSET_NAME=latest
bump-fluvio-latest: FLUVIO_VERSION=${VERSION}
bump-fluvio-latest: FLUVIO_VERSION=$(VERSION)
bump-fluvio-latest: bump-fluvio
./actions/publish-pkgset.sh

Expand Down
Loading