Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
033b19d680 | ||
|
|
41cd62c666 | ||
|
|
b75ec6fb8f | ||
|
|
03415b6f45 | ||
|
|
2f47264ee3 | ||
|
|
c9433c7cd8 | ||
|
|
963b43c8b3 | ||
|
|
cdd8a6c731 | ||
|
|
4825d92487 | ||
|
|
3079587e0b | ||
|
|
dfe372bbbd | ||
|
|
d04dc75c81 | ||
|
|
42dc05c473 | ||
|
|
658ed34b64 | ||
|
|
900d772398 | ||
|
|
ea120dd613 | ||
|
|
7d59d4ee36 |
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -5,7 +5,7 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- '*'
|
- "*"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
@@ -17,7 +17,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
unit-tests-master:
|
unit-tests-master:
|
||||||
name: unit-tests
|
name: unit-tests
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
DOKKU_VERSION: master
|
DOKKU_VERSION: master
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.7.x'
|
python-version: "3.13"
|
||||||
|
|
||||||
- run: make setup
|
- run: make setup
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
|
|
||||||
unit-tests-0_19_0:
|
unit-tests-0_19_0:
|
||||||
name: unit-tests-0.19.0
|
name: unit-tests-0.19.0
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
DOKKU_TAG: v0.19.0
|
DOKKU_TAG: v0.19.0
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.7.x'
|
python-version: "3.13"
|
||||||
|
|
||||||
- run: make setup
|
- run: make setup
|
||||||
|
|
||||||
|
|||||||
11
.github/workflows/tagged-release.yml
vendored
11
.github/workflows/tagged-release.yml
vendored
@@ -5,15 +5,16 @@ name: "tagged-release"
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- "*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tagged-release:
|
tagged-release:
|
||||||
name: tagged-release
|
name: tagged-release
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: "marvinpinto/action-automatic-releases@v1.2.1"
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v2.2.2
|
||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
generate_release_notes: true
|
||||||
prerelease: false
|
make_latest: "true"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
FROM mysql:9.2.0
|
FROM mysql:9.3.0
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# dokku mysql [](https://github.com/dokku/dokku-mysql/actions/workflows/ci.yml?query=branch%3Amaster) [](https://webchat.libera.chat/?channels=dokku)
|
# dokku mysql [](https://github.com/dokku/dokku-mysql/actions/workflows/ci.yml?query=branch%3Amaster) [](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.3.0](https://hub.docker.com/_/mysql/).
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ Official mysql plugin for dokku. Currently defaults to installing [mysql 9.2.0](
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# on 0.19.x+
|
# on 0.19.x+
|
||||||
sudo dokku plugin:install https://github.com/dokku/dokku-mysql.git mysql
|
sudo dokku plugin:install https://github.com/dokku/dokku-mysql.git --name mysql
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
@@ -345,7 +345,7 @@ Expose the service on the service's normal ports, allowing access to it from the
|
|||||||
dokku mysql:expose lollipop 3306
|
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
|
```shell
|
||||||
dokku mysql:expose lollipop 127.0.0.1:3306
|
dokku mysql:expose lollipop 127.0.0.1:3306
|
||||||
|
|||||||
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@@ -1,7 +1,7 @@
|
|||||||
# -*- mode: ruby -*-
|
# -*- mode: ruby -*-
|
||||||
# vi: set ft=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"
|
BOX_MEMORY = ENV["BOX_MEMORY"] || "2048"
|
||||||
DOKKU_VERSION = "master"
|
DOKKU_VERSION = "master"
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ def installation_section(service, dokku_version):
|
|||||||
"",
|
"",
|
||||||
"```shell",
|
"```shell",
|
||||||
f"# on {dokku_version}",
|
f"# on {dokku_version}",
|
||||||
f"sudo dokku plugin:install https://github.com/dokku/dokku-{service}.git {service}",
|
f"sudo dokku plugin:install https://github.com/dokku/dokku-{service}.git --name {service}",
|
||||||
"```",
|
"```",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[plugin]
|
[plugin]
|
||||||
description = "dokku mysql service plugin"
|
description = "dokku mysql service plugin"
|
||||||
version = "1.41.1"
|
version = "1.42.1"
|
||||||
[plugin.config]
|
[plugin.config]
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ source "$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")/functions"
|
|||||||
service-expose-cmd() {
|
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 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 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[@]}
|
#E dokku $PLUGIN_COMMAND_PREFIX:expose lollipop 127.0.0.1:${PLUGIN_DATASTORE_PORTS[@]}
|
||||||
#A service, service to run command against
|
#A service, service to run command against
|
||||||
#A ports, a list of ports to run against
|
#A ports, a list of ports to run against
|
||||||
|
|||||||
Reference in New Issue
Block a user