20 lines
		
	
	
		
			359 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
		
			359 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								# this is digdag task definitions
							 | 
						||
| 
								 | 
							
								timezone: UTC
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								+setup:
							 | 
						||
| 
								 | 
							
								  echo>: start ${session_time}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								+disp_current_date:
							 | 
						||
| 
								 | 
							
								  echo>: ${moment(session_time).utc().format('YYYY-MM-DD HH:mm:ss Z')}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								+repeat:
							 | 
						||
| 
								 | 
							
								  for_each>:
							 | 
						||
| 
								 | 
							
								    order: [first, second, third]
							 | 
						||
| 
								 | 
							
								    animal: [dog, cat]
							 | 
						||
| 
								 | 
							
								  _do:
							 | 
						||
| 
								 | 
							
								    echo>: ${order} ${animal}
							 | 
						||
| 
								 | 
							
								  _parallel: true
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								+teardown:
							 | 
						||
| 
								 | 
							
								  echo>: finish ${session_time}
							 |