This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
43
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
ff9f2636
Commit
ff9f2636
authored
2 years ago
by
Eduard Frankford
Browse files
Options
Downloads
Patches
Plain Diff
testing
parent
fb32afff
Branches
Branches containing commit
2 merge requests
!188
Merging Peer Reviewing et. al to Master
,
!164
211 peer reviewing functionality
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+17
-22
17 additions, 22 deletions
.gitlab-ci.yml
with
17 additions
and
22 deletions
.gitlab-ci.yml
+
17
−
22
View file @
ff9f2636
...
...
@@ -6,10 +6,10 @@ cache:
-
.maven/
stages
:
# - lint
-
build
#
- build
# - test
# - analyze
-
package
#
- package
-
release
-
deploy
...
...
@@ -46,16 +46,16 @@ before_script:
# paths:
# - pmd.log
maven-compile
:
stage
:
build
script
:
-
./mvnw -ntp compile -P-webapp -Dmaven.repo.local=$MAVEN_USER_HOME
artifacts
:
paths
:
-
target/classes/
-
target/generated-sources/
expire_in
:
10 days
needs
:
[]
#
maven-compile:
#
stage: build
#
script:
#
- ./mvnw -ntp compile -P-webapp -Dmaven.repo.local=$MAVEN_USER_HOME
#
artifacts:
#
paths:
#
- target/classes/
#
- target/generated-sources/
#
expire_in: 10 days
#
needs: []
# maven-test:
# # DinD service is required for Testcontainers
...
...
@@ -108,20 +108,15 @@ maven-compile:
# # - ./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent initialize sonar:sonar -Dsonar.organization=codeAbility -Dsonar.host.url=https://server.arctis.at/sonar/ -Dsonar.login=${SONAR_TOKEN} -Dmaven.repo.local=$MAVEN_USER_HOME
# allow_failure: true
maven-package
:
stage
:
package
script
:
-
./mvnw -ntp verify -Pprod -DskipTests -Dmaven.repo.local=$MAVEN_USER_HOME
#
maven-package:
#
stage: package
#
script:
#
- ./mvnw -ntp verify -Pprod -DskipTests -Dmaven.repo.local=$MAVEN_USER_HOME
# Uncomment the following line to use gitlabs container registry. You need to adapt the REGISTRY_URL in case you are not using gitlab.com
docker-push
:
stage
:
release
services
:
-
docker:20-dind
image
:
docker
variables
:
DOCKER_HOST
:
'
tcp://docker:2375'
DOCKER_TLS_CERTDIR
:
'
'
# only:
# refs:
# - development
...
...
@@ -129,7 +124,7 @@ docker-push:
IMAGE_TAG
:
sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform
script
:
-
./mvnw -ntp verify -Pprod -DskipTests -Dmaven.repo.local=$MAVEN_USER_HOME
-
./mvnw -ntp jib:
dockerB
uild -Pprod -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME
-
./mvnw
combpile
-ntp jib:
b
uild -Pprod -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME
when
:
always
deploy
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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