stream:
- 'master':
branch: 'master'
+ project-git-repo: '{project}'
project-build-macro: 'eiffel-build-periodic-macro'
+ image-dockerfile: 'Dockerfile'
+ image-name: '{project}'
+ image-tag: 'dev'
distro: ubuntu2004
stream:
- 'master':
branch: 'master'
+ project-git-repo: '{project}'
project-build-macro: 'eiffel-intelligence-frontend-build-periodic-macro'
+ image-dockerfile: 'src/main/docker/Dockerfile'
+ image-name: '{project}'
+ image-tag: 'dev'
distro: ubuntu2004
stream:
- 'master':
branch: 'master'
+ project-git-repo: '{project}'
project-build-macro: 'eiffel-intelligence-build-periodic-macro'
+ image-dockerfile: 'src/main/docker/Dockerfile'
+ image-name: '{project}'
+ image-tag: 'dev'
distro: ubuntu2004
stream:
- 'master':
branch: 'master'
+ project-git-repo: '{project}'
project-build-macro: 'eiffel-build-periodic-macro'
+ image-dockerfile: 'Dockerfile'
+ image-name: '{project}'
+ image-tag: 'dev'
distro: ubuntu2004
stream:
- 'master':
branch: 'master'
+ project-git-repo: '{project}'
project-build-macro: 'eiffel-remrem-generate-build-periodic-macro'
+ image-dockerfile: 'src/main/docker/Dockerfile'
+ image-name: '{project}'
+ image-tag: 'dev'
distro: ubuntu2004
stream:
- 'master':
branch: 'master'
+ project-git-repo: '{project}'
project-build-macro: 'eiffel-remrem-publish-build-periodic-macro'
+ image-dockerfile: 'src/main/docker/Dockerfile'
+ image-name: '{project}'
+ image-tag: 'dev'
distro: ubuntu2004
--- /dev/null
+---
+# ============LICENSE_START=======================================================
+# Copyright (C) 2020 Nordix Foundation.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
+- project:
+ name: etos-api
+
+ project: etos-api
+
+ project-name: etos-api
+
+
+ stream:
+ - 'master':
+ branch: 'master'
+ project-git-repo: '{project}'
+ project-build-macro: 'eiffel-build-periodic-macro'
+ image-dockerfile: 'Dockerfile'
+ image-name: '{project}'
+ image-tag: 'dev'
+
+ distro: ubuntu2004
+
+ jobs:
+ - '{project-name}-build-periodic-{distro}-{stream}'
+
+# vim: set ts=2 sw=2 expandtab:
--- /dev/null
+---
+# ============LICENSE_START=======================================================
+# Copyright (C) 2020 Nordix Foundation.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
+- project:
+ name: etos-environment-provider-worker
+
+ project: etos-environment-provider-worker
+
+ project-name: etos-environment-provider-worker
+
+ stream:
+ - 'master':
+ branch: 'master'
+ project-git-repo: 'eiffel-environment-provider'
+ project-build-macro: 'eiffel-build-periodic-macro'
+ image-dockerfile: 'Dockerfile.worker'
+ image-name: '{project}'
+ image-tag: 'dev'
+
+ distro: ubuntu2004
+
+ jobs:
+ - '{project-name}-build-periodic-{distro}-{stream}'
+
+# vim: set ts=2 sw=2 expandtab:
--- /dev/null
+---
+# ============LICENSE_START=======================================================
+# Copyright (C) 2020 Nordix Foundation.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
+- project:
+ name: etos-environment-provider
+
+ project: etos-environment-provider
+
+ project-name: etos-environment-provider
+
+
+ stream:
+ - 'master':
+ branch: 'master'
+ project-git-repo: '{project}'
+ project-build-macro: 'eiffel-build-periodic-macro'
+ image-dockerfile: 'Dockerfile'
+ image-name: '{project}'
+ image-tag: 'dev'
+
+ distro: ubuntu2004
+
+ jobs:
+ - '{project-name}-build-periodic-{distro}-{stream}'
+
+# vim: set ts=2 sw=2 expandtab:
--- /dev/null
+---
+# ============LICENSE_START=======================================================
+# Copyright (C) 2020 Nordix Foundation.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
+- project:
+ name: etos-suite-runner
+
+ project: etos-suite-runner
+
+ project-name: etos-suite-runner
+
+
+ stream:
+ - 'master':
+ branch: 'master'
+ project-git-repo: '{project}'
+ project-build-macro: 'eiffel-build-periodic-macro'
+ image-dockerfile: 'Dockerfile'
+ image-name: '{project}'
+ image-tag: 'dev'
+
+ distro: ubuntu2004
+
+ jobs:
+ - '{project-name}-build-periodic-{distro}-{stream}'
+
+# vim: set ts=2 sw=2 expandtab:
--- /dev/null
+---
+# ============LICENSE_START=======================================================
+# Copyright (C) 2020 Nordix Foundation.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
+- project:
+ name: etos-suite-starter
+
+ project: etos-suite-starter
+
+ project-name: etos-suite-starter
+
+
+ stream:
+ - 'master':
+ branch: 'master'
+ project-git-repo: '{project}'
+ project-build-macro: 'eiffel-build-periodic-macro'
+ image-dockerfile: 'Dockerfile'
+ image-name: '{project}'
+ image-tag: 'dev'
+
+ distro: ubuntu2004
+
+ jobs:
+ - '{project-name}-build-periodic-{distro}-{stream}'
+
+# vim: set ts=2 sw=2 expandtab:
name: GIT_BASE_SSH
default: git@github.com:eiffel-community
description: SSH URL of Project Repo on GitHub to clone repo.
+ - string:
+ name: IMAGE_DOCKERFILE
+ default: '{image-dockerfile}'
+ description: Dockerfile to use for building the container image
+ - string:
+ name: IMAGE_NAME
+ default: '{image-name}'
+ description: Name of the container image
+ - string:
+ name: IMAGE_TAG
+ default: '{image-tag}'
+ description: Tag to apply to the container image
- choice:
name: HARBOR_EIFFEL_PROJECT
choices:
scm:
- git:
- url: 'https://github.com/eiffel-community/$PROJECT.git'
+ url: 'https://github.com/eiffel-community/{project-git-repo}.git'
branches:
- '*/{branch}'
refspec: ''
# navigate to root of the git clone
cd "$WORKSPACE"
-# the image tagged with latest for the timebeing since we are building from the tip of master branch
-IMAGE_TAG="latest"
+# the Dockerfile to use for building the container image
+IMAGE_DOCKERFILE="${IMAGE_DOCKERFILE:?IMAGE_DOCKERFILE is unset!}"
+
+# the name of the container image
+IMAGE_NAME="${IMAGE_NAME:?IMAGE_NAME is unset!}"
+
+# the tag to apply to the container image
+IMAGE_TAG="${IMAGE_TAG:-latest}"
# set image name
-IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$PROJECT:$IMAGE_TAG"
+IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$IMAGE_NAME:$IMAGE_TAG"
# set the build command so we can log it to console
-PODMAN_BUILD_CMD="podman build --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
+PODMAN_BUILD_CMD="podman build --file $IMAGE_DOCKERFILE --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
echo "Info : Building the container image with the command"
echo " $PODMAN_BUILD_CMD"
ls -al $PROJECT_WAR_FILE
echo "----------------------------------------------------------------"
-# the image tagged with latest for the timebeing since we are building from the tip of master branch
-IMAGE_TAG="latest"
+# the Dockerfile to use for building the container image
+IMAGE_DOCKERFILE="${IMAGE_DOCKERFILE:?IMAGE_DOCKERFILE is unset!}"
+
+# the name of the container image
+IMAGE_NAME="${IMAGE_NAME:?IMAGE_NAME is unset!}"
+
+# the tag to apply to the container image
+IMAGE_TAG="${IMAGE_TAG:-latest}"
# set image name
-IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$PROJECT:$IMAGE_TAG"
+IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$IMAGE_NAME:$IMAGE_TAG"
# set the build command so we can log it to console
-PODMAN_BUILD_CMD="podman build --build-arg URL=$PROJECT_WAR_FILE --file src/main/docker/Dockerfile --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
+PODMAN_BUILD_CMD="podman build --build-arg URL=$PROJECT_WAR_FILE --file $IMAGE_DOCKERFILE --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
echo "Info : Building the container image with the command"
echo " $PODMAN_BUILD_CMD"
ls -al $PROJECT_WAR_FILE
echo "----------------------------------------------------------------"
-# the image tagged with latest for the timebeing since we are building from the tip of master branch
-IMAGE_TAG="latest"
+# the Dockerfile to use for building the container image
+IMAGE_DOCKERFILE="${IMAGE_DOCKERFILE:?IMAGE_DOCKERFILE is unset!}"
+
+# the name of the container image
+IMAGE_NAME="${IMAGE_NAME:?IMAGE_NAME is unset!}"
+
+# the tag to apply to the container image
+IMAGE_TAG="${IMAGE_TAG:-latest}"
# set image name
-IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$PROJECT:$IMAGE_TAG"
+IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$IMAGE_NAME:$IMAGE_TAG"
# set the build command so we can log it to console
-PODMAN_BUILD_CMD="podman build --build-arg URL=$PROJECT_WAR_FILE --file src/main/docker/Dockerfile --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
+PODMAN_BUILD_CMD="podman build --build-arg URL=$PROJECT_WAR_FILE --file $IMAGE_DOCKERFILE --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
echo "Info : Building the container image with the command"
echo " $PODMAN_BUILD_CMD"
ls -al $PROJECT_WAR_FILE
echo "----------------------------------------------------------------"
-# the image tagged with latest for the timebeing since we are building from the tip of master branch
-IMAGE_TAG="latest"
+# the Dockerfile to use for building the container image
+IMAGE_DOCKERFILE="${IMAGE_DOCKERFILE:?IMAGE_DOCKERFILE is unset!}"
+
+# the name of the container image
+IMAGE_NAME="${IMAGE_NAME:?IMAGE_NAME is unset!}"
+
+# the tag to apply to the container image
+IMAGE_TAG="${IMAGE_TAG:-latest}"
# set image name
-IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$PROJECT:$IMAGE_TAG"
+IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$IMAGE_NAME:$IMAGE_TAG"
# set the build command so we can log it to console
-PODMAN_BUILD_CMD="podman build --build-arg URL=$PROJECT_WAR_FILE --file src/main/docker/Dockerfile --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
+PODMAN_BUILD_CMD="podman build --build-arg URL=$PROJECT_WAR_FILE --file $IMAGE_DOCKERFILE --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
echo "Info : Building the container image with the command"
echo " $PODMAN_BUILD_CMD"
ls -al $PROJECT_WAR_FILE
echo "----------------------------------------------------------------"
-# the image tagged with latest for the timebeing since we are building from the tip of master branch
-IMAGE_TAG="latest"
+# the Dockerfile to use for building the container image
+IMAGE_DOCKERFILE="${IMAGE_DOCKERFILE:?IMAGE_DOCKERFILE is unset!}"
+
+# the name of the container image
+IMAGE_NAME="${IMAGE_NAME:?IMAGE_NAME is unset!}"
+
+# the tag to apply to the container image
+IMAGE_TAG="${IMAGE_TAG:-latest}"
# set image name
-IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$PROJECT:$IMAGE_TAG"
+IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$IMAGE_NAME:$IMAGE_TAG"
# set the build command so we can log it to console
-PODMAN_BUILD_CMD="podman build --build-arg URL=$PROJECT_WAR_FILE --file src/main/docker/Dockerfile --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
+PODMAN_BUILD_CMD="podman build --build-arg URL=$PROJECT_WAR_FILE --file $IMAGE_DOCKERFILE --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
echo "Info : Building the container image with the command"
echo " $PODMAN_BUILD_CMD"