From 33b1cee696325c529a8e948f941171e7d2421bc1 Mon Sep 17 00:00:00 2001 From: Y Date: Mon, 25 Jul 2022 21:44:04 +0530 Subject: [PATCH] fix: flyteconsole tag in ci pipeline (#550) * fix tag issue in ci Signed-off-by: Yuvraj * remove welcome bot from boilerplate config Signed-off-by: Yuvraj Co-authored-by: Yuvraj --- .github/workflows/checks.yml | 2 ++ .github/workflows/upgrade_automation.yml | 4 ++-- boilerplate/update.cfg | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 3e07ed40dd..e0839f667b 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -107,12 +107,14 @@ jobs: # a tag, update our target run: | CURRENT_TAG=$(git tag --sort=-refname --points-at ${{ github.ref }} | head -n 1) + echo $CURRENT_TAG echo "::set-output name=currentTag::$CURRENT_TAG" push_docker_image: name: Push to Github Registry needs: [check_for_tag] runs-on: ubuntu-latest + if: ${{ needs.check_for_tag.outputs.currentTag != '' }} steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/upgrade_automation.yml b/.github/workflows/upgrade_automation.yml index af967a4d7e..763fd73b0d 100644 --- a/.github/workflows/upgrade_automation.yml +++ b/.github/workflows/upgrade_automation.yml @@ -14,7 +14,7 @@ on: jobs: trigger-upgrade: name: ${{ github.event.inputs.component }} Upgrade - if: ${{ github.event.inputs.component == "boilerplate" }} + if: ${{ github.event.inputs.component == 'boilerplate' }} uses: flyteorg/flytetools/.github/workflows/flyte_automation.yml@master with: component: ${{ github.event.inputs.component }} @@ -24,7 +24,7 @@ jobs: upgrade_flyteidl: name: Upgrade Flyteidl runs-on: ubuntu-latest - if: ${{ github.event.inputs.component == "flyteidl" }} + if: ${{ github.event.inputs.component == 'flyteidl' }} steps: - uses: actions/checkout@v2 with: diff --git a/boilerplate/update.cfg b/boilerplate/update.cfg index 6ed62933a4..45ff77d2ed 100644 --- a/boilerplate/update.cfg +++ b/boilerplate/update.cfg @@ -1,4 +1,3 @@ flyte/docker_build flyte/pull_request_template -flyte/welcome_bot flyte/code_of_conduct