|
| 1 | +# This code is autogenerated. |
| 2 | +# Code is generated by running custom script: python3 readme.py |
| 3 | +# Any manual changes to this file may cause incorrect behavior. |
| 4 | +# Any manual changes will be overwritten if the code is regenerated. |
| 5 | + |
| 6 | +name: cli-jobs-pipelines-with-components-basics-2b_component_with_input_output-pipeline-registry |
| 7 | +on: |
| 8 | + workflow_dispatch: |
| 9 | + schedule: |
| 10 | + - cron: "0 0/8 * * *" |
| 11 | + pull_request: |
| 12 | + branches: |
| 13 | + - main |
| 14 | + paths: |
| 15 | + - cli/jobs/pipelines-with-components/basics/2b_component_with_input_output/** |
| 16 | + - infra/** |
| 17 | + - .github/workflows/cli-jobs-pipelines-with-components-basics-2b_component_with_input_output-pipeline-registry.yml |
| 18 | + - cli/run-pipeline-jobs.sh |
| 19 | + - cli/setup.sh |
| 20 | +concurrency: |
| 21 | + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| 22 | + cancel-in-progress: true |
| 23 | +jobs: |
| 24 | + build: |
| 25 | + runs-on: ubuntu-latest |
| 26 | + steps: |
| 27 | + - name: check out repo |
| 28 | + uses: actions/checkout@v2 |
| 29 | + - name: azure login |
| 30 | + uses: azure/login@v1 |
| 31 | + with: |
| 32 | + creds: ${{secrets.AZUREML_CREDENTIALS}} |
| 33 | + - name: bootstrap resources |
| 34 | + run: | |
| 35 | + echo '${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}'; |
| 36 | + bash bootstrap.sh |
| 37 | + working-directory: infra |
| 38 | + continue-on-error: false |
| 39 | + - name: setup-cli |
| 40 | + run: | |
| 41 | + source "${{ github.workspace }}/infra/sdk_helpers.sh"; |
| 42 | + source "${{ github.workspace }}/infra/init_environment.sh"; |
| 43 | + bash setup.sh |
| 44 | + working-directory: cli |
| 45 | + continue-on-error: true |
| 46 | + - name: run job |
| 47 | + run: | |
| 48 | + source "${{ github.workspace }}/infra/sdk_helpers.sh"; |
| 49 | + source "${{ github.workspace }}/infra/init_environment.sh"; |
| 50 | + bash -x ../../../../run-pipeline-job-with-registry-components.sh pipeline 2b_component_with_input_output |
| 51 | + working-directory: cli/jobs/pipelines-with-components/basics/2b_component_with_input_output |
0 commit comments