Skip to content

Commit

Permalink
changed pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
candreac committed Nov 13, 2023
1 parent b498ed1 commit 10b714b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
REPOSITORY: ${{ vars.DOCKER_IMAGE_NAME}}
IMAGE_TAG: ${{ github.sha }}
run: |
mvn package -Pnative -Dquarkus.application.name=atm-layer-model -Dquarkus.profile=prod
docker build -f src/main/java/it/gov/pagopa/atmlayer/service/model/docker/Dockerfile.native -t $REGISTRY/$REPOSITORY:$IMAGE_TAG . \
--build-arg QUARKUS_PROFILE=prod \
--build-arg APP_NAME=atm-layer-model
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN ./mvnw -B org.apache.maven.plugins:maven-dependency-plugin:3.1.2:go-offline
COPY src /code/src
ARG QUARKUS_PROFILE
ARG APP_NAME
RUN ./mvnw package -Pnative -Dquarkus.application.name=atm-layer-model -Dquarkus.profile=prod
RUN ./mvnw package -Pnative -Dquarkus.application.name=atm-layer-model -Dquarkus.profile=prod -DskipTests

## Stage 2 : create the docker final image
FROM quay.io/quarkus/quarkus-micro-image:2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
import java.util.Map;

@QuarkusTest
public class EnviromentTestServicesResource {
private static final Logger LOGGER = LoggerFactory.getLogger(EnviromentTestServicesResource.class);
public class EnvironmentTestServicesResource {
private static final Logger LOGGER = LoggerFactory.getLogger(EnvironmentTestServicesResource.class);

public static class DockerCompose implements QuarkusTestResourceLifecycleManager {
private DockerComposeContainer<?> dockerComposeContainer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import static org.junit.Assert.assertTrue;

@QuarkusTest
@QuarkusTestResource(value = EnviromentTestServicesResource.DockerCompose.class, restrictToAnnotatedClass = true)
@QuarkusTestResource(value = EnvironmentTestServicesResource.DockerCompose.class, restrictToAnnotatedClass = true)
@Slf4j
public class IntegrationTests {

Expand Down

0 comments on commit 10b714b

Please sign in to comment.