Skip to content

Commit

Permalink
chore: minor tweaks to be consistent w/ new configbump build
Browse files Browse the repository at this point in the history
Change-Id: If5170c7d93625ef37d49a108ccce6192eced1550
Signed-off-by: Nick Boldt <nboldt@redhat.com>
  • Loading branch information
nickboldt committed Sep 18, 2023
1 parent 28b9c64 commit b33ff92
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 13 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/next-build-multiarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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"
Expand Down
7 changes: 5 additions & 2 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit b33ff92

Please sign in to comment.