New profile and remove debug flag in hook

This commit is contained in:
Benjamin Bohard 2020-09-03 14:50:36 +02:00
parent 253c77489b
commit fdba555beb
2 changed files with 30 additions and 2 deletions

View File

@ -105,13 +105,11 @@ function get_package_version_from_tag {
function get_distribution_from_tag { function get_distribution_from_tag {
# tag pkg like pkg/<level>/<distrib>/<version> # tag pkg like pkg/<level>/<distrib>/<version>
# <distrib> may be composed # <distrib> may be composed
set -x
tag="$1" tag="$1"
distribution="${tag#pkg/*/}" distribution="${tag#pkg/*/}"
distribution="${distribution%/*}" distribution="${distribution%/*}"
distribution="${distribution/\//-}" distribution="${distribution/\//-}"
echo $distribution echo $distribution
set +x
} }
function get_previous_release_tag { function get_previous_release_tag {

30
profiles/eole-2.7.2.conf Normal file
View File

@ -0,0 +1,30 @@
# Configuration générale du profil
[profile]
# Image Docker par défaut
default_image=ubuntu:bionic
# Configuration de l'étape de pré-construction du conteneur
[containerbuild]
hooks=
containerbuild/debian/install-build-essential,
containerbuild/debian/install-git,
# Configuration de l'étape de pré-construction du paquet
[prebuild]
hooks=
prebuild/debian/copy-sources-to-workspace,
prebuild/debian/run-project-hooks,
prebuild/debian/load-project-db,
prebuild/debian/complete-project-db,
prebuild/eole/create-changelog,
prebuild/debian/install-build-depends
# Configuration de l'étape de construction du paquet
[build]
hooks=build/debian/build
# Configuration de l'étape de post-construction du paquet
[postbuild]
hooks=
postbuild/debian/run-project-hooks,
postbuild/debian/export-dist