Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control-service: increase integration test builder memory #929

Merged
merged 13 commits into from Aug 2, 2022
3 changes: 3 additions & 0 deletions projects/control-service/cicd/.gitlab-ci.yml
Expand Up @@ -24,6 +24,8 @@

.control_service_base_build:
image: docker:19.03.15
variables:
_JAVA_OPTIONS: "-Xms2048m -Xmx4096m"
before_script:
- apk --no-cache add git openjdk11-jdk curl --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
- curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.21.2/2021-07-05/bin/linux/amd64/aws-iam-authenticator
Expand Down Expand Up @@ -84,6 +86,7 @@ control_service_integration_test:
- mkdir -p ~/.kube
- cp $KUBECONFIG ~/.kube/config
- ./gradlew -v
- ./gradlew projects --info
- ./gradlew -Djdk.tls.client.protocols=TLSv1.2 :pipelines_control_service:integrationTest --info --stacktrace
retry: !reference [.control_service_retry, retry_options]
artifacts:
Expand Down
Expand Up @@ -98,6 +98,7 @@ public KerberosCredentialsRepository credentialsRepository(){

@BeforeEach
public void before() throws Exception {
log.info("Running test with: {} bytes of memory.", Runtime.getRuntime().totalMemory());
mockMvc = MockMvcBuilders
.webAppContextSetup(context)
.apply(springSecurity())
Expand Down