chore: update min dokku version and only test push on master branch
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@ Official redis plugin for dokku. Currently defaults to installing [redis 5.0.7](
|
||||
|
||||
## 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-redis.git redis
|
||||
```
|
||||
|
||||
@@ -653,4 +653,4 @@ dokku redis:backup-unschedule lolipop
|
||||
|
||||
If you wish to disable the `docker pull` calls that the plugin triggers, you may set the `REDIS_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.
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user