Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 45bbda7

Browse files
author
Corneil du Plessis
committed
Merge remote-tracking branch 'origin/2.11.x' into 2.11.x
# Conflicts: # .github/workflows/build-snapshot-worker.yml # .github/workflows/ci-it-security.yml # .github/workflows/ci-pr.yml # .github/workflows/schedule-train-builds.yml
2 parents 4f2813d + 91d334e commit 45bbda7

File tree

5 files changed

+14
-23
lines changed

5 files changed

+14
-23
lines changed

.github/workflows/build-snapshot-worker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
4343
restore-keys: |
4444
${{ runner.os }}-m2-
45+
4546
- name: Login dockerhub
4647
uses: docker/login-action@v3
4748
with:

.github/workflows/ci-it-security.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
username: ${{ secrets.DOCKERHUB_USERNAME }}
2626
password: ${{ secrets.DOCKERHUB_TOKEN }}
27+
2728
- name: Run Security IT
2829
run: |
2930
mvn \

.github/workflows/ci-pr.yml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,30 @@ name: CI PRs
33
on:
44
pull_request:
55

6+
env:
7+
MAVEN_THREADS: '-T 1'
8+
69
jobs:
710
build:
811
runs-on: ubuntu-latest
912
steps:
1013
- uses: actions/checkout@v4
11-
# cache maven repo
1214
- uses: jlumbroso/free-disk-space@main
1315
with:
1416
tool-cache: false
1517
dotnet: false
1618
docker-images: false
1719
swap-storage: false
1820
large-packages: false
19-
# jdk8
2021
- uses: actions/setup-java@v3
2122
with:
2223
java-version: '8'
2324
distribution: 'liberica'
24-
- uses: jvalkeal/setup-maven@v1
25-
with:
26-
maven-version: 3.8.8
27-
maven-mirror: 'https://dlcdn.apache.org/maven/maven-3/'
28-
- name: Login dockerhub
29-
uses: docker/login-action@v3
30-
with:
31-
username: ${{ secrets.DOCKERHUB_USERNAME }}
32-
password: ${{ secrets.DOCKERHUB_TOKEN }}
33-
# build
3425
- name: Build
3526
shell: bash
3627
timeout-minutes: 75
3728
run: |
38-
mvn -B -s .github/settings.xml clean install
39-
- name: Test Report
40-
uses: dorny/test-reporter@v1
41-
if: ${{ success() || failure() }}
42-
with:
43-
name: Unit Tests
44-
path: '**/surefire-reports/*.xml'
45-
reporter: java-junit
46-
list-tests: failed
29+
./mvnw -B -s .github/settings.xml clean install
4730
- name: Capture Test Results
4831
if: failure()
4932
uses: actions/upload-artifact@v3

.github/workflows/schedule-train-builds.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
branch: [2.11.x]
14-
# branch: [main, 2.11.x] # resume when main is 3.x
13+
branch: [main, 2.10.x]
1514
steps:
1615
- uses: benc-uk/workflow-dispatch@v1
1716
with:

src/deploy/carvel/deploy-scdf.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ fi
111111
"$SCDIR/carvel-import-secret.sh" "scdfmetadata" "$NS"
112112
"$SCDIR/carvel-import-secret.sh" "reg-creds-dockerhub" "$NS"
113113

114+
if [ "$SCDF_TYPE" = "pro" ]; then
115+
"$SCDIR/carvel-import-secret.sh" "reg-creds-dev-registry" "$NS"
116+
fi
117+
118+
"$SCDIR/carvel-import-secret.sh" "scdfmetadata" "$NS"
119+
"$SCDIR/carvel-import-secret.sh" "reg-creds-dockerhub" "$NS"
120+
114121
if [ "$SCDF_TYPE" = "pro" ]; then
115122
"$SCDIR/carvel-import-secret.sh" "reg-creds-dev-registry" "$NS"
116123
fi

0 commit comments

Comments
 (0)