You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ho...@apache.org on 2022/04/25 09:15:47 UTC

[skywalking-kubernetes-event-exporter] branch chore created (now 9c5c062)

This is an automated email from the ASF dual-hosted git repository.

hoshea pushed a change to branch chore
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes-event-exporter.git


      at 9c5c062  update docker push scripts and release doc

This branch includes the following new commits:

     new 9c5c062  update docker push scripts and release doc

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.



[skywalking-kubernetes-event-exporter] 01/01: update docker push scripts and release doc

Posted by ho...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hoshea pushed a commit to branch chore
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes-event-exporter.git

commit 9c5c0626516d4c1d80169819391f059e5ec0da5d
Author: Hoshea <fg...@gmail.com>
AuthorDate: Mon Apr 25 17:15:18 2022 +0800

    update docker push scripts and release doc
---
 build/package/docker/Makefile | 13 +++++++++++--
 docs/How-to-release.md        | 17 +++++++++--------
 2 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/build/package/docker/Makefile b/build/package/docker/Makefile
index 26a80b0..6793975 100644
--- a/build/package/docker/Makefile
+++ b/build/package/docker/Makefile
@@ -21,9 +21,18 @@ include ../../../scripts/base.mk
 all: build
 
 .PHONY: build
-build:
+build: PUSH_OR_LOAD = --load
+build: PLATFORMS =
+
+.PHONY: release
+release: PUSH_OR_LOAD = --push
+release: PLATFORMS = --platform linux/386,linux/amd64,linux/arm64
+
+build release:
+	docker buildx create --use --driver docker-container --name skywalking_k8s_event_exporter > /dev/null 2>&1 || true
 	cd ../../.. ; \
-	docker build --build-arg VERSION=$(VERSION) . -f build/package/docker/Dockerfile -t $(HUB)/$(APP):$(VERSION)
+	docker buildx build $(PUSH_OR_LOAD) $(PLATFORMS) --build-arg VERSION=$(VERSION) . -f build/package/docker/Dockerfile -t $(HUB)/$(APP):$(VERSION) -t $(HUB)/$(APP):latest
+	docker buildx rm skywalking_k8s_event_exporter
 
 .PHONY: push
 push: build
diff --git a/docs/How-to-release.md b/docs/How-to-release.md
index cc89aad..9368116 100644
--- a/docs/How-to-release.md
+++ b/docs/How-to-release.md
@@ -194,13 +194,14 @@ Vote result should follow these:
     svn mv https://dist.apache.org/repos/dist/dev/skywalking/kubernetes-event-exporter/$VERSION https://dist.apache.org/repos/dist/release/skywalking/kubernetes-event-exporter -m "Release SkyWalking Kubernetes Event Exporter $VERSION"
     ```
 
-2. Push Docker images.
+2. Push Docker images. In order to publish the Docker images, you have to [enable BuildKit in the Docker daemon](https://docs.docker.com/develop/develop-images/build_enhancements/).
 
     ```shell
-    VERSION=<the version to release> make docker.push
+    docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
+    VERSION=<the version to release> make -C build/package/docker release
     ```
 
-3. Refer to the previous [PR](https://github.com/apache/skywalking-website/pull/212), update the event and download
+3. Refer to the previous [PR](https://github.com/apache/skywalking-website/pull/446), update the event and download
    links on the website.
 
 4. Update [Github release page](https://github.com/apache/skywalking-kubernetes-event-exporter/releases), follow the previous convention.
@@ -213,7 +214,7 @@ Vote result should follow these:
 
     Content:
 
-    Hi the SkyWalking Community
+    Hi the SkyWalking Community,
 
     On behalf of the SkyWalking Team, I’m glad to announce that SkyWalking Kubernetes Event Exporter $VERSION is now released.
 
@@ -221,11 +222,11 @@ Vote result should follow these:
 
     SkyWalking: APM (application performance monitor) tool for distributed systems, especially designed for microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures.
 
-    Download Links: http://skywalking.apache.org/downloads/
+    Download Links: https://skywalking.apache.org/downloads/
 
-    Release Notes : https://github.com/apache/skywalking-kubernetes-event-exporter/blob/$VERSION/CHANGES.md
+    Release Notes: https://github.com/apache/skywalking-kubernetes-event-exporter/blob/$VERSION/CHANGES.md
 
-    Website: http://skywalking.apache.org/
+    Website: https://skywalking.apache.org/
 
     SkyWalking Kubernetes Event Exporter Resources:
     - Issue: https://github.com/apache/skywalking/issues
@@ -243,4 +244,4 @@ Vote result should follow these:
 Please remember to remove all unnecessary releases in the mirror
 svn (https://dist.apache.org/repos/dist/release/skywalking/), if you don't recommend users to choose those version. For
 example, you have removed the download and documentation links from the website. If they want old ones, the Archive
-repository has all of them.
\ No newline at end of file
+repository has all of them.