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
8d4748ac
Commit
8d4748ac
authored
2 years ago
by
Eduard Frankford
Browse files
Options
Downloads
Patches
Plain Diff
test ci
parent
566005e4
2 merge requests
!188
Merging Peer Reviewing et. al to Master
,
!164
211 peer reviewing functionality
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+33
-32
33 additions, 32 deletions
.gitlab-ci.yml
package-lock.json
+2
-3
2 additions, 3 deletions
package-lock.json
with
35 additions
and
35 deletions
.gitlab-ci.yml
+
33
−
32
View file @
8d4748ac
...
...
@@ -5,7 +5,7 @@ cache:
paths
:
-
.maven/
stages
:
-
lint
#
- lint
-
build
# - test
# - analyze
...
...
@@ -17,34 +17,34 @@ before_script:
-
export NG_CLI_ANALYTICS="false"
-
export MAVEN_USER_HOME=`pwd`/.maven
pmdCheckstylePrettierLint
:
stage
:
lint
cache
:
{}
when
:
always
before_script
:
-
'
export
VERSION="6.40.0"'
-
'
wget
"https://github.com/pmd/pmd/releases/download/pmd_releases%2F$VERSION/pmd-bin-$VERSION.zip"'
-
'
jar
-xf
"pmd-bin-$VERSION.zip"'
-
'
chmod
u+x
"pmd-bin-$VERSION/bin/run.sh"'
script
:
-
SUCCESS=true
-
echo "Running PMD"
-
'
"pmd-bin-$VERSION/bin/run.sh"
pmd
-d
src/main/java
-f
textcolor
-R
pmd_rules.xml
2>&1
|
tee
pmd.log
||
SUCCESS=false'
-
echo "Running checkstyle"
-
./mvnw -ntp checkstyle:check -Dmaven.repo.local=$MAVEN_USER_HOME || SUCCESS=false
-
echo "Running prettier"
-
npm install
-
npm run prettier:check
-
echo "Running eslint"
-
'
npm
run
lint
|
tee
lint.log'
-
"
!
grep
-qE
'✖
[0-9]+
problem'
lint.log
||
SUCCESS=false"
-
$SUCCESS
needs
:
[]
artifacts
:
when
:
on_failure
expire_in
:
30 days
paths
:
-
pmd.log
#
pmdCheckstylePrettierLint:
#
stage: lint
#
cache: {}
#
when: always
#
before_script:
#
- 'export VERSION="6.40.0"'
#
- 'wget "https://github.com/pmd/pmd/releases/download/pmd_releases%2F$VERSION/pmd-bin-$VERSION.zip"'
#
- 'jar -xf "pmd-bin-$VERSION.zip"'
#
- 'chmod u+x "pmd-bin-$VERSION/bin/run.sh"'
#
script:
#
- SUCCESS=true
#
- echo "Running PMD"
#
- '"pmd-bin-$VERSION/bin/run.sh" pmd -d src/main/java -f textcolor -R pmd_rules.xml 2>&1 | tee pmd.log || SUCCESS=false'
#
- echo "Running checkstyle"
#
- ./mvnw -ntp checkstyle:check -Dmaven.repo.local=$MAVEN_USER_HOME || SUCCESS=false
#
- echo "Running prettier"
#
- npm install
#
- npm run prettier:check
#
- echo "Running eslint"
#
- 'npm run lint | tee lint.log'
#
- "! grep -qE '✖ [0-9]+ problem' lint.log || SUCCESS=false"
#
- $SUCCESS
#
needs: []
#
artifacts:
#
when: on_failure
#
expire_in: 30 days
#
paths:
#
- pmd.log
maven-compile
:
stage
:
build
...
...
@@ -68,6 +68,7 @@ maven-compile:
# stage: test
# script:
# - ./mvnw -ntp verify -P-webapp -Dmaven.repo.local=$MAVEN_USER_HOME -Dspring.profiles.active=testcontainers
# allow_failure: true
# artifacts:
# reports:
# junit:
...
...
@@ -115,9 +116,9 @@ maven-package:
# 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
only
:
refs
:
-
development
#
only:
#
refs:
#
- development
variables
:
REGISTRY_URL
:
sharing-codeability.uibk.ac.at:5051
IMAGE_TAG
:
sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform
...
...
This diff is collapsed.
Click to expand it.
package-lock.json
+
2
−
3
View file @
8d4748ac
...
...
@@ -26826,7 +26826,7 @@
"text-table": "0.2.0",
"tree-kill": "1.2.2",
"tslib": "2.3.1",
"webpack": "5.6
5
.0",
"webpack": "5.6
6
.0",
"webpack-dev-middleware": "5.2.2",
"webpack-dev-server": "4.6.0",
"webpack-merge": "5.8.0",
...
...
@@ -27455,8 +27455,7 @@
}
},
"webpack": {
"version": "5.65.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.65.0.tgz",
"version": "https://registry.npmjs.org/webpack/-/webpack-5.65.0.tgz",
"integrity": "sha512-Q5or2o6EKs7+oKmJo7LaqZaMOlDWQse9Tm5l1WAfU/ujLGN5Pb0SqGeVkN/4bpPmEqEP5RnVhiqsOtWtUVwGRw==",
"dev": true,
"requires": {
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