Skip to content

Commit

Permalink
Update Pulsar container to use 'latest' tag
Browse files Browse the repository at this point in the history
  • Loading branch information
onobc committed Dec 15, 2023
1 parent 576d83d commit 89d749f
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.1")
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.1");
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.1'
image: 'apachepulsar/pulsar:latest'
ports:
- '6650'
- '8080'
Expand Down

0 comments on commit 89d749f

Please sign in to comment.