Skip to content

- add ci for triggering tests #1

- add ci for triggering tests

- add ci for triggering tests #1

Workflow file for this run

name: 'CI'
on:
pull_request:
branches:
- '**'
types:
- opened
- synchronize
- edited
workflow_call:
permissions:
id-token: write
contents: read
jobs:
build-image:

Check failure on line 17 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 17, Col: 3): The workflow must contain at least one job with no dependencies.
uses: Cerebellum-Network/reusable-workflows/.github/workflows/deploy-to-ecr.yaml@master
needs: ci
with:
environment: dev
aws_account_id: ${{ vars.DEV_NETWORK_AWS_ACCOUNT_ID }}
repository: ${{ github.event.repository.name }}
file: ./Dockerfile
secrets: inherit
trigger-e2e-tests:
runs-on: ubuntu-latest
needs: build-image
steps:
- name: 'Trigger e2e DDC tests'
uses: convictional/[email protected]
with:
owner: Cerebellum-Network
repo: ddc-api-e2e-simulations
github_token: ${{ secrets.GH_E2E_TOKEN }}
comment_github_token: ${{ secrets.GH_E2E_TOKEN }}
github_user: devops-cere
workflow_file_name: run-basic-ddc-tests.yml
client_payload: |-
{
"POS_NODE_VERSION": "${{ needs.build-image.outputs.version }}"
}
ref: master
wait_interval: 30
propagate_failure: true
trigger_workflow: true
wait_workflow: true
comment_downstream_url: ${{ github.event.pull_request.comments_url }}