forked from getredash/redash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from dunzoit/feature/release-9.0.0
Feature/release 9.0.0
- Loading branch information
Showing
763 changed files
with
56,750 additions
and
42,572 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
FROM cypress/browsers:chrome67 | ||
FROM cypress/browsers:node14.17.0-chrome91-ff89 | ||
|
||
ENV APP /usr/src/app | ||
WORKDIR $APP | ||
|
||
COPY package.json $APP/package.json | ||
RUN npm run cypress:install > /dev/null | ||
COPY package.json yarn.lock .yarnrc $APP/ | ||
COPY viz-lib $APP/viz-lib | ||
RUN npm install yarn@1.22.10 -g && yarn --frozen-lockfile --network-concurrency 1 > /dev/null | ||
|
||
COPY client/cypress $APP/client/cypress | ||
COPY cypress.json $APP/cypress.json | ||
COPY . $APP | ||
|
||
RUN ./node_modules/.bin/cypress verify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,26 @@ | ||
## What type of PR is this? (check all applicable) | ||
<!-- Please leave only what's applicable --> | ||
## What type of PR is this? | ||
<!-- Check all that apply, delete what doesn't apply. --> | ||
|
||
- [ ] Refactor | ||
- [ ] Feature | ||
- [ ] Bug Fix | ||
- [ ] New Query Runner (Data Source) | ||
- [ ] New Query Runner (Data Source) | ||
- [ ] New Alert Destination | ||
- [ ] Other | ||
|
||
## Description | ||
<!-- In case of adding / modifying a query runner, please specify which version(s) you expect are compatible. --> | ||
|
||
## How is this tested? | ||
|
||
- [ ] Unit tests (pytest, jest) | ||
- [ ] E2E Tests (Cypress) | ||
- [ ] Manually | ||
- [ ] N/A | ||
|
||
<!-- If Manually, please describe. --> | ||
|
||
## Related Tickets & Documents | ||
<!-- If applicable, please include a link to your documentation PR against getredash/website --> | ||
|
||
## Mobile & Desktop Screenshots/Recordings (if there are UI changes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Build custom redash image | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
deploy: | ||
permissions: | ||
contents: 'read' | ||
id-token: 'write' | ||
environment: | ||
name: Prod | ||
url: "app.{{ vars.BASE_DOMAIN }}" | ||
runs-on: ubuntu-latest | ||
env: | ||
IMAGE_NAME: asia-south1-python.pkg.dev/prod-data-platform/redash/redash | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- id: 'auth' | ||
name: 'Authenticate to Google Cloud' | ||
uses: 'google-github-actions/auth@v1' | ||
with: | ||
workload_identity_provider: 'projects/1027534050611/locations/global/workloadIdentityPools/github-pool/providers/github' | ||
service_account: 'prod-data-eng-deployment@prod-data-platform.iam.gserviceaccount.com' | ||
token_format: 'access_token' | ||
|
||
- uses: olegtarasov/get-tag@v2.1 | ||
id: tag_name | ||
|
||
- # Add support for more platforms with QEMU (optional) | ||
# https://github.com/docker/setup-qemu-action | ||
name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
platforms: linux/amd64,linux/arm64 | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
push: true | ||
platforms: linux/amd64,linux/arm64 | ||
tags: "${{ vars.IMAGE_NAME }}:${{ steps.tag_name.outputs.tag }}" | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ venv/ | |
.coveralls.yml | ||
.idea | ||
*.pyc | ||
.nyc_output | ||
coverage | ||
.coverage | ||
coverage.xml | ||
client/dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v14.16.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!.gitignore |
Oops, something went wrong.