File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1515        ci_cloud :
1616          type : string 
1717          default : LEAFCLOUD 
18+         branch :
19+           type : string 
20+           default : " ${{ github.ref }}" 
1821      outputs :
1922        openhpc-RL8-image :
2023          description : " RL8 image" 
5154      openhpc-RL9-image : " ${{ steps.manifest.outputs.openhpc-RL9-image }}" 
5255
5356    steps :
57+ 
58+       - name : Get current context 
59+         id : get_branch 
60+         run : | 
61+           if [[ ${{ github.event_name == 'workflow_dispatch' }} == true ]]; then 
62+             target_branch=${{ github.ref }} 
63+           else 
64+             target_branch=${{ github.event.inputs.branch }} 
65+           fi 
66+           echo "target_branch=$target_branch" >> "$GITHUB_OUTPUT" 
67+ 
5468       - uses : actions/checkout@v2 
69+         with :
70+           ref : ${{ steps.get_branch.outputs.target_branch }} 
5571
5672      - name : Record settings for CI cloud 
5773        run : | 
Original file line number Diff line number Diff line change 1212    runs-on : ubuntu-latest 
1313    steps :
1414      - uses : actions/checkout@v2 
15-         with : # temporary
16-           ref : feat/auto-bump-timestamps  # temporary
1715
1816      - name : Check for updated Ark timestamps and replace in defaults.yml 
1917        run : | 
4543    if : " ${{ needs.upstream_check.outputs.timestamps_changed }} == 0" 
4644    needs : upstream_check 
4745    uses : ./.github/workflows/fatimage.yml 
46+     with :
47+       ci_cloud : LEAFCLOUD 
4848
4949  ci_and_pr :
5050    if : " ${{ needs.upstream_check.outputs.timestamps_changed }} == 0" 
Original file line number Diff line number Diff line change 1818          {{ yaml_template | to_nice_yaml(indent=2) }} 
1919     vars :
2020      yaml_template :
21-         appliances_repo_timestamps : " {{ _result.latest_dict }}" 
21+         appliances_pulp_repos : " {{ _result.latest_dict }}" 
2222    when : (_result.changed_timestamps | count) > 0 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments