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