Skip to content

Instantly share code, notes, and snippets.

View tlawrie's full-sized avatar
Coding up a storm

Tyson Lawrie tlawrie

Coding up a storm
View GitHub Profile
@tlawrie
tlawrie / declaration.tsx
Last active July 30, 2024 23:50
Multi-step form using RVF (remix validated form) and shadcn Stepper
import {
Select,
SelectTrigger,
SelectValue,
SelectContent,
SelectItem,
} from '~/components/ui/select'
import { Button, buttonVariants } from '~/components/ui/button'
import {
Card,
@tlawrie
tlawrie / bmrg-flow-paramercomparisonwithtekton.md
Created July 1, 2021 03:17
Boomerang Flow - Parameter Comparison with Tekton
Boomerang Flow Tekton
System Content
Global -
Team -
Workflows Pipelines
Tasks Tasks
@tlawrie
tlawrie / bmrg-flow-taskparams-slacksimplemessage.md
Last active June 1, 2021 02:27
Boomerang Flow - Send Simple Slack Message Task Parameters
Parameter Value
Webhook URL You create this in Slack App for your workspace as an Incoming Webhook and will be similar to https://hooks.slack.com/services/<id>/<id>/<id>
Channel This can be a channel or direct message
Icon I usually go for a bot or Github logo
Username Boomerang GitHub Bot
Message This is a weekly reminder announcement from your friendly GitHub Bot\n\nThe following repositories are currently in the Boomerang org and need to be cleaned up:\n$(task.Find Repositories.results.repositoriesPrettyPrint)
@tlawrie
tlawrie / bmrg-flow-taskparams-findrepoinorg.md
Created June 1, 2021 02:20
Boomerang Flow - Find Repositories in Org Task Parameters
Parameter Value
URL https://github.com/api/v3
Token You can get this value on github.com from your profile under Settings > Developer settings > Personal Access Tokens.
Org The org you want to scan, in this demo I chose the boomerang-io org
Visibility The types of repositories you want returned. Default: All
Repositories to Skip This is a newline delimited list of repositories to ignore based on repository name
Number of Repositories to Retrieve Helpful to retrieve more or less based on the GitHub API paging.
#!/bin/bash
# Relies on github API: https://developer.github.com/v3/repos/releases
# You can call this script with the following command
# ./helm-validate-and-publish.sh '<helm_url>' '<git_token>' '<git_owner>' '<github_repository>' '<git_commit_id>' '<index_branch>'
# Requires Helm v2 to already be installed
#############