Skip to content

Commit

Permalink
*: update relevant scripts and triggers for tentacle
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Donnelly <[email protected]>
  • Loading branch information
batrick committed Jan 10, 2025
1 parent dad168c commit 3a593e3
Show file tree
Hide file tree
Showing 13 changed files with 95 additions and 4 deletions.
26 changes: 26 additions & 0 deletions attic/ceph-dev-trigger/config/definitions/ceph-dev-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- 'origin/quincy'
- 'origin/reef'
- 'origin/squid'
- 'origin/tentacle'
skip-tag: true
timeout: 20
wipe-workspace: true
Expand Down Expand Up @@ -102,6 +103,31 @@
FORCE=True
DISTROS=centos9
FLAVOR=crimson
# build tentacle on:
# default: jammy focal centos8 centos9
# crimson: centos8 centos9
- conditional-step:
condition-kind: regex-match
regex: .*tentacle.*
label: '${GIT_BRANCH}'
on-evaluation-failure: dont-run
steps:
- shell:
!include-raw:
- ../../../scripts/build_utils.sh
- ../../build/notify
- trigger-builds:
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
DISTROS=jammy focal centos8 centos9
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
DISTROS=centos9
FLAVOR=crimson
# build main on:
# default: jammy focal centos8 centos9
# crimson: centos9
Expand Down
1 change: 1 addition & 0 deletions ceph-api-nightly/config/definitions/ceph-api-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: ceph-api-nightly
ceph_branch:
- main
- tentacle
- squid
- reef
- quincy
Expand Down
2 changes: 1 addition & 1 deletion ceph-build/config/definitions/ceph-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
- condition-kind: and
condition-operands:
- condition-kind: regex-match
regex: (mimic|nautilus|octopus|pacific|quincy|reef|squid)
regex: (mimic|nautilus|octopus|pacific|quincy|reef|squid|tentacle)
label: '${BRANCH}'
- condition-kind: regex-match
regex: (xenial|bionic|focal|jammy|centos7|centos8|centos9|buster|bullseye|bookworm)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: ceph-dashboard-cephadm-e2e-nightly
ceph_branch:
- main
- tentacle
- squid
- reef
- quincy
Expand Down
3 changes: 3 additions & 0 deletions ceph-dev-build/build/build_osc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
set -ex

case $RELEASE_BRANCH in
tentacle)
OBSREPO="openSUSE_Leap_15.3"
;;
squid)
OBSREPO="openSUSE_Leap_15.3"
;;
Expand Down
4 changes: 4 additions & 0 deletions ceph-dev-build/build/setup_osc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ raw_version=`echo $vers | cut -d '-' -f 1`

RELEASE_BRANCH=$(release_from_version $raw_version)
case $RELEASE_BRANCH in
tentacle)
DISTRO=opensuse
RELEASE="15.3"
;;
squid)
DISTRO=opensuse
RELEASE="15.3"
Expand Down
27 changes: 27 additions & 0 deletions ceph-dev-cron/config/definitions/ceph-dev-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
browser: auto
branches:
- origin/main
- origin/tentacle
- origin/squid
- origin/reef
- origin/quincy
Expand Down Expand Up @@ -108,6 +109,32 @@
DISTROS=centos9
FLAVOR=crimson
ARCHS=x86_64
# build tentacle on:
# default: jammy centos9 windows
# crimson: centos9
- conditional-step:
condition-kind: regex-match
regex: .*tentacle.*
label: '${GIT_BRANCH}'
on-evaluation-failure: dont-run
steps:
- shell:
!include-raw:
- ../../../scripts/build_utils.sh
- ../../build/notify
- trigger-builds:
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
DISTROS=jammy centos9 windows
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
DISTROS=centos9
FLAVOR=crimson
ARCHS=x86_64
# build main on:
# default: jammy centos9 windows
# crimson: centos9
Expand Down
28 changes: 27 additions & 1 deletion ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,38 @@
DISTROS=centos9
FLAVOR=crimson
ARCHS=x86_64
# build tentacle on:
# default: jammy centos9 windows
# crimson: centos9
- conditional-step:
condition-kind: regex-match
regex: .*tentacle.*
label: '${GIT_BRANCH}'
on-evaluation-failure: dont-run
steps:
- shell:
!include-raw:
- ../../../scripts/build_utils.sh
- ../../build/notify
- trigger-builds:
- project: 'ceph-dev-new'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
DISTROS=jammy centos9 windows
- project: 'ceph-dev-new'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
DISTROS=centos9
FLAVOR=crimson
ARCHS=x86_64
# If no release name is found in branch, build on all possible distro/flavor combos (except xenial, bionic, focal).
# regex matching and 'on-evaluation-failure: run' doesn't work here so triple negative it is.
- conditional-step:
condition-kind: shell
condition-command: |
echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\|octopus\|pacific\|quincy\|reef\|squid\|centos9-only\|crimson-only\|jaeger\)'
echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\|octopus\|pacific\|quincy\|reef\|squid\|tentacle\|centos9-only\|crimson-only\|jaeger\)'
on-evaluation-failure: dont-run
steps:
- shell:
Expand Down
1 change: 1 addition & 0 deletions ceph-pr-api/config/definitions/ceph-pr-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
- ceph
white-list-target-branches:
- main
- tentacle
- squid
- reef
- quincy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- dmcrypt
ceph_branch:
- main
- tentacle
- squid
- reef

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
- ceph
white-list-target-branches:
- main
- tentacle
- squid
- reef
- quincy
Expand Down
2 changes: 1 addition & 1 deletion scripts/sign-rpms
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ project=$1; shift

if [ $# -eq 0 ]; then
# Default releases if no arguments passed
releases=( quincy reef squid )
releases=( quincy reef squid tentacle )
else
releases=( "$@" )
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/sync-push
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ project=$1; shift
prerelease_dir=/data/download.ceph.com/www/prerelease/${project}

if [[ "$project" == "ceph" ]] ; then
releases=${*:-"quincy reef squid"}
releases=${*:-"quincy reef squid tentacle"}
else
releases=$*
fi
Expand Down

0 comments on commit 3a593e3

Please sign in to comment.