这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@josegonzalez
Copy link
Member

Uses two new plugin triggers:

  • deployed-app-repository
  • deployed-app-image-tag

Useful when the image is a custom tagged image on a remote repository

Needs docs for the new hooks and they also should be added to the events plugin.

local cmd="deploy"
[[ -z $2 ]] && dokku_log_fail "Please specify an app to deploy"
local APP="$2"; local IMAGE_TAG="$3"; local IMAGE=$(get_app_image_name "$APP" "$IMAGE_TAG")
local APP="$2"; local IMAGE_TAG="$3"; local IMAGE=$(get_deployed_app_image_name "$APP" "$IMAGE_TAG")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this is a misnomer. reading that function name makes me think it will return the image name from an app that is already deployed. here we want to know the image name that you want to deploy, right?

something like get_deploying_app_image_name() perhaps?

@michaelshobbs
Copy link
Member

Looks like the tags:deploy test failed

@josegonzalez josegonzalez force-pushed the modify-deployed-image branch 2 times, most recently from 92776d6 to 8ea5b27 Compare April 16, 2016 10:32
Uses two new plugin triggers:

- deployed-app-repository
- deployed-app-image-tag

Useful when the image is a custom tagged image on a remote repository
@josegonzalez josegonzalez force-pushed the modify-deployed-image branch from 8ea5b27 to d7566da Compare April 16, 2016 12:35
@josegonzalez josegonzalez added this to the v0.6.0 milestone Apr 16, 2016
@michaelshobbs michaelshobbs merged commit 5c74169 into master Jun 16, 2016
@michaelshobbs michaelshobbs deleted the modify-deployed-image branch June 16, 2016 19:43
@michaelshobbs
Copy link
Member

@josegonzalez merged but just noticed no docs for new triggers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants