From b33ff92a0fb6d49394b708496675ede787d20340 Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Mon, 18 Sep 2023 10:53:33 -0300 Subject: [PATCH] chore: minor tweaks to be consistent w/ new configbump build Change-Id: If5170c7d93625ef37d49a108ccce6192eced1550 Signed-off-by: Nick Boldt --- .github/workflows/next-build-multiarch.yml | 14 +++++--------- .github/workflows/release.yml | 15 +++++++++++++-- make-release.sh | 7 +++++-- 3 files changed, 23 insertions(+), 13 deletions(-) diff --git a/.github/workflows/next-build-multiarch.yml b/.github/workflows/next-build-multiarch.yml index 165a4b03ba..4acdc029d7 100644 --- a/.github/workflows/next-build-multiarch.yml +++ b/.github/workflows/next-build-multiarch.yml @@ -6,8 +6,11 @@ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# -name: Next container image +name: Che Dashboard Next Build on: workflow_dispatch: @@ -41,19 +44,12 @@ jobs: name: "Set up Docker Buildx ${{ matrix.arch }}" uses: docker/setup-buildx-action@v2 - - name: "Docker quay.io Login" + name: "Login to quay.io" uses: docker/login-action@v2 with: registry: quay.io username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_PASSWORD }} - - - name: "Docker docker.io Login" - uses: docker/login-action@v2 - with: - registry: docker.io - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: "Build and push ${{ matrix.arch }}" uses: docker/build-push-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 116ce9b31e..18062b3072 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,15 @@ -# This Workflow performs a full release of che dashboard +# +# Copyright (c) 2023 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + name: Release Che Dashboard on: workflow_dispatch: @@ -99,7 +110,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - name: "Checkout Che Dashboard source code" + name: "Checkout source code" uses: actions/checkout@v3 - name: "Setup Node" diff --git a/make-release.sh b/make-release.sh index e47dba54ec..0e5aaa234c 100755 --- a/make-release.sh +++ b/make-release.sh @@ -7,6 +7,9 @@ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# # Release process automation script. # Used to create branch/tag, update VERSION files @@ -89,7 +92,7 @@ function update_pkgs_versions() { usage () { echo "Usage: $0 --version [VERSION TO RELEASE] [--tag-release]" - echo "Example: $0 --version 7.7.0 --tag-release"; echo + echo "Example: $0 --version 7.75.0 --tag-release"; echo } if [[ ! ${VERSION} ]]; then @@ -125,7 +128,7 @@ update_pkgs_versions $VERSION # commit change into branch if [[ ${NOCOMMIT} -eq 0 ]]; then - COMMIT_MSG="chore: Bump to ${VERSION} in ${BRANCH}" + COMMIT_MSG="chore: release: bump to ${VERSION} in ${BRANCH}" git commit -asm "${COMMIT_MSG}" git pull origin "${BRANCH}" git push origin "${BRANCH}"