This image has three parts to show the approval popup that appears when you click on a hold step in the app, and then the workflow view again once the hold job has been approved and the deploy job has run: This image shows the workflow view for the following configuration example.
YML FILE EDITOR FOR RUBY MANUAL
Refer to the Workflows document for complete details about orchestrating job runs with concurrent, sequential, and manual approval workflows. The build job runs, then the test job, then a hold job, with type: approval ensures the workflow waits for manual approval before the deploy job can run. The example below shows a sequential job workflow with an approval step. Version : 2 # Define the jobs we want to run for this project jobs : build : docker : - image : cimg/: auth : username : mydockerhub-user password : $DOCKERHUB_PASSWORD # context / project UI env-var reference steps : - checkout - run : echo "this is the build job" test : docker : - image : cimg/: auth : username : mydockerhub-user password : $DOCKERHUB_PASSWORD # context / project UI env-var reference steps : - checkout - run : echo "this is the test job" # Orchestrate our job run sequence workflows : version : 2 build_and_test : jobs : - build - test : requires : - build Approval job This image shows the workflow view for the following configuration example, in which jobs run sequentially one after the other: The configuration example below shows a sequential job workflow where the build job runs and then the test job runs once build has completed.
![yml file editor for ruby yml file editor for ruby](https://www.datocms-assets.com/9862/1559904270-macbookwhite2.png)
![yml file editor for ruby yml file editor for ruby](https://1.bp.blogspot.com/-vCXYhi_BOEI/TzZSWnXYVjI/AAAAAAAAACU/A2U6Z4fvfrQ/s1600/Screenshot+at+2012-02-11+17:04:06.png)
Version : 2 # Define the jobs we want to run for this project jobs : build : docker : - image : cimg/: auth : username : mydockerhub-user password : $DOCKERHUB_PASSWORD # context / project UI env-var reference steps : - checkout - run : echo "this is the build job" test : docker : - image : cimg/: auth : username : mydockerhub-user password : $DOCKERHUB_PASSWORD # context / project UI env-var reference steps : - checkout - run : echo "this is the test job" # Orchestrate our job run sequence workflows : version : 2 build_and_test : jobs : - build - test Sequential workflow
![yml file editor for ruby yml file editor for ruby](https://4.bp.blogspot.com/-c7ILAuiL9Yg/Wi9Rb3yVINI/AAAAAAAADbU/hz07rbb4Tag-58_eOPloU-NWjYjWEFzxgCLcBGAs/s1600/Captura%2Bde%2Bpantalla%2B2017-12-11%2Ba%2Bla%2528s%2529%2B10.38.08%2Bp.m..png)
YML FILE EDITOR FOR RUBY INSTALL
Phase 3 - Install Execution Environment.