Skip to content

Commit

Permalink
Merge pull request #87 from dokku/master
Browse files Browse the repository at this point in the history
Release 0.10.0
  • Loading branch information
josegonzalez authored May 15, 2022
2 parents 54616c0 + 2d40af1 commit 0cbebda
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 31 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Change Log
All notable changes to this project will be documented in this file.

## [0.10.0](https://github.com/dokku/plugn/compare/v0.9.1...v0.10.0) - 2022-05-15

### Changed

- @josegonzalez Increase speed of performing plugn trigger #86

## [0.9.1](https://github.com/dokku/plugn/compare/v0.9.0...v0.9.1) - 2022-05-10

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.13.0-buster
FROM golang:1.18.2-buster

# hadolint ignore=DL3027
RUN apt-get update \
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MAINTAINER_NAME = Jose Diaz-Gonzalez
REPOSITORY = plugn
HARDWARE = $(shell uname -m)
SYSTEM_NAME = $(shell uname -s | tr '[:upper:]' '[:lower:]')
BASE_VERSION ?= 0.9.1
BASE_VERSION ?= 0.10.0
IMAGE_NAME ?= $(MAINTAINER)/$(REPOSITORY)
PACKAGECLOUD_REPOSITORY ?= dokku/dokku-betafish

Expand Down Expand Up @@ -247,8 +247,8 @@ validate: test
sha1sum build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm

prebuild:
cd / && go get -u github.com/jteeuwen/go-bindata/...
cd / && go get -u github.com/progrium/basht/...
cd / && go install github.com/go-bindata/go-bindata/...@latest
cd / && go install github.com/progrium/basht/...@latest

test: prebuild docker-image
basht tests/*/tests.sh
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Hook system that lets users extend your application with plugins
## Installation

```shell
wget -qO /tmp/plugn_latest.tgz https://github.com/dokku/plugn/releases/download/v0.9.1/plugn_0.9.1_linux_amd64.tgz
wget -qO /tmp/plugn_latest.tgz https://github.com/dokku/plugn/releases/download/v0.10.0/plugn_0.10.0_linux_amd64.tgz
tar xzf /tmp/plugn_latest.tgz -C /usr/local/bin
```

Expand Down
6 changes: 4 additions & 2 deletions bashenv/plugn.bash
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@ trigger() {
declare hook="$1"; shift
shopt -s nullglob
for plugin in $PLUGIN_PATH/enabled/*; do
eval "$(config-export $(basename $plugin))"
[[ -x "$plugin/$hook" ]] && $plugin/$hook "$@"
if [[ -x "$plugin/$hook" ]]; then
eval "$(config-export $(basename $plugin))"
$plugin/$hook "$@"
fi
done
shopt -u nullglob
trigger-gateway $hook "$@"
Expand Down
47 changes: 28 additions & 19 deletions bindata.go

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
module plugn

go 1.12
go 1.18

require (
github.com/BurntSushi/toml v1.1.0
github.com/dokku/duplex v0.0.0-20160916172127-5bc6cb8042f7
github.com/progrium/go-basher v5.1.5+incompatible
github.com/progrium/plugin-demo v0.0.0-20160206152045-d94df2206a64
)

require (
github.com/google/uuid v1.1.4 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/progrium/crypto v0.0.0-20141231035031-e04455474e32 // indirect
github.com/progrium/go-basher v5.1.4+incompatible
github.com/progrium/plugin-demo v0.0.0-20160206152045-d94df2206a64
golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c // indirect
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ github.com/pborman/uuid v1.2.1 h1:+ZZIw58t/ozdjRaXh/3awHfmWRbzYxJoAdNJxe/3pvw=
github.com/pborman/uuid v1.2.1/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
github.com/progrium/crypto v0.0.0-20141231035031-e04455474e32 h1:TazRiCelU8NoJMn2z0/RIzv4lUUkp5YwAunbjUsODHQ=
github.com/progrium/crypto v0.0.0-20141231035031-e04455474e32/go.mod h1:spjB7wUvxDfIjoK9jtlCu07B/QaZwjtKlQeM3njS9QA=
github.com/progrium/go-basher v5.1.4+incompatible h1:23t6SIRLGNmrb3NfVX5t8jpxXywRnvgI7If38mKiFso=
github.com/progrium/go-basher v5.1.4+incompatible/go.mod h1:Oiy7jZEU1mm+gI1dt5MKYwxptmD37q8/UupxnwhMHtI=
github.com/progrium/go-basher v5.1.5+incompatible h1:gImkc9PLBdKRlSHYfY3A+NzPvA9i0c3TwJQt56hwCzo=
github.com/progrium/go-basher v5.1.5+incompatible/go.mod h1:Oiy7jZEU1mm+gI1dt5MKYwxptmD37q8/UupxnwhMHtI=
github.com/progrium/plugin-demo v0.0.0-20160206152045-d94df2206a64 h1:FHNCTel7Yt0+4I1uvKfu2X+g8U8tHBBJb7zl+ohfmqM=
github.com/progrium/plugin-demo v0.0.0-20160206152045-d94df2206a64/go.mod h1:xwVfSlPMRhFysvnn0lOZ1Ruen2jTuzgwm4Hs0onTrlY=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
Expand Down

0 comments on commit 0cbebda

Please sign in to comment.