Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post deploy actions #60

Open
laszlocph opened this issue Mar 23, 2021 · 1 comment
Open

Post deploy actions #60

laszlocph opened this issue Mar 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@laszlocph
Copy link
Contributor

The task is to extend the Gimlet manifest with post deploy actions.

Potentially the developer experience could look like this:

# .gimlet/staging.yaml
app: myapp
env: staging
namespace: my-team
deploy:
  branch: main
  event: push
+  notify:
+    - target: github-comment
+      message: "A new preview environment was deployed on myapp-{{ .BRANCH }}.mycompany.com"
chart:
  repository: https://chart.onechart.dev
  name: onechart
  version: 0.15.3
values:
[...]

Or it could be a generic webhook

deploy:
  branch: main
  event: push
+  notify:
+    - target: webhook
+      url: mysystem.mycompanny.com

Or a Slack/Teams/etc channel or DM

deploy:
  branch: main
  event: push
+  notify:
+    - target: slack
+      channel: "#my-team"
+      message: "A new preview environment was deployed on myapp-{{ .BRANCH }}.mycompany.com"
@jobn
Copy link

jobn commented Oct 14, 2021

I would like this very much.
Defining the post-deploy actions in the manifest in the repo gives a great amount of flexibility across our services and teams.
For us, a github comment would be sufficient

@laszlocph laszlocph added the enhancement New feature or request label Jan 12, 2022
@laszlocph laszlocph transferred this issue from gimlet-io/gimletd Feb 15, 2022
@laszlocph laszlocph added this to the Promotion workflows milestone Sep 15, 2022
laszlocph added a commit that referenced this issue May 20, 2024
Refactor stage commit and push functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Backlog
Development

No branches or pull requests

2 participants