kjagiello / hermes Goto Github PK
View Code? Open in Web Editor NEWNotifications for your Argo Workflows.
Home Page: https://kjagiello.github.io/hermes/
License: MIT License
Notifications for your Argo Workflows.
Home Page: https://kjagiello.github.io/hermes/
License: MIT License
I was trying to roll through your example docs and when submitting the workflow ran into " Failed: invalid spec: templates.main.steps[0].setup-notifications template 'hermes-setup' type is unknown" I'm using the following spec:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: notifications-test-
spec:
entrypoint: main
templates:
- name: main
steps:
- - name: setup-notifications
template: hermes-setup
- - name: pre-notification
template: hermes-notify
arguments:
parameters:
- name: message
value: "Deployment started :hourglass_flowing_sand:"
- - name: hello
template: hello
- - name: post-notification
template: hermes-notify
arguments:
parameters:
- name: message
value: "Deployment succeeded :white_check_mark:"
- name: hermes-setup
plugin:
hermes:
setup:
alias: default
service: slack
config:
token: slack-secret-hermes
icon_emoji: ":rocket:"
- name: hermes-notify
inputs:
parameters:
- name: message
plugin:
hermes:
notify:
target: default
template: hermes-template-slack-default
config:
channel: cerberus
context:
message: "{{`{{inputs.parameters.message}}`}}"
app: hermes
env: prod
revision_sha: "deadbeef"
revision_url: "https://google.com"
log_url: "https://google.com"
- name: hello
container:
image: docker/whalesay
command: [cowsay]
args: ["hello world"]
any idea why it doesn't recognize the templates?
We're going to move plugins to Argo Labs. Would you like to put that there too?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.