File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -120,3 +120,26 @@ jobs:
120120 password : ${{ secrets.DOCKERHUB_TOKEN }}
121121 repository : cubejs/cube
122122 readme-filepath : ./packages/cubejs-docker/README.md
123+
124+ trigger-test-suites :
125+ name : Trigger test suites run
126+ runs-on : ubuntu-20.04
127+ needs : [docker-image-dev]
128+ timeout-minutes : 60
129+ steps :
130+ - name : Checkout
131+ uses : actions/checkout@v4
132+ - name : Dispatch event
133+ uses : actions/github-script@v7
134+ with :
135+ github-token : ${{ secrets.GH_TRIGGER_TOKEN }}
136+ script : |
137+ await github.rest.actions.createWorkflowDispatch({
138+ owner: 'cubedevinc',
139+ repo: 'sql-api-test-suite',
140+ workflow_id: 'test_and_run_test_suites.yml',
141+ ref: 'master',
142+ inputs: {
143+ cube-image: 'cubejs/cube:dev'
144+ }
145+ })
Original file line number Diff line number Diff line change @@ -738,3 +738,26 @@ jobs:
738738 asset_name : cubestored-${{ matrix.target }}.tar.gz
739739 tag : ${{ github.ref }}
740740 overwrite : true
741+
742+ trigger-test-suites :
743+ name : Trigger test suites run
744+ runs-on : ubuntu-20.04
745+ needs : [docker-default]
746+ timeout-minutes : 60
747+ steps :
748+ - name : Checkout
749+ uses : actions/checkout@v4
750+ - name : Dispatch event
751+ uses : actions/github-script@v7
752+ with :
753+ github-token : ${{ secrets.GH_TRIGGER_TOKEN }}
754+ script : |
755+ await github.rest.actions.createWorkflowDispatch({
756+ owner: 'cubedevinc',
757+ repo: 'sql-api-test-suite',
758+ workflow_id: 'test_and_run_test_suites.yml',
759+ ref: 'master',
760+ inputs: {
761+ cube-image: 'cubejs/cube:latest'
762+ }
763+ })
You can’t perform that action at this time.
0 commit comments