Skip to content

Commit 4adaad3

Browse files
geroplona-agent
andauthored
fix: migrate from bitnami/mysql to bitnamilegacy/mysql (#21065)
- Update GitHub Actions workflow to use bitnamilegacy/mysql image - Configure Helm chart to pull from docker.io/bitnamilegacy registry - Update related comments to reflect the migration Addresses bitnami deprecation of public Debian-based images. Bitnami has moved existing images to bitnamilegacy repository where they remain available for development use. Fixes: CLC-1948 Co-authored-by: Ona <[email protected]>
1 parent 3d379e1 commit 4adaad3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ jobs:
175175
cancel-in-progress: ${{ needs.configuration.outputs.is_main_branch == 'false' }}
176176
services:
177177
mysql:
178-
image: bitnami/mysql:8.0.33-debian-11-r24
178+
image: bitnamilegacy/mysql:8.0.33-debian-11-r24
179179
env:
180180
MYSQL_ROOT_PASSWORD: test
181-
#MYSQL_TCP_PORT: 23306 bitnami/mysql does not honor this, but has it's own:
181+
#MYSQL_TCP_PORT: 23306 bitnamilegacy/mysql does not honor this, but has it's own:
182182
MYSQL_PORT_NUMBER: 23306
183183
MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password
184184
ports:

components/gitpod-db/BUILD.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ packages:
7676
# Check if a DB is present. If not: start one and wait until it's up
7777
# Note: In CI there is a DB running as sidecar; in workspaces we're starting it once.
7878
# Re-use of the instance because of the init scripts (cmp. next step).
79-
# (gpl): It would be nice to use bitnami/mysql here as we do in previews. However the container does not start in Gitpod workspaces due to some docker/kernel/namespace issue.
79+
# (gpl): It would be nice to use bitnamilegacy/mysql here as we do in previews. However the container does not start in Gitpod workspaces due to some docker/kernel/namespace issue.
8080
- ["sh", "-c", "mysqladmin ping --wait=${DB_RETRIES:-1} -h $DB_HOST --port $DB_PORT -p$DB_PASSWORD -u$DB_USER --default-auth=mysql_native_password --silent || (docker container rm test-mysql; docker run --name test-mysql -d -e MYSQL_ROOT_PASSWORD=$DB_PASSWORD -e MYSQL_TCP_PORT=$DB_PORT -p $DB_PORT:$DB_PORT mysql:8.0.33 --default-authentication-plugin=mysql_native_password; while ! mysqladmin ping -h \"$DB_HOST\" -P \"$DB_PORT\" -p$DB_PASSWORD -u$DB_USER --default-auth=mysql_native_password --silent; do echo \"waiting for DB...\"; sleep 2; done)"]
8181
# Apply the DB initialization scripts (re-creates the "gitpod" DB if already there)
8282
- ["mkdir", "-p", "init-scripts"]

install/installer/third_party/charts/mysql/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
mysql:
66
fullnameOverride: mysql
77
image:
8+
registry: docker.io/bitnamilegacy
89
tag: "overwritten"
910
primary:
1011
extraEnvVars:

0 commit comments

Comments
 (0)