Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Fix docker build failure in nighlty #364

Merged
merged 12 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nm-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:

# update docker
DOCKER:
needs: [BUILD]
needs: [BUILD, UPLOAD]
dhuangnm marked this conversation as resolved.
Show resolved Hide resolved
if: ${{ inputs.wf_category != 'REMOTE' }}
uses: ./.github/workflows/publish-docker.yml
with:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/nm-upload-assets-to-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,21 @@ on:
type: string
required: true

workflow_dispatch:
inputs:
label:
description: "requested runner label (specifies instance)"
type: string
required: true
timeout:
description: "time limit for run in minutes "
type: string
required: true
gitref:
description: 'git commit hash or branch name'
type: string
required: true

jobs:

PUBLISH:
Expand Down Expand Up @@ -70,3 +85,16 @@ jobs:
- name: cp assets
id: cp-assets
uses: ./.github/actions/nm-cp-assets/

- name: trigger stratus nm-pypi update workflow to update nm-pypi index
uses: actions/github-script@v6
with:
github-token: ${{ secrets.CICD_GITHUB_PAT }}
script: |
const result = await github.rest.actions.createWorkflowDispatch({
owner: 'neuralmagic',
repo: 'stratus',
workflow_id: 'nm-pypi-update.yml',
ref: 'main'
})
console.log(result)
Loading