From 5b8e79bf29fb600d0ec1a048c68604c4a0dc3931 Mon Sep 17 00:00:00 2001
From: Eduard Frankford <e.frankford@student.uibk.ac.at>
Date: Sat, 21 May 2022 15:36:13 +0200
Subject: [PATCH] test ci

---
 .gitlab-ci.yml    | 65 ++++++++++++++++++++++++-----------------------
 package-lock.json |  5 ++--
 2 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 74d16cbf3..318168d66 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
diff --git a/package-lock.json b/package-lock.json
index c39d109de..41b88c8d0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -26826,7 +26826,7 @@
         "text-table": "0.2.0",
         "tree-kill": "1.2.2",
         "tslib": "2.3.1",
-        "webpack": "5.65.0",
+        "webpack": "5.66.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": {
-- 
GitLab