Skip to content

Commit e132734

Browse files
committed
Removed all references to legate-gh-ci
1 parent 072cbd9 commit e132734

File tree

8 files changed

+17
-90
lines changed

8 files changed

+17
-90
lines changed

.github/actions/build/action.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232

3333
<% for package_id, package_info in packages.items() %>
3434
- name: Download <<package_info.repo>> (artifacts)
35-
uses: ./legate-gh-ci/.github/actions/download-artifacts
35+
uses: ./.github/actions/download-artifacts
3636
with:
3737
artifact-repo: "<<package_info.repo>>"
3838
artifact-name: "<<package_info.artifact_name | replace_placeholder('repo', package_info.repo) | replace_placeholder('git_tag', package_info.git_tag) >>"

.github/actions/setup/action.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ inputs:
1313
platform:
1414
required: true
1515
type: string
16-
legate-gh-ci-tag:
17-
required: true
18-
type: string
1916
build-mode:
2017
required: true
2118
type: string
@@ -29,13 +26,6 @@ inputs:
2926
runs:
3027
using: composite
3128
steps:
32-
- name: Set LEGATE_GH_CI_DIR dir
33-
shell: bash --noprofile --norc -xeuo pipefail {0}
34-
run: |
35-
cd legate-gh-ci
36-
echo "LEGATE_GH_CI_DIR=$(pwd)" >> $GITHUB_ENV
37-
env
38-
3929
- name: Checkout ${{ inputs.client-repo }}
4030
uses: actions/checkout@v4
4131
with:
@@ -54,7 +44,7 @@ runs:
5444
run: |
5545
5646
WITH_TESTS_STR=''
57-
if [[ ("${{ inputs.upload-enabled }}" == "false") && ("${{ inputs.build-type }}" != "ci") ]]; then
47+
if [[ ("${{ inputs.upload-enabled }}" == "false") && ("${{ inputs.build-type }}" != "ci") ]]; then
5848
WITH_TESTS_STR='-with_tests'
5949
fi
6050

.github/workflows/actions/setup/action.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ inputs:
1313
platform:
1414
required: true
1515
type: string
16-
legate-gh-ci-tag:
17-
required: true
18-
type: string
1916
build-mode:
2017
required: true
2118
type: string
@@ -29,13 +26,6 @@ inputs:
2926
runs:
3027
using: composite
3128
steps:
32-
- name: Set LEGATE_GH_CI_DIR dir
33-
shell: bash --noprofile --norc -xeuo pipefail {0}
34-
run: |
35-
cd legate-gh-ci
36-
echo "LEGATE_GH_CI_DIR=$(pwd)" >> $GITHUB_ENV
37-
env
38-
3929
- name: Checkout ${{ inputs.client-repo }}
4030
uses: actions/checkout@v4
4131
with:
@@ -54,7 +44,7 @@ runs:
5444
run: |
5545
5646
WITH_TESTS_STR=''
57-
if [[ ("${{ inputs.upload-enabled }}" == "false") && ("${{ inputs.build-type }}" != "ci") ]]; then
47+
if [[ ("${{ inputs.upload-enabled }}" == "false") && ("${{ inputs.build-type }}" != "ci") ]]; then
5848
WITH_TESTS_STR='-with_tests'
5949
fi
6050

.github/workflows/gh-build-and-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build:
2121
if: ${{ github.repository_owner == 'nvidia' }}
2222
uses:
23-
nv-legate/legate-gh-ci/.github/workflows/gh-build.yml@v1.10
23+
.github/workflows/gh-build.yml
2424
with:
2525
client-repo: ${{ github.event.repository.name }}
2626
target-device: ${{ inputs.target-device }}
@@ -29,7 +29,6 @@ jobs:
2929
use-container: ${{ inputs.platform == 'linux-x64' || inputs.platform == 'linux-aarch64'}}
3030
platform: ${{ inputs.platform }}
3131
dependencies-file: ""
32-
legate-gh-ci-tag: "v1.10"
3332
build-mode: ${{ inputs.build-mode }}
3433
upload-enabled: ${{ inputs.upload-enabled }}
3534
secrets: inherit

.github/workflows/gh-build.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ on:
2626
required: true
2727
type: string
2828
description: path to versions.json relative to the target repo dir
29-
legate-gh-ci-tag:
30-
required: true
31-
type: string
3229
build-mode:
3330
required: true
3431
type: string
@@ -50,23 +47,13 @@ jobs:
5047
runs-on: ${{ inputs.runs-on }}
5148

5249
steps:
53-
- name: Checkout legate-gh-ci
54-
uses: actions/checkout@v4
55-
with:
56-
repository: 'nv-legate/legate-gh-ci'
57-
ref: ${{ inputs.legate-gh-ci-tag }}
58-
token: ${{ secrets.NV_LEGATE_INTER_REPOS_ACCESS_RO }}
59-
fetch-depth: 0
60-
path: legate-gh-ci
61-
6250
- name: Setup
63-
uses: ./legate-gh-ci/.github/actions/setup
51+
uses: ./.github/actions/setup
6452
with:
6553
client-repo: ${{ inputs.client-repo }}
6654
build-type: ${{ inputs.build-type }}
6755
target-device: "${{ inputs.target-device }}"
6856
platform: ${{ inputs.platform }}
69-
legate-gh-ci-tag: ${{ inputs.legate-gh-ci-tag }}
7057
build-mode: ${{ inputs.build-mode }}
7158
upload-enabled: ${{ inputs.upload-enabled }}
7259
python-version: ${{ inputs.python-version }}
@@ -79,21 +66,21 @@ jobs:
7966
DEPENDENCIES_FILE=""
8067
8168
if [ -z "${{ inputs.dependencies-file }}" ]; then
82-
DEPENDENCIES_FILE="legate-gh-ci/no_dependencies.json"
69+
DEPENDENCIES_FILE="${REPO_DIR}/continous_integration/no_dependencies.json"
8370
else
84-
DEPENDENCIES_FILE="${{ inputs.client-repo }}/${{ inputs.dependencies-file }}"
71+
DEPENDENCIES_FILE="${REPO_DIR}/${{ inputs.dependencies-file }}"
8572
fi
8673
87-
legate-gh-ci/scripts/render-template.py legate-gh-ci/.github/actions/build/action.yml.j2 "${DEPENDENCIES_FILE}" legate-gh-ci/.github/actions/build/action.yml
74+
${REPO_DIR}/continous_integration/scripts/render-template.py ${REPO_DIR}/.github/actions/build/action.yml.j2 "${DEPENDENCIES_FILE}" ${REPO_DIR}/.github/actions/build/action.yml
8875
8976
- name: Dump templates
9077
shell: bash --noprofile --norc -xeuo pipefail {0}
9178
run: |
92-
echo legate-gh-ci/.github/actions/build/action.yml
93-
cat legate-gh-ci/.github/actions/build/action.yml
79+
echo ${REPO_DIR}/.github/actions/build/action.yml
80+
cat ${REPO_DIR}/.github/actions/build/action.yml
9481
9582
- name: Call build action
96-
uses: ./legate-gh-ci/.github/actions/build
83+
uses: ./.github/actions/build
9784
with:
9885
build-type: ${{ inputs.build-type }}
9986
target-device: "${{ inputs.target-device }}"

.github/workflows/gh-test-within-container.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ on:
2828
platform:
2929
required: true
3030
type: string
31-
legate-gh-ci-tag:
32-
required: true
33-
type: string
3431
build-mode:
3532
required: true
3633
type: string
@@ -58,29 +55,19 @@ jobs:
5855
shell: bash --noprofile --norc -xeuo pipefail {0}
5956

6057
steps:
61-
- name: Checkout legate-gh-ci
62-
uses: actions/checkout@v4
63-
with:
64-
repository: 'nv-legate/legate-gh-ci'
65-
ref: ${{ inputs.legate-gh-ci-tag }}
66-
token: ${{ secrets.NV_LEGATE_INTER_REPOS_ACCESS_RO }}
67-
fetch-depth: 0
68-
path: legate-gh-ci
69-
7058
- name: Setup
71-
uses: ./legate-gh-ci/.github/actions/setup
59+
uses: ./.github/actions/setup
7260
with:
7361
client-repo: ${{ inputs.client-repo }}
7462
build-type: ${{ inputs.build-type }}
7563
target-device: "${{ inputs.target-device }}"
7664
platform: ${{ inputs.platform }}
77-
legate-gh-ci-tag: ${{ inputs.legate-gh-ci-tag }}
7865
build-mode: ${{ inputs.build-mode }}
7966
upload-enabled: ${{ inputs.upload-enabled }}
8067
python-version: ${{ inputs.python-version }}
8168

8269
- name: Call test action
83-
uses: ./legate-gh-ci/.github/actions/test
70+
uses: ./.github/actions/test
8471
with:
8572
test-options: ${{ inputs.test-options }}
8673
has-gpu: ${{ inputs.has-gpu }}

.github/workflows/gh-test-without-container.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ on:
2828
platform:
2929
required: true
3030
type: string
31-
legate-gh-ci-tag:
32-
required: true
33-
type: string
3431
build-mode:
3532
required: true
3633
type: string
@@ -52,29 +49,19 @@ jobs:
5249
shell: bash --noprofile --norc -xeuo pipefail {0}
5350

5451
steps:
55-
- name: Checkout legate-gh-ci
56-
uses: actions/checkout@v4
57-
with:
58-
repository: 'nv-legate/legate-gh-ci'
59-
ref: ${{ inputs.legate-gh-ci-tag }}
60-
token: ${{ secrets.NV_LEGATE_INTER_REPOS_ACCESS_RO }}
61-
fetch-depth: 0
62-
path: legate-gh-ci
63-
6452
- name: Setup
65-
uses: ./legate-gh-ci/.github/actions/setup
53+
uses: ./.github/actions/setup
6654
with:
6755
client-repo: ${{ inputs.client-repo }}
6856
build-type: ${{ inputs.build-type }}
6957
target-device: "${{ inputs.target-device }}"
7058
platform: ${{ inputs.platform }}
71-
legate-gh-ci-tag: ${{ inputs.legate-gh-ci-tag }}
7259
build-mode: ${{ inputs.build-mode }}
7360
upload-enabled: ${{ inputs.upload-enabled }}
7461
python-version: ${{ inputs.python-version }}
7562

7663
- name: Call test action
77-
uses: ./legate-gh-ci/.github/actions/test
64+
uses: ./.github/actions/test
7865
with:
7966
test-options: ${{ inputs.test-options }}
8067
has-gpu: ${{ inputs.has-gpu }}

.github/workflows/gh-upload.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ on:
1818
platform:
1919
required: true
2020
type: string
21-
legate-gh-ci-tag:
22-
required: true
23-
type: string
2421
build-mode:
2522
required: true
2623
type: string
@@ -59,29 +56,19 @@ jobs:
5956
shell: bash --noprofile --norc -xeuo pipefail {0}
6057

6158
steps:
62-
- name: Checkout legate-gh-ci
63-
uses: actions/checkout@v4
64-
with:
65-
repository: 'nv-legate/legate-gh-ci'
66-
ref: ${{ inputs.legate-gh-ci-tag }}
67-
token: ${{ secrets.NV_LEGATE_INTER_REPOS_ACCESS_RO }}
68-
fetch-depth: 0
69-
path: legate-gh-ci
70-
7159
- name: Setup env variables
72-
uses: ./legate-gh-ci/.github/actions/setup
60+
uses: ./.github/actions/setup
7361
with:
7462
client-repo: ${{ inputs.client-repo }}
7563
build-type: ${{ inputs.build-type }}
7664
target-device: "${{ inputs.target-device }}"
7765
platform: ${{ inputs.platform }}
78-
legate-gh-ci-tag: ${{ inputs.legate-gh-ci-tag }}
7966
build-mode: ${{ inputs.build-mode }}
8067
upload-enabled: ${{ inputs.upload-enabled }}
8168
python-version: ${{ inputs.python-version }}
8269

8370
- name: Call upload action
84-
uses: ./legate-gh-ci/.github/actions/upload
71+
uses: ./.github/actions/upload
8572
with:
8673
urmToken: ${{ secrets.URM_ARTIFACT_TOKEN }}
8774
upload-action: ${{ inputs.upload-action }}

0 commit comments

Comments
 (0)