#!/bin/bash
###-------------------------------------------------------------------
### @author Lukasz Opiola, Darin Nikolow
### @copyright (C) 2021 ACK CYFRONET AGH
### @copyright (C) 2026: Onedata (onedata.org)
### This software is released under the MIT license
### cited in 'LICENSE.txt'.
### @end
###-------------------------------------------------------------------
### @doc
### This script iterates through a static list of all repos that include bamboos
### as a submodule and bumps it to the HEAD of given branch, creating a commit
### and pushing the changes. The list of repos must be manually maintained -
### whenever a new repo with bamboos is added, it should be added here too.
### See bump-common.sh for details.
###
### @end
###-------------------------------------------------------------------

SCRIPT_DIR=$(cd -- "$(dirname -- "$0")" && pwd -P)

. ${SCRIPT_DIR}/bump-common.sh

ALL_REPOS=(
    appmock
    cluster-manager
    cluster-worker
    ctool
    fs-onedatafs
    gui
    helpers
    homepage
    ioreplay
    macaroons
    oneclient-pkg
    onedata-acceptance
    onedata-documentation
    onedatafilerestclient
    onedatafs-jupyter
    onedatarestfs
    onenv-ct
    onepanel
    onepanel-gui
    onepanel-swagger
    oneprovider-gui
    oneprovider-pkg
    oneprovider-swagger
    onezone-gui
    onezone-gui-plugin-ecrin
    onezone-pkg
    onezone-swagger
    op-worker
    oz-worker
    rtransfer_link
)

bump bamboos
