Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ jobs:
cancel-in-progress: ${{ needs.configuration.outputs.is_main_branch == 'false' }}
services:
mysql:
image: bitnami/mysql:8.0.33-debian-11-r24
image: bitnamilegacy/mysql:8.0.33-debian-11-r24
env:
MYSQL_ROOT_PASSWORD: test
#MYSQL_TCP_PORT: 23306 bitnami/mysql does not honor this, but has it's own:
#MYSQL_TCP_PORT: 23306 bitnamilegacy/mysql does not honor this, but has it's own:
MYSQL_PORT_NUMBER: 23306
MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password
ports:
Expand Down
2 changes: 1 addition & 1 deletion components/gitpod-db/BUILD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ packages:
# Check if a DB is present. If not: start one and wait until it's up
# Note: In CI there is a DB running as sidecar; in workspaces we're starting it once.
# Re-use of the instance because of the init scripts (cmp. next step).
# (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.
# (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.
- ["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)"]
# Apply the DB initialization scripts (re-creates the "gitpod" DB if already there)
- ["mkdir", "-p", "init-scripts"]
Expand Down
1 change: 1 addition & 0 deletions install/installer/third_party/charts/mysql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
mysql:
fullnameOverride: mysql
image:
registry: docker.io/bitnamilegacy
tag: "overwritten"
primary:
extraEnvVars:
Expand Down
Loading