Skip to content

Commit

Permalink
Don't bother
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Dec 6, 2023
1 parent afb11e9 commit 2c1517a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 40 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/dev-to-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ on:
# This is to make sure this workflow doesn't get triggered after a bump commit
tags-ignore:
- '*rc*'
workflow_dispatch:
inputs:
# For creating a backport client version
server-tag:
required: true
default: 'latest'
description: 'Server docker image tag'
use-server-rc:
required: true
default: false
type: boolean

jobs:
promote-dev-build-to-rc:
Expand All @@ -32,8 +21,7 @@ jobs:
needs: promote-dev-build-to-rc
uses: ./.github/workflows/stage-tests.yml
with:
server-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.server-tag || 'latest' }}
use-server-rc: ${{ github.event_name == 'workflow_dispatch' && inputs.use-server-rc || false }}
use-server-rc: false
commit_sha: ${{ needs.promote-dev-build-to-rc.outputs.bump_sha }}
secrets: inherit

Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/merge-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,6 @@ on:
- closed
branches:
- 'dev'
workflow_dispatch:
inputs:
# Disable this to skip testing the wheel right after building it
# This is useful if we need to debug later parts of the pipeline
run_server_release_tests:
description: "Run server release tests"
required: true
type: boolean
default: true
# Override the default server version to test against
# This is helpful if you need to create a backport from an older client major version
# And that older client major version does not accomodate for breaking changes in the latest server version
server-release-tag:
required: true
default: 'latest'
description: 'Server release docker image tag'
# In case the latest server RC is faulty for some reason
server-rc-tag:
required: true
default: 'latest'
description: 'Server RC docker image tag'

jobs:
bump-dev-number:
Expand All @@ -42,8 +21,6 @@ jobs:
needs: bump-dev-number
uses: ./.github/workflows/build-wheels.yml
with:
server-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.server-release-tag || 'latest' }}
run_tests: ${{ github.event_name == 'workflow_dispatch' && inputs.run_server_release_tests || true }}
commit_sha: ${{ needs.bump-dev-number.outputs.bump_sha }}
secrets:
DOCKER_HUB_BOT_USERNAME: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}
Expand Down Expand Up @@ -72,7 +49,6 @@ jobs:
]
uses: ./.github/workflows/test-server-rc.yml
with:
server-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.server-rc-tag || 'latest' }}
build-number: ${{ needs.bump-dev-number.outputs.new_version }}
commit_sha: ${{ needs.bump-dev-number.outputs.bump_sha }}
secrets:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stage-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
commit_sha:
type: string
required: true
# Default values for workflow_call to use
use-server-rc:
type: boolean
required: false
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test-server-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ on:
commit_sha:
type: string
required: false
# Override the default server version to test against
# This is helpful if you need to create a backport from an older client major version
# And that older client major version does not accomodate for breaking changes in the latest server version
# TODO: Not using the following secrets for workflow_call
server-tag:
type: string
required: false
Expand Down

0 comments on commit 2c1517a

Please sign in to comment.