Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw-spring-security
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
adi-ia
uw-spring-security
Commits
58e82bfe
Commit
58e82bfe
authored
2 years ago
by
bhill6@wisc.edu
Browse files
Options
Downloads
Patches
Plain Diff
Changes to migrate deployment to gitlab,adding gitlab-ci file
parent
d14f89db
No related branches found
No related tags found
1 merge request
!33
Changes to migrate deployment to gitlab,adding gitlab-ci file
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+34
-0
34 additions, 0 deletions
.gitlab-ci.yml
pom.xml
+4
-0
4 additions, 0 deletions
pom.xml
uw-spring-security-core/pom.xml
+5
-5
5 additions, 5 deletions
uw-spring-security-core/pom.xml
with
43 additions
and
5 deletions
.gitlab-ci.yml
0 → 100644
+
34
−
0
View file @
58e82bfe
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
:
-
master
script
:
-
env
-
mvn $MAVEN_CLI_OPTS deploy -Pdeploy -X
This diff is collapsed.
Click to expand it.
pom.xml
+
4
−
0
View file @
58e82bfe
...
@@ -26,6 +26,10 @@
...
@@ -26,6 +26,10 @@
<id>
adi-ia-libraries
</id>
<id>
adi-ia-libraries
</id>
<url>
https://git.doit.wisc.edu/api/v4/groups/15/-/packages/maven
</url>
<url>
https://git.doit.wisc.edu/api/v4/groups/15/-/packages/maven
</url>
</repository>
</repository>
<repository>
<id>
uw-open-releases
</id>
<url>
https://artifacts.doit.wisc.edu/artifactory/maven-uw-open-releases
</url>
</repository>
</repositories>
</repositories>
<properties>
<properties>
...
...
This diff is collapsed.
Click to expand it.
uw-spring-security-core/pom.xml
+
5
−
5
View file @
58e82bfe
...
@@ -18,10 +18,6 @@
...
@@ -18,10 +18,6 @@
<groupId>
com.fasterxml.jackson.dataformat
</groupId>
<groupId>
com.fasterxml.jackson.dataformat
</groupId>
<artifactId>
jackson-dataformat-yaml
</artifactId>
<artifactId>
jackson-dataformat-yaml
</artifactId>
</dependency>
</dependency>
<!--<dependency>
<groupId>edu.wisc.services.uds</groupId>
<artifactId>uds-person-ws</artifactId>
</dependency>-->
<dependency>
<dependency>
<groupId>
edu.wisc.services.uds
</groupId>
<groupId>
edu.wisc.services.uds
</groupId>
<artifactId>
uds-person-client-java
</artifactId>
<artifactId>
uds-person-client-java
</artifactId>
...
@@ -72,5 +68,9 @@
...
@@ -72,5 +68,9 @@
<artifactId>
spring-test
</artifactId>
<artifactId>
spring-test
</artifactId>
<scope>
test
</scope>
<scope>
test
</scope>
</dependency>
</dependency>
</dependencies>
<dependency>
<groupId>
javax.annotation
</groupId>
<artifactId>
jsr250-api
</artifactId>
</dependency>
</dependencies>
</project>
</project>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment