Skip to content

Commit cd3ed82

Browse files
committed
break on purpose to see artifacts being uploaded
1 parent f054697 commit cd3ed82

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

.github/workflows/ci.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -82,58 +82,58 @@ jobs:
8282
args: build:linux
8383
# args: buildAll # do we want to build all?
8484

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
128128

129129
# - name: Publish report to GCS
130130
# if: ${{ github.repository_owner == 'grafana' && (always() && steps.run-tests.outcome == 'success') || (failure() && steps.run-tests.outcome == 'failure') }}
131131
# uses: grafana/plugin-actions/publish-report@main
132132
# with:
133133
# grafana-version: ${{ matrix.GRAFANA_IMAGE.VERSION }}
134134

135-
# - name: Stop grafana docker
136-
# run: docker-compose down
135+
- name: Stop grafana docker
136+
run: docker-compose down
137137

138138
- name: Sign plugin
139139
run: yarn sign

0 commit comments

Comments
 (0)