Skip to content

Commit 531b09b

Browse files
authored
Merge branch 'lightspeed-core:main' into HF_e2e_fix
2 parents 36fd4ff + f1ccb35 commit 531b09b

142 files changed

Lines changed: 74141 additions & 1550 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/pr-title-checker-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"color": "EEEEEE"
55
},
66
"CHECKS": {
7-
"prefixes": ["LCORE-", "RSPEED-", "MGTM-", "OLS-", "RHDHPAI-", "LEADS-"]
7+
"prefixes": ["LCORE-", "RSPEED-", "MGTM-", "OLS-", "RHIDP-", "LEADS-", "CWFHEALTH-"]
88
},
99
"MESSAGES": {
1010
"success": "All OK",

.github/workflows/build_and_push_dev.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
sudo apt install -y buildah qemu-user-static
2727
- name: Checkout code
2828
uses: actions/checkout@v4
29+
with:
30+
# Fetch submodules (required for lightspeed-providers)
31+
submodules: 'recursive'
2932
- name: Create dev image tag
3033
run: |
3134
echo "DEV_TAG=dev-$(date +%Y%m%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV

.github/workflows/build_and_push_release.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,22 @@ jobs:
2828
sudo apt install -y buildah qemu-user-static
2929
- name: Checkout code
3030
uses: actions/checkout@v4
31+
with:
32+
# Fetch submodules (required for lightspeed-providers)
33+
submodules: 'recursive'
34+
# Fetch all tags to determine latest stable version
35+
fetch-tags: true
36+
- name: Determine if latest tag should be applied
37+
id: check_latest
38+
run: ./scripts/latest-tag.py
3139
- name: Build image with Buildah
3240
id: build_image
3341
uses: redhat-actions/buildah-build@v2
3442
with:
3543
image: ${{ env.IMAGE_NAME }}
36-
tags: |
44+
tags: >-
3745
${{ env.GIT_TAG }}
38-
${{ env.LATEST_TAG }}
46+
${{ steps.check_latest.outputs.apply_latest == 'true' && env.LATEST_TAG || '' }}
3947
containerfiles: |
4048
${{ env.CONTAINER_FILE }}
4149
archs: amd64, arm64
@@ -48,7 +56,7 @@ jobs:
4856
- name: Check manifest
4957
run: |
5058
set -x
51-
buildah manifest inspect ${{ steps.build_image.outputs.image }}:${{ env.LATEST_TAG }}
59+
buildah manifest inspect ${{ steps.build_image.outputs.image-with-tag }}
5260
- name: Push image to Quay.io
5361
uses: redhat-actions/push-to-registry@v2
5462
with:

.github/workflows/build_pr.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
sudo apt install -y buildah qemu-user-static
2525
- name: Checkout code
2626
uses: actions/checkout@v4
27+
with:
28+
# Fetch submodules (required for lightspeed-providers)
29+
submodules: 'recursive'
2730
- name: Build image with Buildah
2831
id: build_image
2932
uses: redhat-actions/buildah-build@v2

.github/workflows/e2e_tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
# Don’t keep credentials when running untrusted PR code under PR_TARGET.
3838
persist-credentials: ${{ github.event_name != 'pull_request_target' }}
3939

40+
# Fetch submodules (required for lightspeed-providers)
41+
submodules: ‘recursive’
42+
4043
- name: Verify actual git checkout result
4144
run: |
4245
echo "=== Git Status After Checkout ==="

.github/workflows/e2e_tests_lightspeed_evaluation.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
# Don’t keep credentials when running untrusted PR code under PR_TARGET.
3131
persist-credentials: ${{ github.event_name != 'pull_request_target' }}
3232

33+
# Fetch submodules (required for lightspeed-providers)
34+
submodules: 'recursive'
35+
3336
- name: Verify actual git checkout result
3437
run: |
3538
echo "=== Git Status After Checkout ==="

.github/workflows/e2e_tests_providers.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ jobs:
6262
# Don’t keep credentials when running untrusted PR code under PR_TARGET.
6363
persist-credentials: ${{ github.event_name != 'pull_request_target' }}
6464

65+
# Fetch submodules (required for lightspeed-providers)
66+
submodules: 'recursive'
67+
6568
- name: Verify actual git checkout result
6669
run: |
6770
echo "=== Git Status After Checkout ==="

.github/workflows/e2e_tests_rhaiis.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
# Don’t keep credentials when running untrusted PR code under PR_TARGET.
5252
persist-credentials: ${{ github.event_name != 'pull_request_target' }}
5353

54+
# Fetch submodules (required for lightspeed-providers)
55+
submodules: 'recursive'
56+
5457
- name: Verify actual git checkout result
5558
run: |
5659
echo "=== Git Status After Checkout ==="

.github/workflows/e2e_tests_rhelai.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
# Don’t keep credentials when running untrusted PR code under PR_TARGET.
4646
persist-credentials: ${{ github.event_name != 'pull_request_target' }}
4747

48+
# Fetch submodules (required for lightspeed-providers)
49+
submodules: 'recursive'
50+
4851
- name: Verify actual git checkout result
4952
run: |
5053
echo "=== Git Status After Checkout ==="

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "providers"]
2+
path = providers
3+
url = https://github.com/lightspeed-core/lightspeed-providers.git

0 commit comments

Comments
 (0)