From 180e81c52a33b6fa68b83873ad2d745646144e53 Mon Sep 17 00:00:00 2001 From: Jian Qiu Date: Tue, 15 Jun 2021 15:52:21 +0800 Subject: [PATCH 1/2] Test automation Signed-off-by: Jian Qiu --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 456a75fa0..c74b67ec3 100644 --- a/README.md +++ b/README.md @@ -175,8 +175,8 @@ status: ordinal: 0 resource: deployments version: v1 - ``` + As shown above, the status of the `ManifestWork` includes the conditions for both the whole `ManifestWork` and each of the manifest it contains. And there are two condition types: - **Applied**. If true, it indicates the whole `ManifestWork` (or a particular manifest) has been applied on the managed cluster; otherwise `reason`/`message` of the condition will show more information for troubleshooting. - **Available**. If true, it indicates the coressponding Kubernetes resources of the the whole `ManifestWork` (or a particular manifest) are available on the managed cluster; otherwise `reason`/`message` of the condition will show more information for troubleshooting From 8675aeba9dbbd9d8a015ecfaf5c2350897bb21b5 Mon Sep 17 00:00:00 2001 From: Jian Qiu Date: Wed, 16 Jun 2021 13:29:55 +0800 Subject: [PATCH 2/2] Add image push automation Signed-off-by: Jian Qiu --- .github/workflows/go-postsubmit.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/go-postsubmit.yml b/.github/workflows/go-postsubmit.yml index 9ae063e2d..d79348f84 100644 --- a/.github/workflows/go-postsubmit.yml +++ b/.github/workflows/go-postsubmit.yml @@ -34,3 +34,7 @@ jobs: run: go install github.com/openshift/imagebuilder/cmd/imagebuilder@v1.2.1 - name: images run: make images + - name: push + run: | + echo ${{ secrets.DOCKER_PASSWORD }} | docker login quay.io --username ${{ secrets.DOCKER_USER }} --password-stdin + docker push quay.io/open-cluster-management/work:latest