Workflow with approval doesn’t allow me to see logs and looks like it was successful when it wasn’t.
I can’t know if it ran or not from the interface…
my workflow config
workflows:
version: 2
build_and_test:
jobs:
- build
- tag_release:
type: approval
requires:
- build
filters:
branches:
only: master
- deploy:
type: approval
requires:
- tag_release
filters:
branches:
only: master
if there are errors they should be reported from the interface! I am on safari Version 11.0 (12604.1.38.1.7)
levlaz
January 7, 2018, 1:59am
2
Hello,
I just responded to your ticket in Zendesk. But for anyone else who runs into this same issue, its a bit confusing because approval is a special type of job.
full example can be seen below:
version: 2
jobs:
build:
docker:
- image: circleci/python:2.7.14
steps:
- checkout
- run:
command: |
pwd
echo "running tests"
tag_release:
name: "Tag the release and push it"
docker:
- image: circleci/python:2.7.14
steps:
- checkout
- run:
name: "Bump the version"
command: echo "tag release"
deploy:
name: "Deploy to the servers"
docker:
- image: circleci/python:2.7.14
steps:
- checkout
- run:
name: "Deploy to the servers"
command: |
echo "running deploy"
workflows:
version: 2
build_and_test:
jobs:
- build
- tag_release_approval:
requires:
- build
type: approval
- tag_release:
requires:
- tag_release_approval
filters:
branches:
only: approval
- deploy_approval:
requires:
- tag_release
type: approval
- deploy:
requires:
- deploy_approval
filters:
branches:
only: approval
https://circleci.com/workflow-run/b13bb754-f02e-4130-ab22-db7f29e7c15e
2 Likes