Skip to content

optimize ci, add integration test with local fp-server #31

@hezean

Description

@hezean

ref impl:

            <plugin>
                <groupId>io.fabric8</groupId>
                <artifactId>docker-maven-plugin</artifactId>
                <version>0.40.2</version>
                <extensions>true</extensions>
                <executions>
                    <execution>
                        <id>pre-integration-test</id>
                        <goals>
                            <goal>build</goal>
                            <goal>start</goal>
                        </goals>
                        <configuration>
                            <images>
                                <image>
                                    <name>liquid-media-minio</name>
                                    <external>
                                        <type>compose</type>
                                        <basedir>src/test/resources</basedir>
                                        <composeFile>minio-compose.yml</composeFile>
                                    </external>
                                    <run>
                                        <wait>
                                            <log>.*MinIO Object Storage Server.*</log>
                                            <time>60000</time>
                                        </wait>
                                    </run>
                                </image>
                            </images>
                        </configuration>
                    </execution>
                    <execution>
                        <id>post-integration-test</id>
                        <goals>
                            <goal>stop</goal>
                        </goals>
                        <configuration>
                            <images>
                                <image>
                                    <name>liquid-media-minio</name>
                                    <watch>
                                        <interval>2000</interval>
                                    </watch>
                                </image>
                            </images>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions