Skip to content
This repository was archived by the owner on Apr 26, 2021. It is now read-only.

Allow user to change status manually - #4

Open
ngs wants to merge 2 commits into
3scale:masterfrom
ngs-archives:manual-operation
Open

Allow user to change status manually#4
ngs wants to merge 2 commits into
3scale:masterfrom
ngs-archives:manual-operation

Conversation

@ngs

@ngs ngs commented Mar 16, 2017

Copy link
Copy Markdown

Hi,

This change allows user to

  • retrieve deployment ID from print output
  • manually update deployment status

with configuration

# config/deploy.rb
set :current_github_deployment, ENV['GITHUB_DEPLOYMENT']

retrieve ID from listing

$ cap production github:deployments

Deployment#12345 (unknown): 2017-03-16 19:26:25 UTC master@abc... to production by @ngs

then run

$ GITHUB_DEPLOYMENT=12345 cap production github:deployment:error

@mikz

mikz commented Mar 17, 2017

Copy link
Copy Markdown

Good change! Thank you.

I'd be a bit worried about discoverability of this feature. Do you mind adding it to the README ?

And I'd consider changing the variable from current_github_deployment to existing_github_deployment to imply it is not going to be created but already has to exist.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants