feat: template out app.json plugin

Note: this won't compile as the triggers themselves aren't implemented just yet.
This commit is contained in:
Jose Diaz-Gonzalez
2020-07-18 13:59:37 -04:00
parent 6f6fa709ec
commit b6d5d291b0
4 changed files with 26 additions and 0 deletions

4
plugins/app-json/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
/triggers/*
/triggers
/pre-*
/post-*

View File

@@ -0,0 +1,5 @@
TRIGGERS = triggers/post-deploy triggers/pre-deploy
BUILD = triggers
PLUGIN_NAME = app-json
include ../../common.mk

11
plugins/app-json/go.mod Normal file
View File

@@ -0,0 +1,11 @@
module github.com/dokku/dokku/plugins/apps-json
go 1.14
require (
github.com/codeskyblue/go-sh v0.0.0-20190412065543-76bd3d59ff27 // indirect
github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000
github.com/ryanuber/columnize v1.1.2-0.20190319233515-9e6335e58db3 // indirect
)
replace github.com/dokku/dokku/plugins/common => ../common

6
plugins/app-json/go.sum Normal file
View File

@@ -0,0 +1,6 @@
github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0 h1:sDMmm+q/3+BukdIpxwO365v/Rbspp2Nt5XntgQRXq8Q=
github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0/go.mod h1:4Zcjuz89kmFXt9morQgcfYZAYZ5n8WHjt81YYWIwtTM=
github.com/codeskyblue/go-sh v0.0.0-20190412065543-76bd3d59ff27 h1:HHUr4P/aKh4quafGxDT9LDasjGdlGkzLbfmmrlng3kA=
github.com/codeskyblue/go-sh v0.0.0-20190412065543-76bd3d59ff27/go.mod h1:VQx0hjo2oUeQkQUET7wRwradO6f+fN5jzXgB/zROxxE=
github.com/ryanuber/columnize v1.1.2-0.20190319233515-9e6335e58db3 h1:utdYOikI1XjNtTFGCwSM6OmFJblU4ld4gACoJsbadJg=
github.com/ryanuber/columnize v1.1.2-0.20190319233515-9e6335e58db3/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=