Skip to content

Commit

Permalink
Last commit to gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
trvachov committed Jul 24, 2024
1 parent 0fbd59b commit 236e159
Showing 1 changed file with 31 additions and 14 deletions.
45 changes: 31 additions & 14 deletions .github/blossom-ci.yml → .github/workflows/blossom-ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
# Copyright (c) 2020-2021, NVIDIA CORPORATION.
#
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
# property and proprietary rights in and to this material, related
# documentation and any modifications thereto. Any use, reproduction,
# disclosure or distribution of this material and related documentation
# without an express license agreement from NVIDIA CORPORATION or
# its affiliates is strictly prohibited.

# 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.

# A workflow to trigger ci on hybrid infra (github + self hosted runner)
name: Blossom-CI
Expand All @@ -31,8 +34,22 @@ jobs:

# This job only runs for pull request comments
if: |
contains( 'ravitestgit,', format('{0},', github.actor)) &&
github.event.comment.body == '/blossom-ci'
github.event.comment.body == '/build-ci' &&
(github.actor == 'ohadmo' ||
github.actor == 'trvachov' ||
github.actor == 'jstjohn' ||
github.actor == 'pstjohn' ||
github.actor == 'malcolmgreaves' ||
github.actor == 'gwarmstrong' ||
github.actor == 'farhadrgh' ||
github.actor == 'dorotat-nv' ||
github.actor == 'jomitchellnv' ||
github.actor == 'skothenhill-nv' ||
github.actor == 'yzhang123' ||
github.actor == 'ntadimeti' ||
github.actor == 'broland-hat' ||
github.actor == 'polinabinder1' ||
github.actor == 'camirr-nv')
steps:
- name: Check if comment is issued by authorized person
run: blossom-ci
Expand Down Expand Up @@ -88,12 +105,12 @@ jobs:
CI_SERVER: ${{ secrets.CI_SERVER }}
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Post-processing:
name: Post processing
Upload-Log:
name: Upload log
runs-on: blossom
if : github.event_name == 'workflow_dispatch'
steps:
- name: Start post processing
- name: Jenkins log for pull request ${{ fromJson(github.event.inputs.args).pr }} (click here)
run: blossom-ci
env:
OPERATION: 'POST-PROCESSING'
Expand Down

0 comments on commit 236e159

Please sign in to comment.