Skip to content

Commit

Permalink
disable publish for full run t5x
Browse files Browse the repository at this point in the history
  • Loading branch information
hemildesai committed Nov 29, 2023
1 parent 0a2958b commit a5bbf24
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/nightly-t5x-test-mgmn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,36 +57,36 @@ jobs:
T5X_IMAGE: ${{ needs.metadata.outputs.T5X_IMAGE }}
secrets: inherit

publish:
needs: [metadata, run-jobs]
uses: ./.github/workflows/_publish_t5x_results.yaml
if: (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') || github.event_name == 'workflow_dispatch'
with:
BUILD_DATE: ${{ needs.metadata.outputs.BUILD_DATE }}
EXPERIMENT_SUBDIR: T5X
secrets: inherit
# publish:
# needs: [metadata, run-jobs]
# uses: ./.github/workflows/_publish_t5x_results.yaml
# if: (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') || github.event_name == 'workflow_dispatch'
# with:
# BUILD_DATE: ${{ needs.metadata.outputs.BUILD_DATE }}
# EXPERIMENT_SUBDIR: T5X
# secrets: inherit

publish-verified:
if: needs.run-jobs.outputs.TEST_STATUS == 'success' && ((github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') || (github.event_name == 'workflow_dispatch' && inputs.PUBLISH))
needs: [metadata, run-jobs]
uses: ./.github/workflows/_publish_container.yaml
secrets: inherit
with:
SOURCE_IMAGE: ${{ needs.metadata.outputs.T5X_IMAGE }}
TARGET_IMAGE: upstream-t5x
TARGET_TAGS: |
type=raw,value=latest-verified,priority=1000
# publish-verified:
# if: needs.run-jobs.outputs.TEST_STATUS == 'success' && ((github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') || (github.event_name == 'workflow_dispatch' && inputs.PUBLISH))
# needs: [metadata, run-jobs]
# uses: ./.github/workflows/_publish_container.yaml
# secrets: inherit
# with:
# SOURCE_IMAGE: ${{ needs.metadata.outputs.T5X_IMAGE }}
# TARGET_IMAGE: upstream-t5x
# TARGET_TAGS: |
# type=raw,value=latest-verified,priority=1000

triage:
needs: [metadata, run-jobs]
uses: ./.github/workflows/_triage.yaml
if: needs.run-jobs.outputs.TEST_STATUS != 'success' && ((github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') || github.event_name == 'workflow_dispatch')
secrets: inherit
with:
BROKEN_IMAGE: ${{ needs.metadata.outputs.T5X_IMAGE }}
BASE_IMAGE: ghcr.io/nvidia/upstream-t5x:latest-verified
REPO_DIRS: "/opt/t5x /opt/flax"
FILE_ISSUE: true
# triage:
# needs: [metadata, run-jobs]
# uses: ./.github/workflows/_triage.yaml
# if: needs.run-jobs.outputs.TEST_STATUS != 'success' && ((github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') || github.event_name == 'workflow_dispatch')
# secrets: inherit
# with:
# BROKEN_IMAGE: ${{ needs.metadata.outputs.T5X_IMAGE }}
# BASE_IMAGE: ghcr.io/nvidia/upstream-t5x:latest-verified
# REPO_DIRS: "/opt/t5x /opt/flax"
# FILE_ISSUE: true

if-upstream-failed:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a5bbf24

Please sign in to comment.