Skip to content

Commit

Permalink
Fix for triggering tests (#310)
Browse files Browse the repository at this point in the history
### Description
<!-- Describe what change this PR is implementing -->

### Types of Changes
<!--- What types of changes does your code introduce? -->
- [х] Tech Debt (Code improvements)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Dependency upgrade (A change in substrate or any 3rd party crate
version)

### Migrations and Hooks
<!--- Check the following box with an x if the following applies: -->
- [ ] This change requires a runtime migration.
- [ ] Modifies `on_initialize`
- [ ] Modifies `on_finalize`

### Checklist
<!--- All boxes need to be checked. Follow this checklist before
requiring PR review -->
- [ ] Change has been tested locally.
- [ ] Change adds / updates tests.
- [ ] Changelog doc updated.
  • Loading branch information
tabakopavel authored Apr 30, 2024
1 parent 73001b8 commit 445d837
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,34 +88,3 @@ jobs:
with:
name: "cere_dev_runtime.compact.compressed.${{ env.GITHUB_SHA }}.wasm"
path: "./${{ env.CERE_DEV_RUNTIME }}"

trigger-e2e-tests:
runs-on: ubuntu-latest
# e2e tests are in migration process. Disable the tests as recommended in this slack message:
# https://cere-network.slack.com/archives/C04LRGSLWG0/p1699892758049319
if: false
needs: build
steps:
- name: Get short SHA
run: |
echo "GITHUB_SHA=${GITHUB_SHA:0:7}" >> ${GITHUB_ENV}
- 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": "${{ env.GITHUB_SHA }}"
}
ref: master
wait_interval: 30
propagate_failure: true
trigger_workflow: true
wait_workflow: true
comment_downstream_url: ${{ github.event.pull_request.comments_url }}
2 changes: 1 addition & 1 deletion .github/workflows/stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
workflow_file_name: run-simulations-env-local-triggered.yml
client_payload: |-
{
"POS_NODE_VERSION": "staging-latest"
"POS_NODE_VERSION": "master-latest"
}
ref: master
propagate_failure: false
Expand Down

0 comments on commit 445d837

Please sign in to comment.