Skip to content
Snippets Groups Projects

Met à jour les sources du dépôt au déploiement en intégration

1 file
+ 14
14
Compare changes
  • Side-by-side
  • Inline
+ 14
14
@@ -7,7 +7,7 @@ cache:
stages:
- install
- check
# - check
- publish
- deploy
@@ -20,19 +20,19 @@ install-and-build:
# INFO rebuild is needed when Node version changes
- npm run build
check-version:
stage: check
before_script:
# apt update to allow apt install to list existing libraries
- apt update --yes
- apt-get install -y git
- git status -vv
# INFO fetch depth set in GitLab Settings > CI/CD > General pipelines > Git shallow clone
script:
# check for functional changes and version number with executable script
- .gitlab/ci/is-version-number-acceptable.sh
except:
- main
# check-version:
# stage: check
# before_script:
# # apt update to allow apt install to list existing libraries
# - apt update --yes
# - apt-get install -y git
# - git status -vv
# # INFO fetch depth set in GitLab Settings > CI/CD > General pipelines > Git shallow clone
# script:
# # check for functional changes and version number with executable script
# - .gitlab/ci/is-version-number-acceptable.sh
# except:
# - main
# create release in order to create tag (to bypass 'git tag' access rights configuration)
release-and-tag:
Loading