Skip to content

Commit 6c30d77

Browse files
committed
comment out mongo since disabling isn't enough
1 parent 6d6a208 commit 6c30d77

File tree

1 file changed

+32
-31
lines changed

1 file changed

+32
-31
lines changed

.github/workflows/gradle.yml

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -34,36 +34,36 @@ jobs:
3434
env:
3535
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
3636
run: ./gradlew cleanTest build --continue -PonlyDatastoreTests
37-
mongodb-build:
38-
if: false # TODO: Remove once we can run mongo
39-
name: "Build Mongodb Project"
40-
runs-on: ubuntu-24.04
41-
strategy:
42-
fail-fast: false
43-
matrix:
44-
java: [ 17, 21 ]
45-
mongodb-version: [ '4', '5', '6', '7', '8' ]
46-
steps:
47-
- name: "📥 Checkout the repository"
48-
uses: actions/checkout@v4
49-
- name: "☕️ Setup JDK"
50-
uses: actions/setup-java@v4
51-
with:
52-
java-version: ${{ matrix.java }}
53-
distribution: liberica
54-
- name: "🐘 Setup Gradle"
55-
uses: gradle/actions/setup-gradle@v4
56-
with:
57-
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
58-
- name: "▶️ Start MongoDB (needed for some tests)"
59-
uses: supercharge/mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # v1.12.0 (Use commit sha as this is a 3rd party action)
60-
with:
61-
mongodb-version: ${{ matrix.mongodb-version }}
62-
- name: "🔨 Run Build"
63-
id: build
64-
env:
65-
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
66-
run: ./gradlew cleanTest build --continue -PonlyMongodbTests
37+
# mongodb-build:
38+
# if: false # TODO: Remove once we can run mongo
39+
# name: "Build Mongodb Project"
40+
# runs-on: ubuntu-24.04
41+
# strategy:
42+
# fail-fast: false
43+
# matrix:
44+
# java: [ 17, 21 ]
45+
# mongodb-version: [ '4', '5', '6', '7', '8' ]
46+
# steps:
47+
# - name: "📥 Checkout the repository"
48+
# uses: actions/checkout@v4
49+
# - name: "☕️ Setup JDK"
50+
# uses: actions/setup-java@v4
51+
# with:
52+
# java-version: ${{ matrix.java }}
53+
# distribution: liberica
54+
# - name: "🐘 Setup Gradle"
55+
# uses: gradle/actions/setup-gradle@v4
56+
# with:
57+
# develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
58+
# - name: "▶️ Start MongoDB (needed for some tests)"
59+
# uses: supercharge/mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # v1.12.0 (Use commit sha as this is a 3rd party action)
60+
# with:
61+
# mongodb-version: ${{ matrix.mongodb-version }}
62+
# - name: "🔨 Run Build"
63+
# id: build
64+
# env:
65+
# GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
66+
# run: ./gradlew cleanTest build --continue -PonlyMongodbTests
6767
hibernate5-build:
6868
if: false # TODO: Remove after publishing to core
6969
name: "Build Hibernate5 Project"
@@ -92,7 +92,8 @@ jobs:
9292
publish:
9393
if: github.event_name == 'push'
9494
name: "Publish Snapshot"
95-
needs: [datastore-build, hibernate5-build, mongodb-build]
95+
#needs: [datastore-build, hibernate5-build, mongodb-build] # Fix once mongo db action is added
96+
needs: [datastore-build, hibernate5-build]
9697
runs-on: ubuntu-24.04
9798
steps:
9899
- name: "📥 Checkout the repository"

0 commit comments

Comments
 (0)