kobotoolbox / kobocat

Our (backend) server for providing blank forms to Collect and Enketo and for receiving and storing submissions.
BSD 2-Clause "Simplified" License
117 stars 127 forks source link

add job to deploy kobocat to staging if branch starts with 'feature/' #917

Closed LMNTL closed 7 months ago

LMNTL commented 7 months ago

This PR adds a job to automatically deploy Kobocat branches that start with feature/ to k8s. It's pretty much a straight port of the job with the same name (deploy-staging) from kpi's .gitlab-ci.yml.

You can see a sample run here using feature/tri - the failed runs can safely be ignored, I just needed to protect feature* branches in GitLab. That code triggered a deployment to https://kf.tri.kbtdev.org/ , which I've verified as successful.