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
3ddee58f
Commit
3ddee58f
authored
2 years ago
by
Eduard Frankford
Browse files
Options
Downloads
Patches
Plain Diff
cache improvements and npm install improvements
parent
6b30de7c
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
+12
-9
12 additions, 9 deletions
.gitlab-ci.yml
with
12 additions
and
9 deletions
.gitlab-ci.yml
+
12
−
9
View file @
3ddee58f
...
@@ -19,15 +19,10 @@ stages:
...
@@ -19,15 +19,10 @@ stages:
before_script
:
before_script
:
-
export NG_CLI_ANALYTICS="false"
-
export NG_CLI_ANALYTICS="false"
-
export MAVEN_USER_HOME=`pwd`/.maven
-
export MAVEN_USER_HOME=`pwd`/.maven
-
npm ci --cache .npm --prefer-offline
pmdCheckstylePrettierLint
:
pmdCheckstylePrettierLint
:
stage
:
lint
stage
:
lint
cache
:
cache
:
[]
# inherit all global cache settings
<<
:
*global_cache
# override the policy
policy
:
pull
when
:
always
when
:
always
script
:
script
:
-
'
export
VERSION="6.40.0"'
-
'
export
VERSION="6.40.0"'
...
@@ -113,6 +108,10 @@ frontend-test:
...
@@ -113,6 +108,10 @@ frontend-test:
when
:
always
when
:
always
expire_in
:
15 days
expire_in
:
15 days
needs
:
[]
needs
:
[]
before_script
:
-
export NG_CLI_ANALYTICS="false"
-
export MAVEN_USER_HOME=`pwd`/.maven
-
npm ci --cache .npm --prefer-offline
sonar-analyze
:
sonar-analyze
:
stage
:
analyze
stage
:
analyze
...
@@ -128,6 +127,10 @@ sonar-analyze:
...
@@ -128,6 +127,10 @@ 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
before_script
:
-
export NG_CLI_ANALYTICS="false"
-
export MAVEN_USER_HOME=`pwd`/.maven
-
npm ci --cache .npm --prefer-offline
# Uncomment the following line to use gitlabs container registry. You need to adapt the REGISTRY_URL in case you are not using gitlab.com
# 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
:
docker-push
:
...
@@ -178,9 +181,9 @@ e2e-test:
...
@@ -178,9 +181,9 @@ e2e-test:
<<
:
*global_cache
<<
:
*global_cache
# override the policy
# override the policy
policy
:
pull
policy
:
pull
only
:
#
only:
refs
:
#
refs:
-
development
#
- development
services
:
services
:
-
selenium/standalone-chrome
-
selenium/standalone-chrome
dependencies
:
dependencies
:
...
...
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