remove slack usage and remove some unused jobs
Also make jjb verify work like jjb deploy by reading nordix jenkins plugins
Change-Id: I7652937b6004eaad514502a2213a555e12bb0068
Signed-off-by: afenner <Andrew.fenner@est.tech>
diff --git a/jjb/eiffel/eiffel-gerrit-herald.yaml b/jjb/eiffel/eiffel-gerrit-herald.yaml
deleted file mode 100644
index f0d7968..0000000
--- a/jjb/eiffel/eiffel-gerrit-herald.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
----
-# ============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: eiffel-gerrit-herald
-
- project: eiffel-gerrit-herald
-
- project-name: eiffel-gerrit-herald
-
-
- stream:
- - 'master':
- branch: 'master'
- project-git-repo: '{project}'
- project-build-macro: 'eiffel-global-container-build-macro'
- image-dockerfile: 'Dockerfile'
- image-name: '{project}'
- image-tag: 'dev'
-
- distro: ubuntu2004
-
- jobs:
- - '{project-name}-build-merge-{distro}-{stream}'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/eiffel-intelligence-frontend.yaml b/jjb/eiffel/eiffel-intelligence-frontend.yaml
deleted file mode 100644
index e50d694..0000000
--- a/jjb/eiffel/eiffel-intelligence-frontend.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
----
-# ============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: eiffel-intelligence-frontend
-
- project: eiffel-intelligence-frontend
-
- project-name: eiffel-intelligence-frontend
-
-
- stream:
- - 'master':
- branch: 'master'
- project-git-repo: '{project}'
- project-build-macro: 'eiffel-intelligence-frontend-container-build-macro'
- image-dockerfile: 'src/main/docker/Dockerfile'
- image-name: '{project}'
- image-tag: 'dev'
-
- distro: ubuntu2004
-
- jobs:
- - '{project-name}-build-merge-{distro}-{stream}'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/eiffel-intelligence.yaml b/jjb/eiffel/eiffel-intelligence.yaml
deleted file mode 100644
index 7f94196..0000000
--- a/jjb/eiffel/eiffel-intelligence.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
----
-# ============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: eiffel-intelligence
-
- project: eiffel-intelligence
-
- project-name: eiffel-intelligence
-
-
- stream:
- - 'master':
- branch: 'master'
- project-git-repo: '{project}'
- project-build-macro: 'eiffel-intelligence-container-build-macro'
- image-dockerfile: 'src/main/docker/Dockerfile'
- image-name: '{project}'
- image-tag: 'dev'
-
- distro: ubuntu2004
-
- jobs:
- - '{project-name}-build-merge-{distro}-{stream}'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/eiffel-playground.yaml b/jjb/eiffel/eiffel-playground.yaml
deleted file mode 100644
index 39f8578..0000000
--- a/jjb/eiffel/eiffel-playground.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
----
-# ============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: eiffel-playground
-
- project: eiffel-playground
-
- project-name: eiffel-playground
-
-
- stream:
- - 'master':
- branch: 'master'
- project-git-repo: '{project}'
- project-build-macro: 'eiffel-global-container-build-macro'
- image-dockerfile: 'Dockerfile'
- image-name: '{project}'
- image-tag: 'dev'
-
- distro: ubuntu2004
-
- jobs:
- - '{project-name}-build-merge-{distro}-{stream}'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/eiffel-remrem-generate.yaml b/jjb/eiffel/eiffel-remrem-generate.yaml
deleted file mode 100644
index 54e0809..0000000
--- a/jjb/eiffel/eiffel-remrem-generate.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
----
-# ============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: eiffel-remrem-generate
-
- project: eiffel-remrem-generate
-
- project-name: eiffel-remrem-generate
-
-
- stream:
- - 'master':
- branch: 'master'
- project-git-repo: '{project}'
- project-build-macro: 'eiffel-remrem-generate-container-build-macro'
- image-dockerfile: 'src/main/docker/Dockerfile'
- image-name: '{project}'
- image-tag: 'dev'
-
- distro: ubuntu2004
-
- jobs:
- - '{project-name}-build-merge-{distro}-{stream}'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/eiffel-remrem-publish.yaml b/jjb/eiffel/eiffel-remrem-publish.yaml
deleted file mode 100644
index 1bcd736..0000000
--- a/jjb/eiffel/eiffel-remrem-publish.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
----
-# ============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: eiffel-remrem-publish
-
- project: eiffel-remrem-publish
-
- project-name: eiffel-remrem-publish
-
-
- stream:
- - 'master':
- branch: 'master'
- project-git-repo: '{project}'
- project-build-macro: 'eiffel-remrem-publish-container-build-macro'
- image-dockerfile: 'src/main/docker/Dockerfile'
- image-name: '{project}'
- image-tag: 'dev'
-
- distro: ubuntu2004
-
- jobs:
- - '{project-name}-build-merge-{distro}-{stream}'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/global-eiffel-container-build-merge.yaml b/jjb/eiffel/global-eiffel-container-build-merge.yaml
deleted file mode 100644
index 8f9b79d..0000000
--- a/jjb/eiffel/global-eiffel-container-build-merge.yaml
+++ /dev/null
@@ -1,129 +0,0 @@
----
-# ============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=========================================================
-
-- job-template:
- name: '{project-name}-build-merge-{distro}-{stream}'
-
- node: 'eiffel-build-{distro}'
-
- disabled: false
-
- concurrent: false
-
- properties:
- - logrotate
- - github:
- # NOTE (fdegir): url is hardcoded here since env vars in job properties
- # do not seem to be resolved correctly, causing job no to function properly
- url: 'https://github.com/eiffel-community/{project-git-repo}'
-
- parameters:
- - project-parameters:
- project: '{project}'
- branch: '{branch}'
- - string:
- name: GITHUB_BASE_URL
- default: https://github.com/eiffel-community
- description: HTTPS URL of Project Repo on GitHub to clone repo.
- - string:
- name: GITHUB_API_URL
- default: https://api.github.com/repos/eiffel-community
- description: API 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:
- - eiffel
- - eiffel-playground
- description: Project to push container images to. Default is eiffel. eiffel-playground is for development purposes.
- - choice:
- name: PODMAN_LOG_LEVEL
- choices:
- - error
- - debug
- - info
- - warn
- - fatal
- - panic
- description: Podman log level to use. Default is error.
- - string:
- name: NORDIX_REGISTRY
- default: 'registry.nordix.org'
- description: Nordix container image registry.
-
- scm:
- - git:
- url: 'https://github.com/eiffel-community/{project-git-repo}.git'
- branches:
- - '*/{branch}'
- refspec: ''
- timeout: 15
- per-build-tag: false
- skip-tag: true
- shallow-clone: false
- use-author: false
- ignore-notify: false
- wipe-workspace: true
- prune: false
- clean:
- after: false
- before: false
- choosing-strategy: 'default'
- basedir: '$WORKSPACE'
-
- triggers:
- - github
-
- wrappers:
- - build-timeout:
- timeout: 10
- - nordixinfra-harbor-creds-wrapper
- - nordixinfra-eiffel-github-token
- - mask-passwords
- - openstack:
- single-use: true
-
- builders:
- - '{project-build-macro}'
-
- publishers:
- - postbuildscript:
- builders:
- - role: SLAVE
- build-on:
- - SUCCESS
- - FAILURE
- - ABORTED
- - NOT_BUILT
- - UNSTABLE
- build-steps:
- - 'eiffel-global-pr-comment-macro'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/global-eiffel-container-build-periodic.yaml b/jjb/eiffel/global-eiffel-container-build-periodic.yaml
deleted file mode 100644
index a531f26..0000000
--- a/jjb/eiffel/global-eiffel-container-build-periodic.yaml
+++ /dev/null
@@ -1,113 +0,0 @@
----
-# ============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=========================================================
-
-- job-template:
- name: '{project-name}-build-periodic-{distro}-{stream}'
-
- node: 'eiffel-build-{distro}'
-
- disabled: false
-
- concurrent: false
-
- properties:
- - logrotate
-
- parameters:
- - project-parameters:
- project: '{project}'
- branch: '{branch}'
- - string:
- name: GIT_BASE_HTTPS
- default: https://github.com/eiffel-community
- description: HTTPS URL of Project Repo on GitHub to clone repo.
- - string:
- 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:
- - eiffel
- - eiffel-playground
- description: Project to push container images to. Default is eiffel. eiffel-playground is for development purposes.
- - choice:
- name: PODMAN_LOG_LEVEL
- choices:
- - error
- - debug
- - info
- - warn
- - fatal
- - panic
- description: Podman log level to use. Default is error.
- - string:
- name: NORDIX_REGISTRY
- default: 'registry.nordix.org'
- description: Nordix container image registry.
-
- scm:
- - git:
- url: 'https://github.com/eiffel-community/{project-git-repo}.git'
- branches:
- - '*/{branch}'
- refspec: ''
- timeout: 15
- per-build-tag: false
- skip-tag: true
- shallow-clone: false
- use-author: false
- ignore-notify: false
- wipe-workspace: true
- prune: false
- clean:
- after: false
- before: false
- choosing-strategy: 'default'
- basedir: '$WORKSPACE'
-
-
- triggers:
- - pollscm:
- cron: "H 0,8,16 * * *"
-
- wrappers:
- - build-timeout:
- timeout: 10
- - nordixinfra-harbor-creds-wrapper
- - mask-passwords
- - openstack:
- single-use: True
-
- builders:
- - '{project-build-macro}'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/macros/eiffel-macros.yaml b/jjb/eiffel/macros/eiffel-macros.yaml
deleted file mode 100644
index 7247ba1..0000000
--- a/jjb/eiffel/macros/eiffel-macros.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
----
-- builder:
- name: 'eiffel-global-container-build-macro'
- builders:
- - shell:
- !include-raw: ../scripts/eiffel-global-container-build.sh
-
-- builder:
- name: 'eiffel-intelligence-container-build-macro'
- builders:
- - shell:
- !include-raw: ../scripts/eiffel-intelligence-container-build.sh
-
-- builder:
- name: 'eiffel-intelligence-frontend-container-build-macro'
- builders:
- - shell:
- !include-raw: ../scripts/eiffel-intelligence-frontend-container-build.sh
-
-- builder:
- name: 'eiffel-remrem-generate-container-build-macro'
- builders:
- - shell:
- !include-raw: ../scripts/eiffel-remrem-generate-container-build.sh
-
-- builder:
- name: 'eiffel-remrem-publish-container-build-macro'
- builders:
- - shell:
- !include-raw: ../scripts/eiffel-remrem-publish-container-build.sh
-
-- builder:
- name: 'eiffel-global-pr-comment-macro'
- builders:
- - shell:
- !include-raw: ../scripts/eiffel-global-pr-comment.sh
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/scripts/eiffel-global-container-build.sh b/jjb/eiffel/scripts/eiffel-global-container-build.sh
deleted file mode 100644
index 7f9e6a3..0000000
--- a/jjb/eiffel/scripts/eiffel-global-container-build.sh
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-# Copyright (C) 2020 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# 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=========================================================
-
-set -o errexit
-set -o pipefail
-set -o nounset
-
-# navigate to root of the git clone
-cd "$WORKSPACE"
-
-# 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/$IMAGE_NAME:$IMAGE_TAG"
-
-# set the build command so we can log it to console
-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"
-echo "----------------------------------------------------------------"
-$PODMAN_BUILD_CMD
-echo "----------------------------------------------------------------"
-echo "Info : Build successful! List of container images is"
-echo "----------------------------------------------------------------"
-podman images --log-level $PODMAN_LOG_LEVEL
-echo "----------------------------------------------------------------"
-echo "Info : Logging in to registry.nordix.org and pushing the image"
-echo "----------------------------------------------------------------"
-podman login --log-level "$PODMAN_LOG_LEVEL" "$NORDIX_REGISTRY" --username "$HARBOR_USERNAME" --password "$HARBOR_PASSWORD"
-podman push --log-level "$PODMAN_LOG_LEVEL" "$IMAGE_NAME_TAG"
-podman logout --log-level "$PODMAN_LOG_LEVEL" "$NORDIX_REGISTRY"
-echo "----------------------------------------------------------------"
-echo "Info : Done!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/scripts/eiffel-global-pr-comment.sh b/jjb/eiffel/scripts/eiffel-global-pr-comment.sh
deleted file mode 100644
index 2ca3942..0000000
--- a/jjb/eiffel/scripts/eiffel-global-pr-comment.sh
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-# Copyright (C) 2020 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# 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=========================================================
-
-set -o errexit
-set -o pipefail
-set -o nounset
-
-# navigate to root of the git clone
-#cd "$WORKSPACE"
-
-echo "Info : Identifying PR"
-# get the PR no
-GITHUB_PR_NO=$(git show --pretty=format:%s --quiet | awk -F'[#)]' '{print $2}')
-
-# skip commenting if the commit is not created using PR
-if [[ -z "$GITHUB_PR_NO" ]]; then
- echo "Info : The commit is not connected to a PR. Will not post comment to GitHub!"
- exit 0
-fi
-
-# construct the URLs
-GITHUB_PR_HTTP_URL="$GITHUB_BASE_URL/$PROJECT/pull/$GITHUB_PR_NO"
-GITHUB_PR_API_URL="$GITHUB_API_URL/$PROJECT/pulls/$GITHUB_PR_NO/reviews"
-IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$PROJECT:$IMAGE_TAG"
-
-# log PR no to console
-echo "Info : PR and API URLs"
-echo " $GITHUB_PR_HTTP_URL"
-echo " $GITHUB_PR_API_URL"
-
-# get build status
-BUILD_STATUS=$(curl -s "$BUILD_URL/api/json?pretty=true" | grep result | awk -F'[""]' '{print $4}')
-echo "Info : Build status is $BUILD_STATUS"
-
-# file to store PR comment
-GITHUB_PR_COMMENT_FILE="/tmp/pr_comment.txt.$$"
-/bin/rm -rf "$GITHUB_PR_COMMENT_FILE"
-
-# construct the comment body depending on build status
-if [[ "$BUILD_STATUS" == "SUCCESS" ]]; then
- cat << EOF >> "$GITHUB_PR_COMMENT_FILE"
-{
- "event": "COMMENT",
- "body": "
-- Build Status: **$BUILD_STATUS**\n
-- Build URL: [Nordix Jenkins]($BUILD_URL)\n
-- Command to pull image:\n
- \`docker pull $IMAGE_NAME_TAG\`\n
- or\n
- \`podman pull $IMAGE_NAME_TAG\`
-"
-}
-EOF
-else
- cat << EOF >> "$GITHUB_PR_COMMENT_FILE"
-{
- "event": "COMMENT",
- "body": "
-- Build Status: **$BUILD_STATUS**\n
-- Build URL: [Nordix Jenkins]($BUILD_URL)\n
-"
-}
-EOF
-fi
-
-# construct the full comment
-echo "Info : PR comment"
-echo "----------------------------------------------------------------"
-cat "$GITHUB_PR_COMMENT_FILE"
-echo "----------------------------------------------------------------"
-echo
-echo "Info : Command to send PR comment"
-echo "----------------------------------------------------------------"
-echo "curl -s -u \"username:password\" -X POST -H \"Accept: application/vnd.github.v3+json\" \"$GITHUB_PR_API_URL\" -d \"@${GITHUB_PR_COMMENT_FILE}\""
-echo "----------------------------------------------------------------"
-
-curl -s -u "${NORDIXINFRA_GITHUB_USERNAME}:${NORDIXINFRA_GITHUB_TOKEN}" -X POST \
- -H \"Accept: application/vnd.github.v3+json\" "$GITHUB_PR_API_URL" -d "@${GITHUB_PR_COMMENT_FILE}"
-
-# remove the file
-/bin/rm -rf "$GITHUB_PR_COMMENT_FILE"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/scripts/eiffel-intelligence-container-build.sh b/jjb/eiffel/scripts/eiffel-intelligence-container-build.sh
deleted file mode 100644
index 72eb914..0000000
--- a/jjb/eiffel/scripts/eiffel-intelligence-container-build.sh
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-# Copyright (C) 2020 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# 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=========================================================
-
-set -o errexit
-set -o pipefail
-set -o nounset
-
-# navigate to root of the git clone
-cd "$WORKSPACE"
-
-# TODO (fdegir): the versions need to be parameterized
-# they are hardcoded in the script to get the basic builds working
-# the job and script will be updated once the build is working and the versions are confirmed
-# set openjdk and maven versions
-OPENJDK_VERSION="8u265-b01-0ubuntu2~20.04"
-MAVEN_VERSION="3.6.3-1"
-
-# set maven build command
-MAVEN_BUILD_CMD="mvn --quiet --batch-mode package -DskipTests"
-
-# install openjdk and maven
-echo "Info : Installing openjdk and maven"
-echo "----------------------------------------------------------------"
-sudo apt install -y -qq openjdk-8-jdk-headless="$OPENJDK_VERSION" maven="$MAVEN_VERSION"
-echo "----------------------------------------------------------------"
-echo "Info : Building the project with the command"
-echo " $MAVEN_BUILD_CMD"
-echo "----------------------------------------------------------------"
-$MAVEN_BUILD_CMD
-# find the warfile
-PROJECT_WAR_FILE=$(ls target/*.war)
-echo "----------------------------------------------------------------"
-echo "Info : Build successful! Artifact is available as"
-ls -al $PROJECT_WAR_FILE
-echo "----------------------------------------------------------------"
-
-# 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/$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 $IMAGE_DOCKERFILE --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
-
-echo "Info : Building the container image with the command"
-echo " $PODMAN_BUILD_CMD"
-echo "----------------------------------------------------------------"
-$PODMAN_BUILD_CMD
-echo "----------------------------------------------------------------"
-echo "Info : Build successful! List of container images is"
-echo "----------------------------------------------------------------"
-podman images --log-level $PODMAN_LOG_LEVEL
-echo "----------------------------------------------------------------"
-echo "Info : Logging in to registry.nordix.org and pushing the image"
-echo "----------------------------------------------------------------"
-podman login --log-level "$PODMAN_LOG_LEVEL" "$NORDIX_REGISTRY" --username "$HARBOR_USERNAME" --password "$HARBOR_PASSWORD"
-podman push --log-level "$PODMAN_LOG_LEVEL" "$IMAGE_NAME_TAG"
-podman logout --log-level "$PODMAN_LOG_LEVEL" "$NORDIX_REGISTRY"
-echo "----------------------------------------------------------------"
-echo "Info : Done!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/scripts/eiffel-intelligence-frontend-container-build.sh b/jjb/eiffel/scripts/eiffel-intelligence-frontend-container-build.sh
deleted file mode 100644
index 72eb914..0000000
--- a/jjb/eiffel/scripts/eiffel-intelligence-frontend-container-build.sh
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-# Copyright (C) 2020 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# 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=========================================================
-
-set -o errexit
-set -o pipefail
-set -o nounset
-
-# navigate to root of the git clone
-cd "$WORKSPACE"
-
-# TODO (fdegir): the versions need to be parameterized
-# they are hardcoded in the script to get the basic builds working
-# the job and script will be updated once the build is working and the versions are confirmed
-# set openjdk and maven versions
-OPENJDK_VERSION="8u265-b01-0ubuntu2~20.04"
-MAVEN_VERSION="3.6.3-1"
-
-# set maven build command
-MAVEN_BUILD_CMD="mvn --quiet --batch-mode package -DskipTests"
-
-# install openjdk and maven
-echo "Info : Installing openjdk and maven"
-echo "----------------------------------------------------------------"
-sudo apt install -y -qq openjdk-8-jdk-headless="$OPENJDK_VERSION" maven="$MAVEN_VERSION"
-echo "----------------------------------------------------------------"
-echo "Info : Building the project with the command"
-echo " $MAVEN_BUILD_CMD"
-echo "----------------------------------------------------------------"
-$MAVEN_BUILD_CMD
-# find the warfile
-PROJECT_WAR_FILE=$(ls target/*.war)
-echo "----------------------------------------------------------------"
-echo "Info : Build successful! Artifact is available as"
-ls -al $PROJECT_WAR_FILE
-echo "----------------------------------------------------------------"
-
-# 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/$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 $IMAGE_DOCKERFILE --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
-
-echo "Info : Building the container image with the command"
-echo " $PODMAN_BUILD_CMD"
-echo "----------------------------------------------------------------"
-$PODMAN_BUILD_CMD
-echo "----------------------------------------------------------------"
-echo "Info : Build successful! List of container images is"
-echo "----------------------------------------------------------------"
-podman images --log-level $PODMAN_LOG_LEVEL
-echo "----------------------------------------------------------------"
-echo "Info : Logging in to registry.nordix.org and pushing the image"
-echo "----------------------------------------------------------------"
-podman login --log-level "$PODMAN_LOG_LEVEL" "$NORDIX_REGISTRY" --username "$HARBOR_USERNAME" --password "$HARBOR_PASSWORD"
-podman push --log-level "$PODMAN_LOG_LEVEL" "$IMAGE_NAME_TAG"
-podman logout --log-level "$PODMAN_LOG_LEVEL" "$NORDIX_REGISTRY"
-echo "----------------------------------------------------------------"
-echo "Info : Done!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/scripts/eiffel-remrem-generate-container-build.sh b/jjb/eiffel/scripts/eiffel-remrem-generate-container-build.sh
deleted file mode 100644
index a867dd9..0000000
--- a/jjb/eiffel/scripts/eiffel-remrem-generate-container-build.sh
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-# Copyright (C) 2020 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# 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=========================================================
-
-set -o errexit
-set -o pipefail
-set -o nounset
-
-# navigate to root of the git clone
-cd "$WORKSPACE"
-
-# TODO (fdegir): the versions need to be parameterized
-# they are hardcoded in the script to get the basic builds working
-# the job and script will be updated once the build is working and the versions are confirmed
-# set openjdk and maven versions
-OPENJDK_VERSION="8u265-b01-0ubuntu2~20.04"
-MAVEN_VERSION="3.6.3-1"
-
-# set maven build command
-MAVEN_BUILD_CMD="mvn --quiet --batch-mode package -DskipTests"
-
-# install openjdk and maven
-echo "Info : Installing openjdk and maven"
-echo "----------------------------------------------------------------"
-sudo apt install -y -qq openjdk-8-jdk-headless="$OPENJDK_VERSION" maven="$MAVEN_VERSION"
-echo "----------------------------------------------------------------"
-echo "Info : Building the project with the command"
-echo " $MAVEN_BUILD_CMD"
-echo "----------------------------------------------------------------"
-cd service
-$MAVEN_BUILD_CMD
-# find the warfile - we need to be in the folder where the service code is located
-PROJECT_WAR_FILE=$(ls target/*.war)
-echo "----------------------------------------------------------------"
-echo "Info : Build successful! Artifact is available as"
-ls -al $PROJECT_WAR_FILE
-echo "----------------------------------------------------------------"
-
-# 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/$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 $IMAGE_DOCKERFILE --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
-
-echo "Info : Building the container image with the command"
-echo " $PODMAN_BUILD_CMD"
-echo "----------------------------------------------------------------"
-$PODMAN_BUILD_CMD
-echo "----------------------------------------------------------------"
-echo "Info : Build successful! List of container images is"
-echo "----------------------------------------------------------------"
-podman images --log-level $PODMAN_LOG_LEVEL
-echo "----------------------------------------------------------------"
-echo "Info : Logging in to registry.nordix.org and pushing the image"
-echo "----------------------------------------------------------------"
-podman login --log-level "$PODMAN_LOG_LEVEL" "$NORDIX_REGISTRY" --username "$HARBOR_USERNAME" --password "$HARBOR_PASSWORD"
-podman push --log-level "$PODMAN_LOG_LEVEL" "$IMAGE_NAME_TAG"
-podman logout --log-level "$PODMAN_LOG_LEVEL" "$NORDIX_REGISTRY"
-echo "----------------------------------------------------------------"
-echo "Info : Done!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/eiffel/scripts/eiffel-remrem-publish-container-build.sh b/jjb/eiffel/scripts/eiffel-remrem-publish-container-build.sh
deleted file mode 100644
index 8023014..0000000
--- a/jjb/eiffel/scripts/eiffel-remrem-publish-container-build.sh
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-# Copyright (C) 2020 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# 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=========================================================
-
-set -o errexit
-set -o pipefail
-set -o nounset
-
-# navigate to root of the git clone
-cd "$WORKSPACE"
-
-# TODO (fdegir): the versions need to be parameterized
-# they are hardcoded in the script to get the basic builds working
-# the job and script will be updated once the build is working and the versions are confirmed
-# set openjdk and maven versions
-OPENJDK_VERSION="8u265-b01-0ubuntu2~20.04"
-MAVEN_VERSION="3.6.3-1"
-
-# set maven build command
-MAVEN_BUILD_CMD="mvn --quiet --batch-mode package -DskipTests"
-
-# install openjdk and maven
-echo "Info : Installing openjdk and maven"
-echo "----------------------------------------------------------------"
-sudo apt install -y -qq openjdk-8-jdk-headless="$OPENJDK_VERSION" maven="$MAVEN_VERSION"
-echo "----------------------------------------------------------------"
-echo "Info : Building the project with the command"
-echo " $MAVEN_BUILD_CMD"
-echo "----------------------------------------------------------------"
-$MAVEN_BUILD_CMD
-# find the warfile - we need to be in the folder where the service code is located
-cd publish-service
-PROJECT_WAR_FILE=$(ls target/*.war)
-echo "----------------------------------------------------------------"
-echo "Info : Build successful! Artifact is available as"
-ls -al $PROJECT_WAR_FILE
-echo "----------------------------------------------------------------"
-
-# 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/$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 $IMAGE_DOCKERFILE --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
-
-echo "Info : Building the container image with the command"
-echo " $PODMAN_BUILD_CMD"
-echo "----------------------------------------------------------------"
-$PODMAN_BUILD_CMD
-echo "----------------------------------------------------------------"
-echo "Info : Build successful! List of container images is"
-echo "----------------------------------------------------------------"
-podman images --log-level $PODMAN_LOG_LEVEL
-echo "----------------------------------------------------------------"
-echo "Info : Logging in to registry.nordix.org and pushing the image"
-echo "----------------------------------------------------------------"
-podman login --log-level "$PODMAN_LOG_LEVEL" "$NORDIX_REGISTRY" --username "$HARBOR_USERNAME" --password "$HARBOR_PASSWORD"
-podman push --log-level "$PODMAN_LOG_LEVEL" "$IMAGE_NAME_TAG"
-podman logout --log-level "$PODMAN_LOG_LEVEL" "$NORDIX_REGISTRY"
-echo "----------------------------------------------------------------"
-echo "Info : Done!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/fast-data-project/global-templates-fdio-rebase.yaml b/jjb/fast-data-project/global-templates-fdio-rebase.yaml
index e9394bf..dee308b 100644
--- a/jjb/fast-data-project/global-templates-fdio-rebase.yaml
+++ b/jjb/fast-data-project/global-templates-fdio-rebase.yaml
@@ -44,10 +44,10 @@
- shell:
!include-raw-escape: ../global/rebase-jobs.sh
- publishers:
- - notify-slack:
- slack-channel: '#infra'
- notify-start: false
- notify-success: false
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#infra'
+# notify-start: false
+# notify-success: false
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/geode-native-win/apache-geode-native-win-slave/apache-geode-native-win-slave-setup.yaml b/jjb/geode-native-win/apache-geode-native-win-slave/apache-geode-native-win-slave-setup.yaml
index 38b835a..0bc61f5 100644
--- a/jjb/geode-native-win/apache-geode-native-win-slave/apache-geode-native-win-slave-setup.yaml
+++ b/jjb/geode-native-win/apache-geode-native-win-slave/apache-geode-native-win-slave-setup.yaml
@@ -52,10 +52,10 @@
builders:
- 'apache-geode-native-win-setup-slave-macro'
- publishers:
- - notify-slack:
- slack-channel: '#geode-ci'
- notify-start: true
- notify-success: true
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#geode-ci'
+# notify-start: true
+# notify-success: true
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/geode-native-win/apache-geode-native-win-verify.yaml b/jjb/geode-native-win/apache-geode-native-win-verify.yaml
index 51c3725..7f4cfc7 100644
--- a/jjb/geode-native-win/apache-geode-native-win-verify.yaml
+++ b/jjb/geode-native-win/apache-geode-native-win-verify.yaml
@@ -136,10 +136,10 @@
abort-all-job: false
node-parameters: true
- publishers:
- - notify-slack:
- slack-channel: '#geode-ci'
- notify-start: true
- notify-success: true
- notify-failure: true
- notify-back-to-normal: true
\ No newline at end of file
+# publishers:
+# - notify-slack:
+# slack-channel: '#geode-ci'
+# notify-start: true
+# notify-success: true
+# notify-failure: true
+# notify-back-to-normal: true
\ No newline at end of file
diff --git a/jjb/geode-native-win/global-template-apache-geode-native-win-tests.yaml b/jjb/geode-native-win/global-template-apache-geode-native-win-tests.yaml
index c7b3f84..11f14d6 100644
--- a/jjb/geode-native-win/global-template-apache-geode-native-win-tests.yaml
+++ b/jjb/geode-native-win/global-template-apache-geode-native-win-tests.yaml
@@ -70,9 +70,9 @@
- workspace-cleanup:
clean-if:
- failure: false
- - notify-slack:
- slack-channel: '#geode-ci'
- notify-start: true
- notify-success: true
- notify-failure: true
- notify-back-to-normal: true
+# - notify-slack:
+# slack-channel: '#geode-ci'
+# notify-start: true
+# notify-success: true
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/geode-native/apache-geode-native-release/apache-geode-native-SrcRelease.yaml b/jjb/geode-native/apache-geode-native-release/apache-geode-native-SrcRelease.yaml
index a0bca22..0f7e832 100644
--- a/jjb/geode-native/apache-geode-native-release/apache-geode-native-SrcRelease.yaml
+++ b/jjb/geode-native/apache-geode-native-release/apache-geode-native-SrcRelease.yaml
@@ -56,10 +56,10 @@
builders:
- 'apache-geode-native-srcrelease-macro'
- publishers:
- - notify-slack:
- slack-channel: '#geode-ci'
- notify-start: true
- notify-success: true
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#geode-ci'
+# notify-start: true
+# notify-success: true
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/geode-native/apache-geode-native-slave/apache-geode-native-slave-setup.yaml b/jjb/geode-native/apache-geode-native-slave/apache-geode-native-slave-setup.yaml
index 5451a13..421ffc8 100644
--- a/jjb/geode-native/apache-geode-native-slave/apache-geode-native-slave-setup.yaml
+++ b/jjb/geode-native/apache-geode-native-slave/apache-geode-native-slave-setup.yaml
@@ -36,10 +36,10 @@
builders:
- 'apache-geode-native-setup-slave-macro'
- publishers:
- - notify-slack:
- slack-channel: '#geode-ci'
- notify-start: true
- notify-success: true
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#geode-ci'
+# notify-start: true
+# notify-success: true
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/geode-native/apache-geode-native-verify.yaml b/jjb/geode-native/apache-geode-native-verify.yaml
index 650c328..8169f9e 100644
--- a/jjb/geode-native/apache-geode-native-verify.yaml
+++ b/jjb/geode-native/apache-geode-native-verify.yaml
@@ -125,10 +125,10 @@
node-parameters: true
enable-condition: "$PUBLISH_GEODE == true"
- publishers:
- - notify-slack:
- slack-channel: '#geode-ci'
- notify-start: true
- notify-success: true
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#geode-ci'
+# notify-start: true
+# notify-success: true
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/geode-native/global-template-apache-geode-native-test.yaml b/jjb/geode-native/global-template-apache-geode-native-test.yaml
index 7f234bc..bee3bde 100644
--- a/jjb/geode-native/global-template-apache-geode-native-test.yaml
+++ b/jjb/geode-native/global-template-apache-geode-native-test.yaml
@@ -62,9 +62,9 @@
- workspace-cleanup:
clean-if:
- failure: false
- - notify-slack:
- slack-channel: '#geode-ci'
- notify-start: true
- notify-success: true
- notify-failure: true
- notify-back-to-normal: true
+# - notify-slack:
+# slack-channel: '#geode-ci'
+# notify-start: true
+# notify-success: true
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/geode/apache-geode-test-coordinator.yaml b/jjb/geode/apache-geode-test-coordinator.yaml
index f93ab00..339f0e9 100644
--- a/jjb/geode/apache-geode-test-coordinator.yaml
+++ b/jjb/geode/apache-geode-test-coordinator.yaml
@@ -152,10 +152,10 @@
node-parameters: true
enable-condition: "$PUBLISH_GEODE == true"
- publishers:
- - notify-slack:
- slack-channel: '#geode-ci'
- notify-start: true
- notify-success: true
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#geode-ci'
+# notify-start: true
+# notify-success: true
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/geode/global-template-apache-geode-build.yaml b/jjb/geode/global-template-apache-geode-build.yaml
index 4a7d873..97bada3 100644
--- a/jjb/geode/global-template-apache-geode-build.yaml
+++ b/jjb/geode/global-template-apache-geode-build.yaml
@@ -80,10 +80,10 @@
builders:
- '{build-executor}'
- publishers:
- - notify-slack:
- slack-channel: '#geode-ci'
- notify-start: true
- notify-success: true
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#geode-ci'
+# notify-start: true
+# notify-success: true
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/geode/global-template-apache-geode-test.yaml b/jjb/geode/global-template-apache-geode-test.yaml
index 6fdfec8..e337402 100644
--- a/jjb/geode/global-template-apache-geode-test.yaml
+++ b/jjb/geode/global-template-apache-geode-test.yaml
@@ -97,9 +97,9 @@
keep-all: false
allow-missing: true
link-to-last-build: false
- - notify-slack:
- slack-channel: '#geode-ci'
- notify-start: true
- notify-success: true
- notify-failure: true
- notify-back-to-normal: true
+# - notify-slack:
+# slack-channel: '#geode-ci'
+# notify-start: true
+# notify-success: true
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/global/global-templates-rebase.yaml b/jjb/global/global-templates-rebase.yaml
index 65008c4..6eaa7ad 100644
--- a/jjb/global/global-templates-rebase.yaml
+++ b/jjb/global/global-templates-rebase.yaml
@@ -46,10 +46,10 @@
- shell:
!include-raw-escape: ./rebase-jobs.sh
- publishers:
- - notify-slack:
- slack-channel: '#infra'
- notify-start: false
- notify-success: false
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#infra'
+# notify-start: false
+# notify-success: false
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/global/jjb-macros.yaml b/jjb/global/jjb-macros.yaml
index c1c6abe..5c8953c 100644
--- a/jjb/global/jjb-macros.yaml
+++ b/jjb/global/jjb-macros.yaml
@@ -495,15 +495,19 @@
#!/bin/bash
sudo chown -R $USER:$USER $WORKSPACE || exit 1
-- publisher:
- name: notify-slack
- publishers:
- - slack:
- room: '{slack-channel}'
- notify-start: '{notify-start}'
- notify-success: '{notify-success}'
- notify-failure: '{notify-failure}'
- notify-back-to-normal: '{notify-back-to-normal}'
+#- publisher:
+# name: notify-slack
+# publishers:
+# - slack:
+# team-domain: 'EST'
+# auth-token: ' '
+# auth-token-id: ' '
+# build-server-url: ' '
+# room: '{slack-channel}'
+# notify-start: '{notify-start}'
+# notify-success: '{notify-success}'
+# notify-failure: '{notify-failure}'
+# notify-back-to-normal: '{notify-back-to-normal}'
# property to discard old builds
- property:
diff --git a/jjb/onap/global-templates-onap-rebase.yaml b/jjb/onap/global-templates-onap-rebase.yaml
index 180f851..aa3e289 100644
--- a/jjb/onap/global-templates-onap-rebase.yaml
+++ b/jjb/onap/global-templates-onap-rebase.yaml
@@ -45,10 +45,10 @@
- shell:
!include-raw-escape: ../global/rebase-jobs.sh
- publishers:
- - notify-slack:
- slack-channel: '#infra'
- notify-start: false
- notify-success: false
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#infra'
+# notify-start: false
+# notify-success: false
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/opendaylight/global-templates-opendaylight-rebase.yaml b/jjb/opendaylight/global-templates-opendaylight-rebase.yaml
index cbee1e3..1faa357 100644
--- a/jjb/opendaylight/global-templates-opendaylight-rebase.yaml
+++ b/jjb/opendaylight/global-templates-opendaylight-rebase.yaml
@@ -47,10 +47,10 @@
- shell:
!include-raw-escape: ../global/rebase-jobs.sh
- publishers:
- - notify-slack:
- slack-channel: '#infra'
- notify-start: false
- notify-success: false
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#infra'
+# notify-start: false
+# notify-success: false
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/jjb/oransc/global-templates-oran-rebase.yaml b/jjb/oransc/global-templates-oran-rebase.yaml
index 729e547..44e3db8 100644
--- a/jjb/oransc/global-templates-oran-rebase.yaml
+++ b/jjb/oransc/global-templates-oran-rebase.yaml
@@ -44,10 +44,10 @@
- shell:
!include-raw-escape: ../global/rebase-jobs.sh
- publishers:
- - notify-slack:
- slack-channel: '#infra'
- notify-start: false
- notify-success: false
- notify-failure: true
- notify-back-to-normal: true
+# publishers:
+# - notify-slack:
+# slack-channel: '#infra'
+# notify-start: false
+# notify-success: false
+# notify-failure: true
+# notify-back-to-normal: true
diff --git a/tox.ini b/tox.ini
index ac5cf95..05b3cd0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,8 +12,8 @@
deps = -r{toxinidir}/jjb/infra/test-requirements.txt
whitelist_externals = bash
commands =
- bash -c "jenkins-jobs --conf {toxinidir}/jjb/global/jenkins_jobs.ini \
- test --config-xml --recursive {toxinidir}/jjb"
+ bash -c "jenkins-jobs -l debug --conf {toxinidir}/jjb/global/jenkins_jobs.ini \
+ --user $JJB_USERNAME --password $JJB_USERTOKEN test --config-xml --recursive {toxinidir}/jjb"
[testenv:jjbdeploy]
description = invoke jenkins-job-builder to deploy jobs from jjb templates