Skip to content

nerijusdu/release-button

Repository files navigation

Release button

Make ArgoCD releases with physical button hooked up to Raspberry Pi.

TODO

  • Argo API
  • Wait for button clicks
  • Make release on click
  • Fetch statuses of apps (which needs syncing)
  • Ignore some projects
  • Show status with LED
  • Safeguards to prevent accidental releases

Future:

  • Update refreshInterval wihout restart
  • Localhost in web ui is not correct

Notes

To generate test mock for an interface: mockgen -source=internal/argoApi/models.go -destination=internal/mocks/argoApi.go -package=mocks IArgoApi