Skip to content

Commit

Permalink
Move Pulsar container to use 'latest' tag
Browse files Browse the repository at this point in the history
  • Loading branch information
onobc authored and snicoll committed Dec 18, 2023
1 parent a9c05d4 commit 6dfd6d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ private static DockerService postgres() {
}

private static DockerService pulsar() {
// The latest tag they provide is not the 'latest' GA
return DockerService.withImageAndTag("apachepulsar/pulsar:3.1.0")
return DockerService.withImageAndTag("apachepulsar/pulsar")
.website("https://hub.docker.com/r/apachepulsar/pulsar")
.command("bin/pulsar standalone")
.ports(8080, 6650)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ private void assertPulsarServiceConnectionAdded(ServiceConnections connections)
assertThat(connection.containerClassNameGeneric()).isFalse();
assertThat(connection.dockerService()).satisfies((dockerService) -> {
assertThat(dockerService.getImage()).isEqualTo("apachepulsar/pulsar");
assertThat(dockerService.getImageTag()).isEqualTo("3.1.0");
assertThat(dockerService.getImageTag()).isEqualTo("latest");
assertThat(dockerService.getWebsite()).isEqualTo("https://hub.docker.com/r/apachepulsar/pulsar");
assertThat(dockerService.getCommand()).isEqualTo("bin/pulsar standalone");
assertThat(dockerService.getPorts()).containsExactlyInAnyOrder(8080, 6650);
Expand Down
2 changes: 1 addition & 1 deletion start-site/src/test/resources/compose/pulsar.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
pulsar:
image: 'apachepulsar/pulsar:3.1.0'
image: 'apachepulsar/pulsar:latest'
ports:
- '6650'
- '8080'
Expand Down

0 comments on commit 6dfd6d6

Please sign in to comment.