Skip to content

Instantly share code, notes, and snippets.

@mullikine
Created October 15, 2019 23:19
Show Gist options
  • Save mullikine/bfb565645034ec9e6ee1b2f4ff76e01c to your computer and use it in GitHub Desktop.
Save mullikine/bfb565645034ec9e6ee1b2f4ff76e01c to your computer and use it in GitHub Desktop.
ead cl-platform
./cl-start-pf-monitoring:7:tm-restart-command -c -E "cl-platform $platform_target; cl-reset-hosts; sudo kubefwd services -n monitoring"
./start-dev-platform:30:# cl-platform dev-paas
./start-dev-platform:31:# cl-platform dev-staging
./start-dev-platform:41:cl-platform "$platform"
./cl-rm-cert:4:platform="$(cl-platform)"
./clq:10: cl-platform
./clq:98: platform="$(cl-platform)"
./clq:117: platform="$(cl-platform)"
./cl-query:10: cl-platform
./cl-query:98: platform="$(cl-platform)"
./cl-query:117: platform="$(cl-platform)"
./cl-platform-log-hr:7:jq 'select(.level=="error") | del(.stacktrace) | del(.msg)' | cl-platform-log-filter-date "$date_description"
./lingo:343: current_platform="$(cl-platform)"
./lingo:876: current_platform="$(cl-platform)"
./gogs-delete-repo:17:platform="$(ci -t 5 cl-platform)"
./cl-platform:106: cl-platform paas
./cl-platform:110: cl-platform staging
./sanity-check:20: cl-platform "$p"
./basic-lexicon-port-forward-generic:4:# hosts for cl-platform paas
./sh-ranger-lingo:97: 1) cmd="cl-platform paas" ;;
./sh-ranger-lingo:98: 2) cmd="cl-platform staging" ;;
./sh-ranger-lingo:99: 3) cmd="cl-platform dev" ;;
./cl-find-bug:11:cl-platform "$platform" 1>&2
./cl-find-bug:15:ci -meta "$(cl-platform)" cl-list-all-containers | awk1 | while IFS=$'\n' read -r target; do
./basic-lexicon-port-forward:6:# hosts for cl-platform paas
./cl-read-platform-logs:11:cl-platform-log-clean | cl-platform-log-hr "$date_description" | reverse_lines_of_json | jq -r "select(.err != null) | .err" | pager
./flow-errors-since:20: if test "$(cl-platform)" = "dev"; then
./flow-errors-since:23: ci -u -t 360 -E "comb <(echo cl-get-logs-for-container) <(ci -t 360 -meta \"$(cl-platform)\" cl-list-all-containers | grep flowserver) | eval-each-line"
./cl-get-logs-for-container-json:6:: ${targets:="$(ci -meta "$(cl-platform)" cl-list-all-containers | fzf -m)"}
./clone-and-gen-pipeline:160: echo "Platform: $(cl-platform)" 1>&2 # display the current platform
./cl-get-all-namespace-pod-container:4:ci -meta "$(cl-platform)" cl-list-all-containers
./cl-get-logs-for-container:6:: ${targets:="$(ci -meta "$(cl-platform)" cl-list-all-containers | fzf -m)"}
./cl-run-gen-pipelines-for-all-rewrite-tenets:9:platform="$(cl-platform)"
./gen-pipelines:257: cl-platform "$switch_to_platform"
./gogs-repo-list:14:: ${platform:="$(cl-platform)"}
./cl-run-platform-integration-tests:11:cl-platform dev-paas
./cl-cat-all-logs:11:cl-platform "$platform" 1>&2
./cl-cat-all-logs:15:ci -meta "$(cl-platform)" cl-list-all-containers | awk1 | while IFS=$'\n' read -r target; do
./cl-get-platform-logs:190: # cl-platform-log-hr
./cl-get-platform-logs:191: jq ".[]" | cl-platform-log-hr yesterday
./cl-ssh-container:6:: ${target:="$(ci -meta "$(cl-platform)" cl-list-all-containers | fzf)"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment