Skip to content

switcherapi/switcher-gitops

Repository files navigation


Switcher GitOps
GitOps Domain Snapshot Orchestrator for Switcher API

Master CI Quality Gate Status License: MIT Slack: Switcher-HQ


Switcher API: Cloud-based Feature Flag API

About

Switcher GitOps is Domain Snapshot Orchestrator for Switcher API. It allows you to manage your feature flags and configurations in a GitOps manner. It is a simple and easy way to manage your feature flags and configurations in a versioned manner.

Features

  • Manage Switchers with GitOps driven environment
  • Multiple and independent Environments
  • Auto Sync enables a fully integrated environment with Switcher API Management, Slack App and GitOps working simultaneously

Integrated tests

This project does not run integration test without a valid GitOps repository settings.

In order to run integration tests locally, you need to create a valid GitOps repository with the following structure:

├── resources
│   ├── default.json (*)

(*) see a Switcher snapshot sample here

The next step is to set up PAT (Personal Access Token) for Switcher GitOps to access the repository. You can either create a fine-grained token with only the necessary permissions such as Content (Read and Write) and Metadata (Read) or use a personal token with full access.

Once you have the token, you can set it up in the .env.test environment file by including the following:

GIT_TOKEN=[YOUR_GIT_TOKEN]
GIT_REPO_URL=[YOUR_GIT_REPO_URL]
GIT_BRANCH=[YOUR_GIT_BRANCH]

About

GitOps Domain Snapshot Orquestrator for Switcher API

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks