Skip to content

Commit

Permalink
Bumped the JDK version and all the workflows actions
Browse files Browse the repository at this point in the history
  • Loading branch information
eliax1996 committed May 3, 2024
1 parent 7c142d0 commit 66cb08f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ jobs:
#- run: |
# make bootstrap
# make release
- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v4.2.1
with:
java-version: 11
distribution: 'jdkfile'
java-version: '17'

- name: Build with Gradle
run: ./gradlew build
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Java SDK
uses: actions/setup-java@v1.4.3
uses: actions/setup-java@v4.2.1
with:
java-version: 11
distribution: 'jdkfile'
java-version: '17'

- name: Checkout code
uses: actions/checkout@v2
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/master_push_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4.2.1
with:
java-version: 11
distribution: 'jdkfile'
java-version: '17'
- name: Build with Gradle
run: ./gradlew build integrationTest
5 changes: 3 additions & 2 deletions .github/workflows/pull_request_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v4.2.1
with:
java-version: 17
distribution: 'jdkfile'
java-version: '17'
- name: Build with Gradle
run: ./gradlew build integrationTest
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ public final class SchemaRegistryContainer extends GenericContainer<SchemaRegist
public static final int SCHEMA_REGISTRY_PORT = 8081;

public SchemaRegistryContainer(final KafkaContainer kafka) {
this("5.0.4", kafka);
this("3.7.0", kafka);
}

public SchemaRegistryContainer(final String confluentPlatformVersion, final KafkaContainer kafka) {
super("confluentinc/cp-schema-registry:" + confluentPlatformVersion);
super("ghcr.io/aiven/karapace:" + confluentPlatformVersion);

dependsOn(kafka);
withNetwork(kafka.getNetwork());
withNetworkAliases("schema-registry-" + Base58.randomString(6));

withEnv("SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS",
withEnv("KARAPACE_BOOTSTRAP_URI",
String.format("PLAINTEXT://%s:%s", kafka.getNetworkAliases().get(0), 9092));

withExposedPorts(SCHEMA_REGISTRY_PORT);
withEnv("SCHEMA_REGISTRY_HOST_NAME", "localhost");
withEnv("SCHEMA_REGISTRY_HOST_NAME", "localhost"); // probably useless for karapace
}

public String getSchemaRegistryUrl() {
Expand Down

0 comments on commit 66cb08f

Please sign in to comment.