Skip to content

Commit 9ad8a4d

Browse files
authored
chore: remove internal/librariangen following migration to librarian repo (#3971)
See: googleapis/librarian#2670
1 parent 0a1bbea commit 9ad8a4d

Some content is hidden

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

44 files changed

+5
-3450
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,6 @@ on:
55
pull_request:
66
name: ci
77
jobs:
8-
changes:
9-
runs-on: ubuntu-latest
10-
outputs:
11-
should_run: ${{ steps.filter.outputs.should_run }}
12-
steps:
13-
- uses: actions/checkout@v4
14-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
15-
id: filter
16-
with:
17-
filters: |
18-
should_run:
19-
- '!internal/librariangen/**'
208
build:
219
runs-on: ubuntu-22.04
2210
strategy:
@@ -71,8 +59,6 @@ jobs:
7159
./gradlew clean build publishToMavenLocal sourcesJar allJars
7260
popd
7361
build-java-21:
74-
needs: changes
75-
if: needs.changes.outputs.should_run == 'true'
7662
name: "build(21) except self-service clients"
7763
# Support for Java 21 is available for all use cases except self-service clients.
7864
runs-on: ubuntu-22.04
@@ -106,8 +92,6 @@ jobs:
10692
run: |
10793
bazelisk --batch test //test/integration/...
10894
build-java-25:
109-
needs: changes
110-
if: needs.changes.outputs.should_run == 'true'
11195
name: "build(25) except self-service clients"
11296
# Support for Java 25 is available for all use cases except self-service clients.
11397
runs-on: ubuntu-22.04
@@ -142,8 +126,6 @@ jobs:
142126
run: |
143127
bazelisk --batch test //test/integration/... --jvmopt=-Dcom.google.testing.junit.runner.shouldInstallTestSecurityManager=false
144128
build-java8-except-gapic-generator-java:
145-
needs: changes
146-
if: needs.changes.outputs.should_run == 'true'
147129
name: "build(8) except for gapic-generator-java"
148130
runs-on: ubuntu-22.04
149131
steps:
@@ -190,8 +172,6 @@ jobs:
190172
GOOGLE_SDK_JAVA_LOGGING: true
191173

192174
build-java8-gapic-generator-java:
193-
needs: changes
194-
if: needs.changes.outputs.should_run == 'true'
195175
name: "build(8) for gapic-generator-java"
196176
runs-on: ubuntu-22.04
197177
steps:
@@ -239,8 +219,6 @@ jobs:
239219
popd
240220
241221
lint:
242-
needs: changes
243-
if: needs.changes.outputs.should_run == 'true'
244222
runs-on: ubuntu-22.04
245223
steps:
246224
- uses: actions/checkout@v4
@@ -255,8 +233,6 @@ jobs:
255233
run: mvn -B -ntp fmt:check
256234

257235
compatibility:
258-
needs: changes
259-
if: needs.changes.outputs.should_run == 'true'
260236
runs-on: ubuntu-22.04
261237
steps:
262238
- uses: actions/checkout@v4
@@ -272,8 +248,6 @@ jobs:
272248
run: mvn package clirr:check -DskipTests -Dfmt.skip
273249

274250
build-java8-showcase:
275-
needs: changes
276-
if: needs.changes.outputs.should_run == 'true'
277251
name: "build(8) for showcase"
278252
runs-on: ubuntu-22.04
279253
steps:
@@ -400,8 +374,7 @@ jobs:
400374
--no-transfer-progress
401375
402376
showcase-clirr:
403-
needs: changes
404-
if: ${{ github.base_ref != '' && needs.changes.outputs.should_run == 'true' }}
377+
if: ${{ github.base_ref != '' }} # Only execute on pull_request trigger event
405378
runs-on: ubuntu-22.04
406379
steps:
407380
- name: Checkout @ target branch
@@ -432,8 +405,6 @@ jobs:
432405
mvn clirr:check -B -ntp -Dclirr.skip=false -DcomparisonVersion=$SHOWCASE_CLIENT_VERSION
433406
434407
gapic-generator-java-bom:
435-
needs: changes
436-
if: needs.changes.outputs.should_run == 'true'
437408
runs-on: ubuntu-22.04
438409
steps:
439410
- uses: actions/checkout@v4
@@ -451,8 +422,6 @@ jobs:
451422
bom-path: gapic-generator-java-bom/pom.xml
452423

453424
unmanaged_dependency_check:
454-
needs: changes
455-
if: needs.changes.outputs.should_run == 'true'
456425
runs-on: ubuntu-22.04
457426
steps:
458427
- uses: actions/checkout@v4
@@ -476,8 +445,6 @@ jobs:
476445
bom-path: gapic-generator-java-bom/pom.xml
477446

478447
dependency_analyzer_unit_test:
479-
needs: changes
480-
if: needs.changes.outputs.should_run == 'true'
481448
runs-on: ubuntu-22.04
482449
steps:
483450
- uses: actions/checkout@v4
@@ -491,4 +458,4 @@ jobs:
491458
- name: Unit Tests
492459
run: |
493460
mvn test --batch-mode --no-transfer-progress
494-
working-directory: java-shared-dependencies/dependency-analyzer
461+
working-directory: java-shared-dependencies/dependency-analyzer

.github/workflows/dependency_compatibility_test.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,7 @@ on:
1515
default: ''
1616

1717
jobs:
18-
changes:
19-
runs-on: ubuntu-latest
20-
outputs:
21-
should_run: ${{ steps.filter.outputs.should_run }}
22-
steps:
23-
- uses: actions/checkout@v4
24-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
25-
id: filter
26-
with:
27-
filters: |
28-
should_run:
29-
- '!internal/librariangen/**'
3018
dependency-compatibility-test:
31-
needs: changes
32-
if: needs.changes.outputs.should_run == 'true'
3319
runs-on: ubuntu-latest
3420
permissions:
3521
contents: read
@@ -87,4 +73,4 @@ jobs:
8773
else
8874
../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
8975
fi
90-
working-directory: java-showcase
76+
working-directory: java-showcase

.github/workflows/downstream.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
- library_generation/**
1010
- showcase/**
1111
- test/**
12-
- internal/librariangen/**
1312

1413
name: Downstream Check
1514
jobs:

.github/workflows/java_compatibility_check.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,7 @@ on:
1717
pull_request:
1818
name: Java 8 compatibility check
1919
jobs:
20-
changes:
21-
runs-on: ubuntu-latest
22-
outputs:
23-
should_run: ${{ steps.filter.outputs.should_run }}
24-
steps:
25-
- uses: actions/checkout@v4
26-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
27-
id: filter
28-
with:
29-
filters: |
30-
should_run:
31-
- '!internal/librariangen/**'
3220
java8-compatibility-check:
33-
needs: changes
34-
if: needs.changes.outputs.should_run == 'true'
3521
runs-on: ubuntu-latest
3622
steps:
3723
- uses: actions/checkout@v4
@@ -57,4 +43,4 @@ jobs:
5743
exit 1
5844
fi
5945
done
60-
echo "All class files are compatible with Java 8."
46+
echo "All class files are compatible with Java 8."

.github/workflows/librariangen-ci.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/sonar.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,7 @@ on:
66
pull_request:
77
types: [opened, synchronize, reopened]
88
jobs:
9-
changes:
10-
runs-on: ubuntu-latest
11-
outputs:
12-
should_run: ${{ steps.filter.outputs.should_run }}
13-
steps:
14-
- uses: actions/checkout@v4
15-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
16-
id: filter
17-
with:
18-
filters: |
19-
should_run:
20-
- '!internal/librariangen/**'
219
build:
22-
needs: changes
23-
if: needs.changes.outputs.should_run == 'true'
2410
name: Build
2511
runs-on: ubuntu-22.04
2612
steps:
@@ -90,4 +76,4 @@ jobs:
9076
-Dsonar.projectKey=googleapis_gapic-generator-java_integration_tests \
9177
-Dsonar.organization=googleapis \
9278
-Dsonar.host.url=https://sonarcloud.io \
93-
-Dsonar.projectName=java_showcase_integration_tests
79+
-Dsonar.projectName=java_showcase_integration_tests

go.work

Lines changed: 0 additions & 3 deletions
This file was deleted.

internal/librariangen/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

internal/librariangen/Dockerfile

Lines changed: 0 additions & 65 deletions
This file was deleted.

internal/librariangen/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)