-
Notifications
You must be signed in to change notification settings - Fork 1
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 #42 from bento-platform/qa/v0.6
v0.7.0 rc-1
- Loading branch information
Showing
20 changed files
with
186 additions
and
41 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 |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: Build and push bento_public | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build-push: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Log into the container registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
- name: Set up development image metadata | ||
id: meta-dev | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: | | ||
ghcr.io/bento-platform/bento_public | ||
flavor: | | ||
latest=false | ||
tags: | | ||
type=raw,value=latest-dev,enable={{is_default_branch}} | ||
type=ref,event=pr | ||
type=sha,prefix=sha- | ||
- name: Build and push development image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
file: Dockerfile | ||
push: true | ||
tags: ${{ steps.meta-dev.outputs.tags }} | ||
labels: ${{ steps.meta-dev.outputs.labels }} | ||
platforms: linux/amd64,linux/arm64 | ||
|
||
- name: Set up production image metadata | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
if: ${{ github.event_name == 'release' }} | ||
with: | ||
images: | | ||
ghcr.io/bento-platform/bento_public | ||
flavor: | | ||
latest=true | ||
tags: | | ||
type=semver,pattern={{version}} | ||
type=semver,pattern={{major}}.{{minor}} | ||
- name: Build and push production image | ||
uses: docker/build-push-action@v3 | ||
if: ${{ github.event_name == 'release' }} | ||
with: | ||
context: . | ||
file: Dockerfile | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
platforms: linux/amd64,linux/arm64 |
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 |
---|---|---|
|
@@ -6,4 +6,5 @@ node_modules/* | |
package-lock.json | ||
.DS_Store | ||
.prettierrc | ||
.idea/ | ||
.idea/ | ||
.vscode/ |
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 was deleted.
Oops, something went wrong.
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
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,7 @@ | ||
const { CLIENT, HOST, DEBUG } = process.env; | ||
|
||
export const debug = DEBUG.toLowerCase() === 'true'; | ||
export const client = CLIENT; | ||
|
||
export const MAX_CHARTS = 3; | ||
|
||
export const configUrl = HOST + '/config'; | ||
export const publicOverviewUrl = HOST + '/overview'; | ||
export const searchFieldsUrl = HOST + '/fields'; | ||
export const katsuUrl = HOST + '/katsu'; | ||
export const provenanceUrl = HOST + '/provenance'; | ||
export const configUrl = '/config'; | ||
export const publicOverviewUrl = '/overview'; | ||
export const searchFieldsUrl = '/fields'; | ||
export const katsuUrl = '/katsu'; | ||
export const provenanceUrl = '/provenance'; |
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
Oops, something went wrong.