Closed hdoupe closed 2 years ago
[x] Build an API with endpoints:
POST /api/v1/cicd/
GET /api/v1/cicd/<job_id:uuid>/
GET /api/v1/cicd/<job_id:uuid/logs/
DELETE /api/v1/cicd/<job_id:uuid>
[x] Persist changes in a new cicd table.
cicd
[x] Either support callbacks for pushing results back to the C/S webapp or use existing CI/CD actions for staging and deploying new project versions.
[x] Build an API with endpoints:
POST /api/v1/cicd/
: Kick off CI/CD job for project and return status.GET /api/v1/cicd/<job_id:uuid>/
: Return CI/CD job status.GET /api/v1/cicd/<job_id:uuid/logs/
: Get logs for CI/CD job if expensive to get in initial get.DELETE /api/v1/cicd/<job_id:uuid>
: Cancel job[x] Persist changes in a new
cicd
table.[x] Either support callbacks for pushing results back to the C/S webapp or use existing CI/CD actions for staging and deploying new project versions.