Play with "Argo Workflow" in your local kind cluster.
The following instructions were tested in macOS Monterey (12.4), on 10 Jul 2022.
Ensure docker is installed and running.
| // runServer will start the HTTPServer, handling graceful | |
| // shutdown on receives SIGTERM / SIGINT. | |
| func runServer(addr string, engine *gin.Engine) { | |
| s := &http.Server{ | |
| Addr: addr, | |
| Handler: engine.Handler(), | |
| } | |
| go func() { | |
| log.Info("server starting") |
| brew install pandoc | |
| brew tap homebrew/cask | |
| brew --cask install basictex | |
| eval "$(/usr/libexec/path_helper)" | |
| export PATH="$PATH:/Library/TeX/texbin/" | |
| sudo tlmgr update --self | |
| sudo tlmgr install texliveonfly | |
| sudo tlmgr install adjustbox | |
| sudo tlmgr install tcolorbox | |
| sudo tlmgr install collectbox |