From a66698bdb212c4b738e2c6ecba3be9426b8a3b21 Mon Sep 17 00:00:00 2001 From: Domenico Francesco Bruscino Date: Wed, 24 Apr 2024 06:51:04 +0200 Subject: [PATCH] [NO-ISSUE] Execute make build to update generated files --- .github/workflows/ci.yml | 2 +- .github/workflows/update.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0ddde4de..2de439949 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: run: go mod tidy && git status && git diff-index --quiet HEAD -- - name: Check generate files - run: make generate-deploy && make bundle && git status && git diff-index --quiet HEAD -- + run: make build && make generate-deploy && make bundle && git status && git diff-index --quiet HEAD -- - name: Build the image run: | diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index b7c74b23f..c511b6854 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -60,7 +60,7 @@ jobs: sed -i "s~^VERSION ?=.*~VERSION ?= ${VERSION}~" Makefile sed -i "s~^OPERATOR_VERSION :=.*~OPERATOR_VERSION := ${VERSION}~" Makefile sed -i "s~^LABEL version=.*~LABEL version=\"${VERSION}\"~g" Dockerfile - make generate-deploy && make bundle && git status + make build && make generate-deploy && make bundle && git status git commit --all --message "Update version to ${VERSION}" || echo "nothing to commit" - name: Update related images @@ -104,7 +104,7 @@ jobs: sed -i "/RELATED_IMAGE_ActiveMQ_Artemis_Broker_Kubernetes_${ACTIVEMQ_ARTEMIS_COMPACT_VERSION}/,/value:/ s~value:.*~value: quay.io/artemiscloud/activemq-artemis-broker-kubernetes@${ACTIVEMQ_ARTEMIS_BROKER_KUBERNETES_DIGEST}~" ${RELATED_IMAGES_FILE} fi done - make generate-deploy && make bundle && git status + make build && make generate-deploy && make bundle && git status git commit --all --message "Update related images to ${ACTIVEMQ_ARTEMIS_VERSION}" || echo "nothing to commit" - name: Push commits