Commit 4b9e782d authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

...

parent ad5cba99
Loading
Loading
Loading
Loading
Loading
+10 −30
Changes for .gitlab-ci.yml: 10 added lines, 30 removed lines.
Original line number Diff line number Diff line
image: localhost:5000/unicaen-dev-php7.3-apache

stages:
  - tests
  - release
  - publish

cache:
  key: ${CI_COMMIT_REF_SLUG}
  paths:
  - vendor/

#unit-tests:
#  stage: tests
#  script:
#    - composer install --no-interaction --no-suggest --no-progress
#    - php vendor/bin/phpunit --coverage-text=coverage.txt --colors=never
#  artifacts:
#    paths:
#      - coverage.txt
update-packagist:
  stage: publish
  image: curlimages/curl
  script:
    - export no_proxy=localhost,unicaen.fr
    - curl https://packagist.unicaen.fr/build?name=unicaen/evenement

update-satis:
update-old-packagist:
  stage: publish
  image: curlimages/curl
  script:
    - export no_proxy=localhost,unicaen.fr
    - curl https://gest.unicaen.fr/packagist/update

release_job:
  stage: release
  image: registry.gitlab.com/gitlab-org/release-cli:latest
  rules:
    - if: $CI_COMMIT_TAG  # Run this job when a tag is created manually
  script: echo "Creation de la release $CI_COMMIT_TAG..."
  release:
    name: '$CI_COMMIT_TAG'
    tag_name: '$CI_COMMIT_TAG'
    ref: '$CI_COMMIT_TAG'
    description: 'Cf. [CHANGELOG](CHANGELOG.md) et [Release notes](doc/release-notes/v$CI_COMMIT_TAG.md)'
  allow_failure: true
+2 −2
Changes for composer.json: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -8,8 +8,8 @@
    }
  ],
  "require": {
    "unicaen/utilisateur": "^5.0||^6.0||^7.0",
    "unicaen/ldap": "^5.0||^6.0||^7.0"
    "unicaen/utilisateur": "^5.0||^6.0||^7.0||^8.0",
    "unicaen/ldap": "^5.0||^6.0||^7.0||^8.0"
  },
  "autoload": {
    "psr-0": {