Skip to content

Commit

Permalink
ci: remove benchmark useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
liya2017 authored and liya2017 committed Nov 22, 2021
1 parent 2b92543 commit 7131217
Show file tree
Hide file tree
Showing 25 changed files with 13 additions and 778 deletions.
9 changes: 0 additions & 9 deletions .github/actions/terraform/Dockerfile

This file was deleted.

47 changes: 0 additions & 47 deletions .github/actions/terraform/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions .github/actions/terraform/action.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .github/actions/terraform/apply.sh

This file was deleted.

6 changes: 0 additions & 6 deletions .github/actions/terraform/cleanup.sh

This file was deleted.

45 changes: 0 additions & 45 deletions .github/actions/terraform/main.sh

This file was deleted.

22 changes: 12 additions & 10 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
# Submit your review with a comment body containing "#benchmark"
pull_request_review:
types: [ submitted ]
push:
branches: ['benchmark_update']
schedule:
- cron: '0 0 * * *'
# Manurally trigger
Expand All @@ -14,16 +16,16 @@ jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
if: |
(
github.event_name == 'pull_request_review' &&
contains(github.event.review.body, '#benchmark')
) || (
github.event_name == 'schedule' &&
github.repository_owner == 'nervosnetwork'
) || (
github.event_name == 'workflow_dispatch'
)
# if: |
# (
# github.event_name == 'pull_request_review' &&
# contains(github.event.review.body, '#benchmark')
# ) || (
# github.event_name == 'schedule' &&
# github.repository_owner == 'nervosnetwork'
# ) || (
# github.event_name == 'workflow_dispatch'
# )
env:
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
Expand Down
55 changes: 0 additions & 55 deletions .github/workflows/benchmark/ansible/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions .github/workflows/benchmark/ansible/ansible.cfg

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

97 changes: 0 additions & 97 deletions .github/workflows/benchmark/ansible/files/benchmark-spec.toml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/benchmark/ansible/files/process-metrics.py

This file was deleted.

Loading

0 comments on commit 7131217

Please sign in to comment.