Skip to content

Commit

Permalink
refactor(ci): use common cicd library for build
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoremepunto committed Oct 30, 2023
1 parent 76b95cf commit fcef463
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 263 deletions.
13 changes: 7 additions & 6 deletions build_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

set -exv

source 'deployment/build-deploy-common.sh'
export CICD_BOOTSTRAP_REPO_BRANCH='main'
export CICD_BOOTSTRAP_REPO_ORG='RedHatInsights'
CICD_TOOLS_URL="https://raw.githubusercontent.com/${CICD_BOOTSTRAP_REPO_ORG}/cicd-tools/${CICD_BOOTSTRAP_REPO_BRANCH}/src/bootstrap.sh"
# shellcheck source=/dev/null
source <(curl -sSL "$CICD_TOOLS_URL") image_builder

IMAGE_NAME="${IMAGE_NAME:-quay.io/cloudservices/floorist}"
BUILD_DEPLOY_BUILD_TARGET="${BUILD_DEPLOY_BUILD_TARGET:-base}"
BACKWARDS_COMPATIBILITY=false
BUILD_PARAMS="--no-cache"
export CICD_IMAGE_BUILDER_IMAGE_NAME='quay.io/cloudservices/floorist'

build_deploy_main || exit 1
cicd::image_builder::build_and_push --no-cache --target base
257 changes: 0 additions & 257 deletions deployment/build-deploy-common.sh

This file was deleted.

0 comments on commit fcef463

Please sign in to comment.