Add auto_deploy command to display environment status
690959ed - Update gitlab gem to 4.12.0
b588adbc - Add Slack.mrkdwn method
1e3dd112 - Store and expose host in Gitlab::Client
This renames DEFAULT_ENDPOINT
to DEFAULT_HOST
, since we were
providing the /api/v4
endpoint for non-gitlab.com hosts.
Now we expose the resulting host
setting through a reader, which will
be used in a future command.
d04e31bc - Add version and commit_refs to Gitlab::Client
838c27ac - Add support for Block Kit to Slack::Message
50054a8b - Add auto_deploy command
The first iteration of this command will display the version and auto-deploy branch status for Production, Canary, and Staging.
Merge request reports
Activity
changed milestone to %12.2
- Resolved by Robert Speicher
- Resolved by Robert Speicher
- Resolved by Robert Speicher
@yorickpeterse Would you mind doing a preliminary review of this to see if I'm headed in the right direction, before I spend some time implementing the tests?
assigned to @yorickpeterse and unassigned @rspeicher
- Resolved by Robert Speicher
This looks really nice, I would also add the package version that is set in chef for each environment. To do this we would need to add a function to the chef helper https://gitlab.com/gitlab-com/chatops/blob/master/lib/chatops/chef/client.rb.
Example:
$ knife role show gprd-cny-omnibus-version chef_type: role default_attributes: omnibus-gitlab: package: enable: true key: *** name: gitlab-ee repo: gitlab/pre-release use_key: true version: 12.2.201908070325-662939f0452.e8d2cfd6b1f
Where we would display the version ^^
The role names are by convention but a standard naming based on the environment:
- gprd-cny-omnibus-version
- gstg-omnibus-version
- gprd-omnibus-version
- pre-omnibus-version
Edited by John Jarvis- Resolved by John Jarvis
- Resolved by Robert Speicher
- Resolved by Robert Speicher
assigned to @rspeicher and unassigned @yorickpeterse
added 8 commits
-
0be3623f - 1 commit from branch
master
- bc45162f - Update gitlab gem to 4.12.0
- 238c4215 - Add Slack.markdown method
- 16e9053c - Store and expose host in Gitlab::Client
- 1505c5a1 - Add version and commit_refs to Gitlab::Client
- 35b027e8 - Add support for Block Kit to Slack::Message
- 6aefecd5 - Add auto_deploy command
- c01bc193 - Link to auto-deploy revision and branch
Toggle commit list-
0be3623f - 1 commit from branch
- Resolved by Robert Speicher
mentioned in issue #58 (closed)
@yorickpeterse Ready for review please!
assigned to @yorickpeterse and unassigned @rspeicher