Skip to content
Closed
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ case $ID in
20*) ubuntu_version="ubuntu20.04";;
22*) ubuntu_version="ubuntu22.04";;
24*) ubuntu_version="ubuntu24.04";;
*) echo "Found version: $VERSION_ID, supported versions are 18/20/22"
25*) ubuntu_version="ubuntu25.04";;
*) echo "Found version: $VERSION_ID, supported versions are 18/20/22/24/25"
esac
os_version=$ubuntu_version
;;
Expand All @@ -57,7 +58,7 @@ case $os_version in
install_5;;
debian10|debian11|ubuntu20.04|ubuntu22.04)
install_6;;
ubuntu24.04)
ubuntu24.04|ubuntu25.04)
install_7;;
*) echo "Found os_version: $os_version, not in supported list";;
esac
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,6 @@ platforms_to_skip:
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2410-arm64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2504-lts-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2504-lts-arm64 # Possible support in the future
public_url: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/third-party/aerospike
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,19 @@ set -e
sudo apt-get update
sudo apt install -y curl apt-transport-https gnupg

DISTRO=$(lsb_release -cs)
if [ "$DISTRO" = "plucky" ]; then
DISTRO="noble"
if [[ "$(uname -m)" == aarch64 ]]; then
curl -LO http://launchpadlibrarian.net/742841128/libicu74_74.2-1ubuntu4_arm64.deb
else
curl -LO http://launchpadlibrarian.net/742841128/libicu74_74.2-1ubuntu4_amd64.deb
fi
sudo dpkg -i libicu74_74*.deb
fi

curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ $(lsb_release -cs) main" \
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${DISTRO} main" \
| sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null

# https://github.com/apache/couchdb-pkg/blob/main/debian/README.Debian
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ platforms_to_skip:
- suse-cloud:sles-12
- suse-cloud:sles-15
- suse-cloud:sles-15-arm64
- ubuntu-os-cloud:ubuntu-2504-lts-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2504-lts-arm64 # Possible support in the future
supported_app_version: ["10.1.X through 10.7.X", ""] # Indicate multiple versions.
expected_metrics:
- type: workload.googleapis.com/mysql.buffer_pool_data_pages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ platforms_to_skip:
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2410-arm64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2504-lts-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2504-lts-arm64 # Possible support in the future
- debian-cloud:debian-12
- debian-cloud:debian-12-arm64
- suse-cloud:sles-15-arm64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ if [[ "${ID}" == debian && "${VERSION_ID}" == 9 ]]; then
sudo apt install -y libmariadbclient18
elif [[ "${ID}" == ubuntu && "${VERSION_ID}" == 1[68].04 ]]; then
sudo apt install -y libmysqlclient20
elif [[ "${ID}" == ubuntu ]]; then # 19.10 and later
elif [[ "${ID}" == ubuntu && "${VERSION_ID}" == 25.04 ]]; then # 25.04 and later
sudo apt install -y libmysqlclient24
elif [[ "${ID}" == ubuntu ]]; then # 25.10 and later
sudo apt install -y libmysqlclient21
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ platforms_to_skip:
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64
- ubuntu-os-cloud:ubuntu-2410-arm64
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64
- ubuntu-os-cloud:ubuntu-2504-lts-amd64
- ubuntu-os-cloud:ubuntu-2504-lts-arm64
supported_app_version: ["5.7", "8.0"]
expected_metrics:
- type: workload.googleapis.com/mysql.buffer_pool_data_pages
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
set -e

source /etc/os-release

postgres_version=16

if [[ "${VERSION_ID}" == 25.04 ]]; then
postgres_version=17
fi


sudo apt-get -y install gnupg wget
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo wget --no-verbose --output-document=/etc/apt/trusted.gpg.d/postgresql.asc https://www.postgresql.org/media/keys/ACCC4CF8.asc
sudo apt-get -y update
sudo apt-get install -y postgresql-16
sudo apt-get install -y postgresql-${postgres_version}

sudo service postgresql restart
sudo su postgres -c "psql postgres -c \"ALTER ROLE postgres WITH PASSWORD 'abc123';\""
sudo su postgres -c "psql postgres -c \"CREATE ROLE replica_user WITH REPLICATION LOGIN PASSWORD 'abc123';\""

DATA_ROOT=/var/lib/postgresql/16
CFG_ROOT=/etc/postgresql/16
DATA_ROOT=/var/lib/postgresql/${postgres_version}
CFG_ROOT=/etc/postgresql/${postgres_version}

### Everything following this comment is designed to set up a paused replica to get replication metrics
sudo tee -a ${CFG_ROOT}/main/postgresql.conf << EOF
Expand Down Expand Up @@ -63,7 +72,7 @@ EOF
sudo chown -R postgres:postgres ${DATA_ROOT}/repl

# start the replica in the background
nohup sudo su postgres -c "/usr/lib/postgresql/16/bin/postgres -D ${DATA_ROOT}/repl" 2>/dev/null >/dev/null </dev/null &
nohup sudo su postgres -c "/usr/lib/postgresql/${postgres_version}/bin/postgres -D ${DATA_ROOT}/repl" 2>/dev/null >/dev/null </dev/null &
# give it time to start, since we put it in the background
sleep 5
# pause the replication so we see delay metrics populated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ case $VERSION_ID in
24.04)
echo "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
;;
24.10)
24.10|25.04)
echo "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
;;
# debian
Expand All @@ -46,8 +46,13 @@ case $VERSION_ID in
esac

curl -s \
https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.deb.sh | \
sudo bash
https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.deb.sh > install_rabbitmq.sh
chmod +x install_rabbitmq.sh
if [[ "${VERSION_ID}" == 25.04 ]]; then
sudo PLUGINS_DIR="/usr/lib/rabbitmq/lib/rabbitmq_server-4.0.5/plugins" os=ubuntu dist=noble ./install_rabbitmq.sh
else
sudo ./install_rabbitmq.sh
fi

sudo apt-get update

Expand All @@ -62,7 +67,11 @@ fi
sudo systemctl daemon-reload
sudo systemctl enable rabbitmq-server
sudo systemctl restart rabbitmq-server
sudo rabbitmq-plugins enable rabbitmq_management
if [[ "${VERSION_ID}" == 25.04 ]]; then
sudo PLUGINS_DIR="/usr/lib/rabbitmq/lib/rabbitmq_server-4.0.5/plugins" rabbitmq-plugins enable rabbitmq_management
else
sudo rabbitmq-plugins enable rabbitmq_management
fi
sudo systemctl restart rabbitmq-server

sudo rabbitmqctl add_vhost dev
Expand All @@ -87,7 +96,12 @@ curl -i -u admin:admin \
-X POST "${endpoint}/api/bindings/dev/e/webex/q/webq1" \
-d'{"routing_key":"webq1","arguments":{}}'

sudo rabbitmq-plugins enable rabbitmq_management
if [[ "${VERSION_ID}" == 25.04 ]]; then
sudo PLUGINS_DIR="/usr/lib/rabbitmq/lib/rabbitmq_server-4.0.5/plugins" rabbitmq-plugins enable rabbitmq_management
else
sudo rabbitmq-plugins enable rabbitmq_management
fi

sudo rabbitmqctl add_user "usr" "pwd"
sudo rabbitmqctl set_user_tags "usr" monitoring
sudo rabbitmqctl set_permissions -p "dev" "usr" "" "" ".*"
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ if [[ $ID == debian && "${VERSION_ID}" == 12 ]]; then
else
if [[ $ID == ubuntu && "${VERSION_ID}" == 24* ]]; then
TOMCAT_VERSION=tomcat10
elif [[ $ID == ubuntu && "${VERSION_ID}" == 25* ]]; then
TOMCAT_VERSION=tomcat10
else
TOMCAT_VERSION=tomcat9
fi
Expand Down