From: Mathieu Baudier Date: Thu, 30 Jan 2020 06:55:31 +0000 (+0100) Subject: Work on SNAPSHOTs containers. X-Git-Tag: argeo-commons-2.1.85~11 X-Git-Url: https://git.argeo.org/?p=lgpl%2Fargeo-commons.git;a=commitdiff_plain;h=c4e6e4221851cbd7e0978ea27e2ed1e29d65ffba Work on SNAPSHOTs containers. --- diff --git a/dist/containers/argeo2-node-snapshots b/dist/containers/argeo2-node-snapshots new file mode 100755 index 000000000..d390ec056 --- /dev/null +++ b/dist/containers/argeo2-node-snapshots @@ -0,0 +1,29 @@ +#!/bin/sh + +source "$(dirname "$0")/buildah-metadata" +container=$(buildah from argeo/argeo2-tp:$VERSION_ARGEO_TP-$ARCH) + +# Override version +buildah copy $container argeo2-snapshots.repo /etc/yum.repos.d/ + +source "$(dirname "$0")/buildah-common" + +#buildah config --label release="1" $container +#buildah config --label version="$VERSION_ARGEO_COMMONS" $container + +# Metadata +buildah config --label name="argeo2-node" $container +buildah config --label description="Argeo 2 Node" $container +buildah config --label url=https://hub.docker.com/repository/docker/argeo/argeo2-node $container + +# Argeo Node +buildah run $container -- microdnf install osgi-boot argeo-cms-e4-rap argeo-node +buildah run $container -- microdnf clean all + +# Configuration +buildah config --entrypoint '["/usr/sbin/argeoctl","start"]' $container +buildah config --port 8080 $container + +buildah commit --rm --format docker $container argeo/argeo2-node:snapshots-$ARCH + +buildah push argeo/argeo2-node:snapshots-$ARCH docker://argeo/argeo2-node:snapshots-$ARCH diff --git a/dist/containers/argeo2-snapshots.repo b/dist/containers/argeo2-snapshots.repo new file mode 100644 index 000000000..39ccba545 --- /dev/null +++ b/dist/containers/argeo2-snapshots.repo @@ -0,0 +1,4 @@ +[argeo-osgi-staging] +name=Argeo 2 OSGi (staging) +baseurl=http://snapshots.argeo.org/rpm/testing/argeo-osgi-2/el7/ +gpgcheck=no diff --git a/maven/assembly-descriptors/assemblies/a2-source-snapshots.xml b/maven/assembly-descriptors/assemblies/a2-source-snapshots.xml new file mode 100644 index 000000000..bf796ac96 --- /dev/null +++ b/maven/assembly-descriptors/assemblies/a2-source-snapshots.xml @@ -0,0 +1,25 @@ + + a2-source-snapshots + + + dir + + + + false + ${artifact.groupId}/${artifact.artifactId}-${artifact.version}.${artifact.extension} + + true + runtime + + *:*:jar:*-SNAPSHOT + + + *:*:pom:* + + + + \ No newline at end of file