I’m evaluating CircleCI for one of my company project. Before I initiate expenses/pricing/sales team to get a trial license, I want to know whether I can achieve this simple pipeline with CircleCI.
workflows:
schedule: <cron to run every 24hours>
build-test-and-approval-deploy:
# Aim of this workflow is to test output of a Python Code not the correctness of the code itself.
jobs:
- build # Run a Python program from Repo1 that outputs a JSON feed.
- sanity-test: # Test sanity of JSON feed
- open-pull-request: # commit above JSON in another repo Repo2 in a new Branch and open a PR
- hold: # wait for manual approval of above pull request on Repo2
type: approval
- deploy: # Merge above PR into master in Repo2, delete the temp branch and create a new release.
requires:
- hold