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
7d265a26
Commit
7d265a26
authored
3 years ago
by
Daniel Rainer
Browse files
Options
Downloads
Patches
Plain Diff
Undo broken caching attempts
parent
e26a365e
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
+10
-41
10 additions, 41 deletions
.gitlab-ci.yml
with
10 additions
and
41 deletions
.gitlab-ci.yml
+
10
−
41
View file @
7d265a26
image
:
jhipster/jhipster:v7.6.0
image
:
jhipster/jhipster:v7.6.0
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
-
key
:
files
:
-
package-lock.json
paths
:
-
node_modules/
stages
:
stages
:
-
setup
-
setup
-
lint
-
lint
...
@@ -18,21 +28,12 @@ npm-install:
...
@@ -18,21 +28,12 @@ npm-install:
stage
:
setup
stage
:
setup
script
:
script
:
-
npm install
-
npm install
cache
:
key
:
'
$CI_COMMIT_SHA'
paths
:
-
node_modules/
policy
:
pull-push
checkstyle
:
checkstyle
:
stage
:
lint
stage
:
lint
script
:
script
:
-
./mvnw -ntp checkstyle:check -Dmaven.repo.local=$MAVEN_USER_HOME
-
./mvnw -ntp checkstyle:check -Dmaven.repo.local=$MAVEN_USER_HOME
needs
:
[]
needs
:
[]
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
prettier
:
prettier
:
stage
:
lint
stage
:
lint
...
@@ -40,11 +41,6 @@ prettier:
...
@@ -40,11 +41,6 @@ prettier:
-
npm run prettier:check
-
npm run prettier:check
allow_failure
:
true
allow_failure
:
true
needs
:
[
npm-install
]
needs
:
[
npm-install
]
cache
:
key
:
'
$CI_COMMIT_SHA'
paths
:
-
node_modules/
policy
:
pull
eslint
:
eslint
:
stage
:
lint
stage
:
lint
...
@@ -54,11 +50,6 @@ eslint:
...
@@ -54,11 +50,6 @@ eslint:
-
"
!
grep
-qE
'✖
[0-9]+
problem'
lint.log"
-
"
!
grep
-qE
'✖
[0-9]+
problem'
lint.log"
allow_failure
:
true
allow_failure
:
true
needs
:
[
npm-install
]
needs
:
[
npm-install
]
cache
:
key
:
'
$CI_COMMIT_SHA'
paths
:
-
node_modules/
policy
:
pull
maven-compile
:
maven-compile
:
stage
:
build
stage
:
build
...
@@ -70,10 +61,6 @@ maven-compile:
...
@@ -70,10 +61,6 @@ maven-compile:
-
target/generated-sources/
-
target/generated-sources/
expire_in
:
1 day
expire_in
:
1 day
needs
:
[]
needs
:
[]
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
maven-test
:
maven-test
:
# DinD service is required for Testcontainers
# DinD service is required for Testcontainers
...
@@ -100,15 +87,10 @@ maven-test:
...
@@ -100,15 +87,10 @@ maven-test:
expire_in
:
30 day
expire_in
:
30 day
allow_failure
:
true
allow_failure
:
true
needs
:
[]
needs
:
[]
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
frontend-test
:
frontend-test
:
stage
:
test
stage
:
test
script
:
script
:
-
ls node_modules
-
npm test
-
npm test
artifacts
:
artifacts
:
reports
:
reports
:
...
@@ -120,11 +102,6 @@ frontend-test:
...
@@ -120,11 +102,6 @@ frontend-test:
expire_in
:
1 day
expire_in
:
1 day
allow_failure
:
true
allow_failure
:
true
needs
:
[
npm-install
]
needs
:
[
npm-install
]
cache
:
key
:
'
$CI_COMMIT_SHA'
paths
:
-
node_modules/
policy
:
pull
sonar-analyze
:
sonar-analyze
:
stage
:
analyze
stage
:
analyze
...
@@ -135,10 +112,6 @@ sonar-analyze:
...
@@ -135,10 +112,6 @@ sonar-analyze:
-
./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent initialize sonar:sonar -Dsonar.organization=codeAbility -Dsonar.host.url=https://qe-sonarqube.uibk.ac.at/ -Dsonar.login=${SONAR_TOKEN_QE} -Dmaven.repo.local=$MAVEN_USER_HOME
-
./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent initialize sonar:sonar -Dsonar.organization=codeAbility -Dsonar.host.url=https://qe-sonarqube.uibk.ac.at/ -Dsonar.login=${SONAR_TOKEN_QE} -Dmaven.repo.local=$MAVEN_USER_HOME
-
./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
-
./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
allow_failure
:
true
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
maven-package
:
maven-package
:
stage
:
package
stage
:
package
...
@@ -160,7 +133,3 @@ maven-package:
...
@@ -160,7 +133,3 @@ maven-package:
# script:
# script:
# - ./mvnw -ntp jib:build -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 -ntp jib:build -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
:
manual
when
:
manual
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
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