Compare commits

...

31 Commits

Author SHA1 Message Date
8b97d38737 更新 Dockerfile
Some checks failed
CI / unit-tests (push) Has been cancelled
CI / unit-tests-0.19.0 (push) Has been cancelled
2025-10-17 00:39:50 +08:00
flowshadow
4064f848db 修改镜像地址
Some checks failed
CI / unit-tests (push) Has been cancelled
CI / unit-tests-0.19.0 (push) Has been cancelled
2025-10-17 00:13:36 +08:00
Jose Diaz-Gonzalez
304453ca47 Merge pull request #200 from dokku/dependabot/github_actions/softprops/action-gh-release-2.4.1
Some checks failed
CI / unit-tests (push) Has been cancelled
CI / unit-tests-0.19.0 (push) Has been cancelled
chore(deps): bump softprops/action-gh-release from 2.4.0 to 2.4.1
2025-10-13 00:03:48 -04:00
dependabot[bot]
7fc12d7d5a chore(deps): bump softprops/action-gh-release from 2.4.0 to 2.4.1
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 03:08:36 +00:00
Jose Diaz-Gonzalez
256a5d5050 Merge pull request #199 from dokku/dependabot/github_actions/softprops/action-gh-release-2.4.0
chore(deps): bump softprops/action-gh-release from 2.3.3 to 2.4.0
2025-10-07 13:57:24 -04:00
dependabot[bot]
9753eae0f3 chore(deps): bump softprops/action-gh-release from 2.3.3 to 2.4.0
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.3.3...v2.4.0)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 03:06:17 +00:00
Jose Diaz-Gonzalez
98508d0959 Merge pull request #197 from dokku/dependabot/github_actions/softprops/action-gh-release-2.3.3
chore(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3
2025-09-07 23:35:04 -04:00
dependabot[bot]
f1b9179d38 chore(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.3.2...v2.3.3)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 03:05:19 +00:00
Jose Diaz-Gonzalez
2edcb132eb Merge pull request #196 from dokku/dependabot/github_actions/actions/setup-python-6
chore(deps): bump actions/setup-python from 5 to 6
2025-09-05 01:05:19 -04:00
dependabot[bot]
44effbc91f chore(deps): bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 03:05:13 +00:00
Jose Diaz-Gonzalez
990abb08c8 Merge pull request #195 from dokku/dependabot/github_actions/actions/checkout-5
chore(deps): bump actions/checkout from 4 to 5
2025-08-12 11:38:21 -04:00
dependabot[bot]
df49bd6f0d chore(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 13:43:34 +00:00
Jose Diaz-Gonzalez
1ad912c399 Release 1.42.2
Some checks failed
tagged-release / tagged-release (push) Has been cancelled
2025-07-25 04:44:42 -04:00
Jose Diaz-Gonzalez
131872352e Merge pull request #194 from dokku/dependabot/docker/mysql-9.4.0
chore(deps): bump mysql from 9.3.0 to 9.4.0
2025-07-25 04:44:36 -04:00
dependabot[bot]
c111bd7be1 chore(deps): bump mysql from 9.3.0 to 9.4.0
Bumps mysql from 9.3.0 to 9.4.0.

---
updated-dependencies:
- dependency-name: mysql
  dependency-version: 9.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 03:51:16 +00:00
Jose Diaz-Gonzalez
6a51c6bb1b Merge pull request #193 from dokku/dependabot/github_actions/softprops/action-gh-release-2.3.2
chore(deps): bump softprops/action-gh-release from 2.2.2 to 2.3.2
2025-06-10 23:58:28 -04:00
dependabot[bot]
8796348928 chore(deps): bump softprops/action-gh-release from 2.2.2 to 2.3.2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.2.2 to 2.3.2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.2.2...v2.3.2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-11 03:07:20 +00:00
Jose Diaz-Gonzalez
033b19d680 Release 1.42.1
Some checks failed
tagged-release / tagged-release (push) Has been cancelled
2025-04-28 23:56:48 -04:00
Jose Diaz-Gonzalez
41cd62c666 Merge pull request #191 from dokku/fix-typo
docs: fix typo in generated docs
2025-04-28 23:42:27 -04:00
Jose Diaz-Gonzalez
b75ec6fb8f docs: regenerate readme 2025-04-28 23:41:15 -04:00
Jose Diaz-Gonzalez
03415b6f45 Merge pull request #190 from dokku/dependabot/github_actions/softprops/action-gh-release-2.2.2
chore(deps): bump softprops/action-gh-release from 2.2.1 to 2.2.2
2025-04-28 23:28:47 -04:00
Jose Diaz-Gonzalez
2f47264ee3 docs: correct typo in generated readme 2025-04-28 23:07:49 -04:00
dependabot[bot]
c9433c7cd8 chore(deps): bump softprops/action-gh-release from 2.2.1 to 2.2.2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 04:03:13 +00:00
Jose Diaz-Gonzalez
963b43c8b3 Merge pull request #189 from dokku/update-workflows
chore: bump runs-on image from ubuntu-22.04 to ubuntu-24.04
2025-04-17 21:11:09 -04:00
Jose Diaz-Gonzalez
cdd8a6c731 fix: use maintained version of python 2025-04-17 20:46:19 -04:00
Jose Diaz-Gonzalez
4825d92487 chore: bump runs-on image from ubuntu-22.04 to ubuntu-24.04 2025-04-17 20:43:55 -04:00
Jose Diaz-Gonzalez
3079587e0b Release 1.42.0
Some checks failed
tagged-release / tagged-release (push) Has been cancelled
2025-04-15 04:00:07 -04:00
Jose Diaz-Gonzalez
dfe372bbbd Merge pull request #188 from dokku/dependabot/docker/mysql-9.3.0
chore(deps): bump mysql from 9.2.0 to 9.3.0
2025-04-15 03:57:15 -04:00
dependabot[bot]
d04dc75c81 chore(deps): bump mysql from 9.2.0 to 9.3.0
Bumps mysql from 9.2.0 to 9.3.0.

---
updated-dependencies:
- dependency-name: mysql
  dependency-version: 9.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 03:37:50 +00:00
Jose Diaz-Gonzalez
42dc05c473 Merge pull request #186 from dokku/maintained-action
ci: use maintained action for creating automated releases
2025-03-13 18:51:02 -05:00
Jose Diaz-Gonzalez
658ed34b64 ci: use maintained action for creating automated releases 2025-03-13 19:46:50 -04:00
7 changed files with 21 additions and 20 deletions

View File

@@ -5,7 +5,7 @@ name: CI
on:
pull_request:
branches:
- '*'
- "*"
push:
branches:
- master
@@ -17,18 +17,18 @@ concurrency:
jobs:
unit-tests-master:
name: unit-tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
DOKKU_VERSION: master
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.7.x'
python-version: "3.13"
- run: make setup
@@ -59,18 +59,18 @@ jobs:
unit-tests-0_19_0:
name: unit-tests-0.19.0
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
DOKKU_TAG: v0.19.0
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.7.x'
python-version: "3.13"
- run: make setup

View File

@@ -5,15 +5,16 @@ name: "tagged-release"
on:
push:
tags:
- '*'
- "*"
jobs:
tagged-release:
name: tagged-release
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: "marvinpinto/action-automatic-releases@v1.2.1"
- name: Release
uses: softprops/action-gh-release@v2.4.1
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
generate_release_notes: true
make_latest: "true"

View File

@@ -1 +1 @@
FROM mysql:9.2.0
FROM mirror.ccs.tencentyun.com/library/mysql:9.4.0

View File

@@ -1,6 +1,6 @@
# dokku mysql [![Build Status](https://img.shields.io/github/actions/workflow/status/dokku/dokku-mysql/ci.yml?branch=master&style=flat-square "Build Status")](https://github.com/dokku/dokku-mysql/actions/workflows/ci.yml?query=branch%3Amaster) [![IRC Network](https://img.shields.io/badge/irc-libera-blue.svg?style=flat-square "IRC Libera")](https://webchat.libera.chat/?channels=dokku)
Official mysql plugin for dokku. Currently defaults to installing [mysql 9.2.0](https://hub.docker.com/_/mysql/).
Official mysql plugin for dokku. Currently defaults to installing [mysql 9.4.0](https://hub.docker.com/_/mysql/).
## Requirements
@@ -345,7 +345,7 @@ Expose the service on the service's normal ports, allowing access to it from the
dokku mysql:expose lollipop 3306
```
Expose the service on the service's normal ports, with the first on a specified ip adddress (127.0.0.1):
Expose the service on the service's normal ports, with the first on a specified ip address (127.0.0.1):
```shell
dokku mysql:expose lollipop 127.0.0.1:3306

2
Vagrantfile vendored
View File

@@ -1,7 +1,7 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
BOX_NAME = ENV["BOX_NAME"] || "bento/ubuntu-22.04"
BOX_NAME = ENV["BOX_NAME"] || "bento/ubuntu-24.04"
BOX_MEMORY = ENV["BOX_MEMORY"] || "2048"
DOKKU_VERSION = "master"

View File

@@ -1,4 +1,4 @@
[plugin]
description = "dokku mysql service plugin"
version = "1.41.2"
version = "1.42.2"
[plugin.config]

View File

@@ -8,7 +8,7 @@ source "$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")/functions"
service-expose-cmd() {
#E expose the service on the service's normal ports, allowing access to it from the public interface (0.0.0.0)
#E dokku $PLUGIN_COMMAND_PREFIX:expose lollipop ${PLUGIN_DATASTORE_PORTS[@]}
#E expose the service on the service's normal ports, with the first on a specified ip adddress (127.0.0.1)
#E expose the service on the service's normal ports, with the first on a specified ip address (127.0.0.1)
#E dokku $PLUGIN_COMMAND_PREFIX:expose lollipop 127.0.0.1:${PLUGIN_DATASTORE_PORTS[@]}
#A service, service to run command against
#A ports, a list of ports to run against