mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-24 10:59:07 +01:00
Compare commits
6 commits
ef94f4dd70
...
2d08374a53
Author | SHA1 | Date | |
---|---|---|---|
|
2d08374a53 | ||
|
129cfa537b | ||
|
f176b626d5 | ||
|
f9bf3a7597 | ||
|
06654969d0 | ||
|
e985f50d8a |
8 changed files with 44 additions and 11 deletions
|
@ -122,8 +122,8 @@ build:debian-stable:
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .cache/pip
|
- .cache/pip
|
||||||
rules:
|
only:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_BRANCH == "master"
|
- tags
|
||||||
script:
|
script:
|
||||||
- ./build-deb.sh --install-build-deps
|
- ./build-deb.sh --install-build-deps
|
||||||
- rm -fr dist/ldapsaisie-*
|
- rm -fr dist/ldapsaisie-*
|
||||||
|
@ -289,8 +289,8 @@ publish:debian-stable:
|
||||||
image: docker.io/debian:stable-slim
|
image: docker.io/debian:stable-slim
|
||||||
needs:
|
needs:
|
||||||
- build:debian-stable
|
- build:debian-stable
|
||||||
rules:
|
only:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_BRANCH == "master"
|
- tags
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends rsync openssh-client dupload
|
- apt-get install -y --no-install-recommends rsync openssh-client dupload
|
||||||
|
@ -310,8 +310,8 @@ publish:gitlab:
|
||||||
entrypoint: ["/bin/sh", "-c"]
|
entrypoint: ["/bin/sh", "-c"]
|
||||||
needs:
|
needs:
|
||||||
- build:debian-stable
|
- build:debian-stable
|
||||||
rules:
|
only:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_BRANCH == "master"
|
- tags
|
||||||
script:
|
script:
|
||||||
- ./.gitlab/publish.sh
|
- ./.gitlab/publish.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -345,7 +345,7 @@ release:
|
||||||
entrypoint: ["/bin/sh", "-c"]
|
entrypoint: ["/bin/sh", "-c"]
|
||||||
needs:
|
needs:
|
||||||
- publish:gitlab
|
- publish:gitlab
|
||||||
rules:
|
only:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_BRANCH == "master"
|
- tags
|
||||||
script:
|
script:
|
||||||
- ./.gitlab/release.sh
|
- ./.gitlab/release.sh
|
||||||
|
|
|
@ -114,10 +114,11 @@ $GITDCH \
|
||||||
--code-name $DEBIAN_CODENAME \
|
--code-name $DEBIAN_CODENAME \
|
||||||
--output $DIST_DIR/debian/changelog \
|
--output $DIST_DIR/debian/changelog \
|
||||||
--release-notes ../release-notes.md \
|
--release-notes ../release-notes.md \
|
||||||
|
--exclude "^Docker: " \
|
||||||
--exclude "^CI: " \
|
--exclude "^CI: " \
|
||||||
--exclude "^debian: " \
|
--exclude "^debian: " \
|
||||||
--exclude "\.gitlab-ci\.yml" \
|
--exclude "\.gitlab-ci\.yml" \
|
||||||
--exclude "build\.sh" \
|
--exclude "build-deb\.sh" \
|
||||||
--exclude "README\.md" \
|
--exclude "README\.md" \
|
||||||
--exclude "^Merge branch " \
|
--exclude "^Merge branch " \
|
||||||
--verbose "${GITDCH_EXTRA_ARGS[@]}"
|
--verbose "${GITDCH_EXTRA_ARGS[@]}"
|
||||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -18,7 +18,7 @@ ldapsaisie (4.2.0-1) stable; urgency=medium
|
||||||
* supann: Add supannCMSIdEtiquette attribute support
|
* supann: Add supannCMSIdEtiquette attribute support
|
||||||
* doc: switch format to Markdown & Mkdocs
|
* doc: switch format to Markdown & Mkdocs
|
||||||
|
|
||||||
-- Benjamin Renard <brenard@easter-eggs.com> Thu, 26 Oct 2023 11:55:52 +0200
|
-- LdapSaisie project <support+ldapsaisie@easter-eggs.com> Thu, 26 Oct 2023 11:55:52 +0200
|
||||||
|
|
||||||
ldapsaisie (4.1.0-1) unstable; urgency=medium
|
ldapsaisie (4.1.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
|
5
docker/Dockerfile.bookworm
Normal file
5
docker/Dockerfile.bookworm
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# syntax = edrevo/dockerfile-plus
|
||||||
|
|
||||||
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
|
INCLUDE+ Dockerfile.common
|
5
docker/Dockerfile.bullseye
Normal file
5
docker/Dockerfile.bullseye
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# syntax = edrevo/dockerfile-plus
|
||||||
|
|
||||||
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
|
INCLUDE+ Dockerfile.common
|
5
docker/Dockerfile.buster
Normal file
5
docker/Dockerfile.buster
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# syntax = edrevo/dockerfile-plus
|
||||||
|
|
||||||
|
FROM debian:buster-slim
|
||||||
|
|
||||||
|
INCLUDE+ Dockerfile.common
|
|
@ -1,4 +1,3 @@
|
||||||
FROM debian:11
|
|
||||||
# Update/upgrade
|
# Update/upgrade
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get upgrade -y
|
RUN apt-get upgrade -y
|
18
docker/build-and-push-all.sh
Normal file
18
docker/build-and-push-all.sh
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd $( dirname $0 )
|
||||||
|
|
||||||
|
# Need to use Dockerfile+ (https://github.com/edrevo/dockerfile-plus)
|
||||||
|
export DOCKER_BUILDKIT=1
|
||||||
|
export COMPOSE_DOCKER_CLI_BUILD=1
|
||||||
|
DISTS=(bookworm bullseye buster)
|
||||||
|
LATEST_DIST=${DISTS[0]}
|
||||||
|
|
||||||
|
for dist in ${DISTS[@]}
|
||||||
|
do
|
||||||
|
docker build -t brenard/ldapsaisie:$dist -f Dockerfile.$dist .
|
||||||
|
[ $? -eq 0 ] && docker push brenard/ldapsaisie:$dist
|
||||||
|
done
|
||||||
|
|
||||||
|
docker build -t brenard/ldapsaisie:latest -f Dockerfile.$LATEST_DIST .
|
||||||
|
[ $? -eq 0 ] && docker push brenard/ldapsaisie:latest
|
Loading…
Reference in a new issue