Skip to content

add(build-images): trigger from workflow #60

add(build-images): trigger from workflow

add(build-images): trigger from workflow #60

Workflow file for this run

name: Build all images
on:
workflow_dispatch:
inputs:
deployment_branch:
description: 'Deployment branch'
required: true
default: 'main'
build_mode:
type: choice
description: Build mode
options:
- dev
- stable
image_tag:
description: 'Release tag'
required: true
default: 'test'
workflow_run:
workflows:

Check failure on line 21 in .github/workflows/build-images.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-images.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
- ecmwf-projects/cads-deployment/release.yml
types: [requested]
jobs:
build_broker:
runs-on: ubuntu-latest
steps:
- name: Build Broker image
uses: convictional/[email protected]
with:
owner: ecmwf-projects
repo: cads-build-farm
github_token: ${{ secrets.CADS_PAT }}
workflow_file_name: build-broker.yml
ref: ${{ github.event.ref }}
client_payload: '{ "deployment_branch": "${{ github.event.inputs.deployment_branch }}", "build_mode": "${{ github.event.inputs.build_mode }}", "image_tag": "${{ github.event.inputs.image_tag }}" }'
propagate_failure: false
trigger_workflow: true
wait_workflow: true
build_broker_exporter:
runs-on: ubuntu-latest
steps:
- name: Build Broker Exporter image
uses: convictional/[email protected]
with:
owner: ecmwf-projects
repo: cads-build-farm
github_token: ${{ secrets.CADS_PAT }}
workflow_file_name: build-broker-exporter.yml
ref: ${{ github.event.ref }}
client_payload: '{ "image_tag": "${{ github.event.inputs.image_tag }}" }'
propagate_failure: false
trigger_workflow: true
wait_workflow: true
build_cache_cleaner:
runs-on: ubuntu-latest
steps:
- name: Build Cacholote image
uses: convictional/[email protected]
with:
owner: ecmwf-projects
repo: cads-build-farm
github_token: ${{ secrets.CADS_PAT }}
workflow_file_name: build-cache-cleaner.yml
ref: ${{ github.event.ref }}
client_payload: '{ "deployment_branch": "${{ github.event.inputs.deployment_branch }}", "build_mode": "${{ github.event.inputs.build_mode }}", "image_tag": "${{ github.event.inputs.image_tag }}" }'
propagate_failure: false
trigger_workflow: true
wait_workflow: true
build_catalogue_api:
runs-on: ubuntu-latest
steps:
- name: Build Catalogue API Service image
uses: convictional/[email protected]
with:
owner: ecmwf-projects
repo: cads-build-farm
github_token: ${{ secrets.CADS_PAT }}
workflow_file_name: build-catalogue-api.yml
ref: ${{ github.event.ref }}
client_payload: '{ "deployment_branch": "${{ github.event.inputs.deployment_branch }}", "build_mode": "${{ github.event.inputs.build_mode }}", "image_tag": "${{ github.event.inputs.image_tag }}" }'
propagate_failure: false
trigger_workflow: true
wait_workflow: true
build_dev_explorer:
runs-on: ubuntu-latest
steps:
- name: Build Dev-Explorer image
uses: convictional/[email protected]
with:
owner: ecmwf-projects
repo: cads-build-farm
github_token: ${{ secrets.CADS_PAT }}
workflow_file_name: build-dev-explorer.yml
ref: ${{ github.event.ref }}
client_payload: '{ "deployment_branch": "${{ github.event.inputs.deployment_branch }}", "build_mode": "${{ github.event.inputs.build_mode }}", "image_tag": "${{ github.event.inputs.image_tag }}" }'
propagate_failure: false
trigger_workflow: true
wait_workflow: true
build_csw_api:
runs-on: ubuntu-latest
steps:
- name: Build PyCSW Dynamic image
uses: convictional/[email protected]
with:
owner: ecmwf-projects
repo: cads-build-farm
github_token: ${{ secrets.CADS_PAT }}
workflow_file_name: build-csw-api.yml
ref: ${{ github.event.ref }}
client_payload: '{ "image_tag": "${{ github.event.inputs.image_tag }}" }'
propagate_failure: false
trigger_workflow: true
wait_workflow: true
build_profiles_api:
runs-on: ubuntu-latest
steps:
- name: Build Profiles API image
uses: convictional/[email protected]
with:
owner: ecmwf-projects
repo: cads-build-farm
github_token: ${{ secrets.CADS_PAT }}
workflow_file_name: build-profiles-api.yml
ref: ${{ github.event.ref }}
client_payload: '{ "deployment_branch": "${{ github.event.inputs.deployment_branch }}", "build_mode": "${{ github.event.inputs.build_mode }}", "image_tag": "${{ github.event.inputs.image_tag }}" }'
propagate_failure: false
trigger_workflow: true
wait_workflow: true
build_retrieve_api:
runs-on: ubuntu-latest
steps:
- name: Build Retrieve API image
uses: convictional/[email protected]
with:
owner: ecmwf-projects
repo: cads-build-farm
github_token: ${{ secrets.CADS_PAT }}
workflow_file_name: build-retrieve-api.yml
ref: ${{ github.event.ref }}
client_payload: '{ "deployment_branch": "${{ github.event.inputs.deployment_branch }}", "build_mode": "${{ github.event.inputs.build_mode }}", "image_tag": "${{ github.event.inputs.image_tag }}" }'
propagate_failure: false
trigger_workflow: true
wait_workflow: true
build_webportal:
runs-on: ubuntu-latest
steps:
- name: Build Webportal image
uses: convictional/[email protected]
with:
owner: ecmwf-projects
repo: cads-build-farm
github_token: ${{ secrets.CADS_PAT }}
workflow_file_name: build-webportal.yml
ref: ${{ github.event.ref }}
client_payload: '{ "deployment_branch": "${{ github.event.inputs.deployment_branch }}", "build_mode": "${{ github.event.inputs.build_mode }}", "image_tag": "${{ github.event.inputs.image_tag }}" }'
propagate_failure: false
trigger_workflow: true
wait_workflow: true
build_worker:
runs-on: ubuntu-latest
steps:
- name: Build Worker image
uses: convictional/[email protected]
with:
owner: ecmwf-projects
repo: cads-build-farm
github_token: ${{ secrets.CADS_PAT }}
workflow_file_name: build-worker.yml
ref: ${{ github.event.ref }}
client_payload: '{ "deployment_branch": "${{ github.event.inputs.deployment_branch }}", "build_mode": "${{ github.event.inputs.build_mode }}", "image_tag": "${{ github.event.inputs.image_tag }}" }'
propagate_failure: false
trigger_workflow: true
wait_workflow: true
# build_dask_mars:
# runs-on: ubuntu-latest
# steps:
# - name: Build dask Mars image
# uses: convictional/[email protected]
# with:
# owner: ecmwf-projects
# repo: cads-build-farm
# github_token: ${{ secrets.CADS_PAT }}
# workflow_file_name: build-dask-mars.yml
# ref: ${{ github.event.ref }}
# client_payload: '{ "image_tag": "${{ github.event.inputs.image_tag }}" }'
# propagate_failure: false
# trigger_workflow: true
# wait_workflow: true