chore: update min dokku version and only test push on master branch

This commit is contained in:
Jose Diaz-Gonzalez
2021-04-24 13:57:18 -04:00
parent b0bd29f770
commit f6be651ab1
3 changed files with 6 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ on:
- '*'
push:
branches:
- '*'
- master
jobs:
unit-tests:
@@ -19,6 +19,7 @@ jobs:
matrix:
dokku-version:
- master
- v0.19.0
env:
DOKKU_VERSION: ${{ matrix.dokku-version }}

View File

@@ -4,13 +4,13 @@ Official mongo plugin for dokku. Currently defaults to installing [mongo 3.6.15]
## Requirements
- dokku 0.12.x+
- dokku 0.19.x+
- docker 1.8.x
## Installation
```shell
# on 0.12.x+
# on 0.19.x+
sudo dokku plugin:install https://github.com/dokku/dokku-mongo.git mongo
```
@@ -654,4 +654,4 @@ dokku mongo:backup-unschedule lolipop
If you wish to disable the `docker pull` calls that the plugin triggers, you may set the `MONGO_DISABLE_PULL` environment variable to `true`. Once disabled, you will need to pull the service image you wish to deploy as shown in the `stderr` output.
Please ensure the proper images are in place when `docker pull` is disabled.
Please ensure the proper images are in place when `docker pull` is disabled.

View File

@@ -506,7 +506,7 @@ def main():
sponsors = re.search("\[([\"\w\s,_-]+)\]", line).group(1)
sponsors = [s.strip("\"") for s in sponsors.split(",")]
text = compile(service, version, variable, alias, image, scheme, ports, sponsors, unimplemented, "0.12.x+")
text = compile(service, version, variable, alias, image, scheme, ports, sponsors, unimplemented, "0.19.x+")
base_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
readme_file = os.path.join(base_path, "README.md")