From d14f89dbcba462502758f550bf0b179e20984e9f Mon Sep 17 00:00:00 2001 From: bhill6 <brian.hill@wisc.edu> Date: Thu, 21 Jul 2022 14:43:29 -0500 Subject: [PATCH] fixing premature push to master with armed gitlab-ci file --- .gitlab-ci.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 3f02397..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,34 +0,0 @@ -image: maven:3-amazoncorretto-8 - -variables: - # This will suppress any download for dependencies and plugins or upload messages which would clutter the console log. - # `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work. - MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true" - # As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used - # when running from the command line. - # `installAtEnd` and `deployAtEnd`are only effective with recent version of the corresponding plugins. - MAVEN_CLI_OPTS: "--settings .m2/settings.xml --batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true" - -# Cache downloaded dependencies and plugins between builds. -# To keep cache across branches add 'key: "$CI_JOB_REF_NAME"' -cache: - paths: - - .m2/repository - -default: - tags: - - aws - - docker - -test: - stage: test - script: - - mvn clean $MAVEN_CLI_OPTS verify - -deploy: - stage: deploy - only: - - main - script: - - env - - mvn $MAVEN_CLI_OPTS deploy -Pdeploy -X -- GitLab