@@ -82,58 +82,58 @@ jobs:
82
82
args : build:linux
83
83
# args: buildAll # do we want to build all?
84
84
85
- # - name: Start Grafana
86
- # run: |
87
- # docker-compose pull
88
- # GRAFANA_VERSION=${{ matrix.GRAFANA_IMAGE.VERSION }} GRAFANA_IMAGE=${{ matrix.GRAFANA_IMAGE.NAME }} docker-compose up -d
89
- #
90
- # - name: Wait for prometheus to start
91
- # uses: nev7n/wait_for_response@v1
92
- # with:
93
- # url: 'http://localhost:9090/-/ready'
94
- # responseCode: 200
95
- # timeout: 20000
96
- # interval: 500
97
- #
98
- # - name: Wait for Grafana to start
99
- # uses: nev7n/wait_for_response@v1
100
- # with:
101
- # url: 'http://localhost:3000/'
102
- # responseCode: 200
103
- # timeout: 60000
104
- # interval: 500
105
-
106
- # - name: Install Playwright Browsers
107
- # run: yarn playwright install --with-deps
108
- #
109
- # - name: Run Playwright tests
110
- # id: run-tests
111
- # run: yarn e2e
112
- #
113
- # - name: Upload playwright artifacts
114
- # uses: actions/upload-artifact@v4
115
- # if: ${{ github.repository_owner != 'grafana' && (always() && steps.run-tests.outcome == 'success') || (failure() && steps.run-tests.outcome == 'failure') }}
116
- # with:
117
- # name: playwright-report-${{ matrix.GRAFANA_IMAGE.NAME }}-v${{ matrix.GRAFANA_IMAGE.VERSION }}-${{github.run_id}}
118
- # path: playwright-report/
119
- # retention-days: 30
120
- #
121
- # - name: Upload playwright videos
122
- # uses: actions/upload-artifact@v4
123
- # if: ${{ github.repository_owner != 'grafana' && (always() && steps.run-tests.outcome == 'success') || (failure() && steps.run-tests.outcome == 'failure') }}
124
- # with:
125
- # name: test-results-${{ matrix.GRAFANA_IMAGE.NAME }}-v${{ matrix.GRAFANA_IMAGE.VERSION }}-${{github.run_id}}
126
- # path: test-results/
127
- # retention-days: 30
85
+ - name : Start Grafana
86
+ run : |
87
+ docker-compose pull
88
+ GRAFANA_VERSION=${{ matrix.GRAFANA_IMAGE.VERSION }} GRAFANA_IMAGE=${{ matrix.GRAFANA_IMAGE.NAME }} docker-compose up -d
89
+
90
+ - name : Wait for prometheus to start
91
+ uses : nev7n/wait_for_response@v1
92
+ with :
93
+ url : ' http://localhost:9090/-/ready'
94
+ responseCode : 200
95
+ timeout : 20000
96
+ interval : 500
97
+
98
+ - name : Wait for Grafana to start
99
+ uses : nev7n/wait_for_response@v1
100
+ with :
101
+ url : ' http://localhost:3000/'
102
+ responseCode : 200
103
+ timeout : 60000
104
+ interval : 500
105
+
106
+ - name : Install Playwright Browsers
107
+ run : yarn playwright install --with-deps
108
+
109
+ - name : Run Playwright tests
110
+ id : run-tests
111
+ run : yarn e2e
112
+
113
+ - name : Upload playwright artifacts
114
+ uses : actions/upload-artifact@v4
115
+ if : ${{ github.repository_owner != 'grafana' && (always() && steps.run-tests.outcome == 'success') || (failure() && steps.run-tests.outcome == 'failure') }}
116
+ with :
117
+ name : playwright-report-${{ matrix.GRAFANA_IMAGE.NAME }}-v${{ matrix.GRAFANA_IMAGE.VERSION }}-${{github.run_id}}
118
+ path : playwright-report/
119
+ retention-days : 30
120
+
121
+ - name : Upload playwright videos
122
+ uses : actions/upload-artifact@v4
123
+ if : ${{ github.repository_owner != 'grafana' && (always() && steps.run-tests.outcome == 'success') || (failure() && steps.run-tests.outcome == 'failure') }}
124
+ with :
125
+ name : test-results-${{ matrix.GRAFANA_IMAGE.NAME }}-v${{ matrix.GRAFANA_IMAGE.VERSION }}-${{github.run_id}}
126
+ path : test-results/
127
+ retention-days : 30
128
128
129
129
# - name: Publish report to GCS
130
130
# if: ${{ github.repository_owner == 'grafana' && (always() && steps.run-tests.outcome == 'success') || (failure() && steps.run-tests.outcome == 'failure') }}
131
131
# uses: grafana/plugin-actions/publish-report@main
132
132
# with:
133
133
# grafana-version: ${{ matrix.GRAFANA_IMAGE.VERSION }}
134
134
135
- # - name: Stop grafana docker
136
- # run: docker-compose down
135
+ - name : Stop grafana docker
136
+ run : docker-compose down
137
137
138
138
- name : Sign plugin
139
139
run : yarn sign
0 commit comments