Skip to content

WIP : DO NOT MERGE!

WIP : DO NOT MERGE! #2

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Build dev and main branches
on:
push:
branches:
- 'branch-*'
- 'main'
- 'pull-request/**'
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
permissions:
actions: none
checks: none
contents: read
deployments: none
discussions: none
id-token: write
issues: none
packages: read
pages: none
pull-requests: read
repository-projects: none
security-events: none
statuses: none
jobs:
ci_pipe:
name: CI Pipeline
uses: ./.github/workflows/ci_pipe.yml
with:
# Run checks for branch-* but not main
run_check: ${{ startsWith(github.ref_name, 'branch-') }}
# Always perform a conda-build for main/dev branches
conda_run_build: true
# Use 'main' for main branch and 'dev' for all other branches
conda_upload_label: ${{ (github.ref_name == 'main') && 'main' || 'dev' }}
# Build container
container: nvcr.io/ea-nvidia-morpheus/morpheus:mrc-ci-build-240214
# Test container
test_container: nvcr.io/ea-nvidia-morpheus/morpheus:mrc-ci-test-240214
# CI pipe allows for an empty value
pr_info: ''
workflow: ${{ github.workflow || 'undef' }}
label: ${{ github.event.pull_request.head.label || 'undef' }}
head_ref: ${{ github.head_ref || 'undef' }}
ref: ${{ github.ref || 'undef' }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CONDA_TOKEN: ${{ secrets.CONDA_TOKEN }}
NGC_API_KEY: ${{ secrets.NGC_API_KEY }}