Prepare the etcd
server:
docker pull bitnami/etcd:latest
docker network create app-tier --driver bridge
docker run -d --name etcd-server \
--network app-tier \
--publish 2379:2379 \
Motivation: the Github UI by default won't let you specify tags
as input when
triggering a workflow enabled with the on: workflow_dispatch
event type.
event/VmMigratedEvent
Send greetings to your contributors, e.g. when an issue is created:
Credits: Based on one of Peter Evans' fantastic Github Actions contributions:
Create or Update Comment
Use at your own risk and verify your input/output before performing any (potentially destructive) call against the Github API.
gh
CLI environment, i.e. authenticated with at least repo-level permissions (see docs).
Retrieve accessible Github Repositories:
# Trigger which fires off to a sequence | |
apiVersion: eventing.knative.dev/v1 | |
kind: Trigger | |
metadata: | |
name: alarmsequence-trigger | |
spec: | |
broker: default | |
subscriber: | |
ref: | |
apiVersion: flows.knative.dev/v1 |
# delete all tags on remote
git tag -l | xargs -I {} git push origin :refs/tags/{}
# delete all tags locally
git tag -l | xargs git tag -d