Skip to content

Commit

Permalink
revert ci
Browse files Browse the repository at this point in the history
  • Loading branch information
GOODBOY008 committed Sep 20, 2023
1 parent bbac948 commit 9eaf6fc
Showing 1 changed file with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ public class Db2E2eITCase extends FlinkContainerTestEnvironment {
private static final Path mysqlDriverJar = TestUtils.getResource("mysql-driver.jar");

public static final String DB2_IMAGE = "ibmcom/db2";
public static final String DB2_CUSTOM_IMAGE = "custom/db2-cdc:1.4";
private static final DockerImageName DEBEZIUM_DOCKER_IMAGE_NAME =
DockerImageName.parse(
new ImageFromDockerfile("custom/db2-cdc:1.4")
new ImageFromDockerfile(DB2_CUSTOM_IMAGE)
.withDockerfile(getFilePath("docker/db2/Dockerfile"))
.get())
.asCompatibleSubstituteFor(DB2_IMAGE);
Expand Down Expand Up @@ -116,17 +117,8 @@ public void after() {
@AfterClass
public static void afterClass() {
// Cleanup the db2 image, because it's too large and will cause the next test to fail.
db2Container
.getDockerClient()
.listImagesCmd()
.withImageNameFilter(DB2_IMAGE)
.exec()
.forEach(
image ->
db2Container
.getDockerClient()
.removeImageCmd(image.getId())
.exec());
db2Container.getDockerClient().removeImageCmd(DB2_CUSTOM_IMAGE).exec();
db2Container.getDockerClient().removeImageCmd(DB2_IMAGE).exec();
}

@Test
Expand Down

0 comments on commit 9eaf6fc

Please sign in to comment.