Skip to content

Argo CD deployment description for beamline bl47p IOCs and services

License

Notifications You must be signed in to change notification settings

epics-containers/p46-deployment

Repository files navigation

p46 IOC Instances and Services

This repository holds the definition of Argocd deployed ec services. Each sub folder of the 'services' directory of an ec 'services repository' is mapped to an Argocd App which is managed by a root App.

Deployment

To deploy the Argocd root App:

source environment.sh
argocd app create --file apps.yaml

Adding webhooks

By default argocd will poll Git repositories for changes to manifests every 3 minutes. In order to have your changes applied to your app more promtly one could:

  • Trigger a refresh using the cli or web UI
  • Configure a webhook so that their git provider can trigger refreshes immediately

For more details: https://argo-cd.readthedocs.io/en/latest/operator-manual/webhook/

Instructions for internal Gitlab

  1. Navigate to your repo hosted in Gitlab
  2. Select Project -> Settings -> Webhooks
  3. Select "Add new webhook"
  4. Enter the url: <your_argocd_server>/api/webhook (for example: https://argocd.diamond.ac.uk/api/webhook)
  5. Under "Trigger" tick "Push events"
  6. Finally select "Save changes"

About

Argo CD deployment description for beamline bl47p IOCs and services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages