diff --git a/.circleci/config.yml b/.circleci/config.yml index 4d0918c..950595e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,22 +29,26 @@ jobs: name: Install Liquid command: npm install liquidjs -g - run: - name: Transform Formula Template - environment: | - WEBHOOK_VERSION: << pipeline.trigger_parameters.webhook.body >> | jq .version - WEBHOOK_ARM_SHA: << pipeline.trigger_parameters.webhook.body >> | jq .arm_sha - WEBHOOK_X86_SHA: << pipeline.trigger_parameters.webhook.body >> | jq .x86_sha - WEBHOOK_DESCRIPTION: << pipeline.trigger_parameters.webhook.body >> | jq .description + name: Test command: | - echo "Apply requested context to template:\n" echo "<< pipeline.trigger_parameters.webhook.body >>" + # - run: + # name: Transform Formula Template + # environment: | + # WEBHOOK_VERSION: << pipeline.trigger_parameters.webhook.body >> | jq .version + # WEBHOOK_ARM_SHA: << pipeline.trigger_parameters.webhook.body >> | jq .arm_sha + # WEBHOOK_X86_SHA: << pipeline.trigger_parameters.webhook.body >> | jq .x86_sha + # WEBHOOK_DESCRIPTION: << pipeline.trigger_parameters.webhook.body >> | jq .description + # command: | + # echo "Apply requested context to template:\n" + # echo "<< pipeline.trigger_parameters.webhook.body >>" - liquidjs --template @./Templates/parra-cli.rb.liquid --context '<< pipeline.trigger_parameters.webhook.body >>' --output ./Formula/parra-cli.rb + # liquidjs --template @./Templates/parra-cli.rb.liquid --context '<< pipeline.trigger_parameters.webhook.body >>' --output ./Formula/parra-cli.rb # Orchestrate jobs using workflows # See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows workflows: update-cli-formula-workflow: - when: << pipeline.trigger_parameters.webhook >> + # when: << pipeline.trigger_parameters.webhook >> jobs: - update-cli-formula