Commit fffd0619 authored by Anthony Gautreau's avatar Anthony Gautreau
Browse files

Le proxy vient de la conf Gitlab, j'enleve la conf du code et je surcharge dans les settings Gitlab

parent 6bac8704
Loading
Loading
Loading
Loading
Loading
+0 −8
Changes for .gitlab-ci.yml: 0 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -7,8 +7,6 @@ stages:
variables:
  PHP_DIR: api
  JS_DIR: frontend
  NO_PROXY: unicaen.fr
  no_proxy: unicaen.fr

default:
  artifacts:
@@ -18,9 +16,6 @@ default:
build_js:
  stage: build
  script:
    - unset HTTP_PROXY HTTPS_PROXY http_proxy https_proxy npm_config_proxy npm_config_https_proxy
    - npm config delete proxy || true
    - npm config delete https-proxy || true
    - cd $JS_DIR
    - npm ci
    - npm run build
@@ -44,9 +39,6 @@ publish_js:
  rules:
    - if: '$CI_COMMIT_TAG'
  script:
    - unset HTTP_PROXY HTTPS_PROXY http_proxy https_proxy npm_config_proxy npm_config_https_proxy
    - npm config delete proxy || true
    - npm config delete https-proxy || true
    - cd $JS_DIR
    - npm ci
    - echo "@unicaen:registry=https://git.unicaen.fr/api/v4/projects/4318/packages/npm/" > .npmrc