-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/GPE-979
- Loading branch information
Showing
105 changed files
with
1,261 additions
and
733 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
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
check-latest: true | ||
|
||
- name: Set up chart-testing | ||
uses: helm/chart-testing-action@v2.3.1 | ||
uses: helm/chart-testing-action@v2.6.1 | ||
|
||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
|
@@ -34,17 +34,29 @@ jobs: | |
- name: Run chart-testing (lint) | ||
run: ct lint --config .github/ct.yaml | ||
|
||
# deploy-charts-to-kind: | ||
# name: ${{ matrix.environments }} - gen3 data portal build | ||
|
||
# TODO: add back in when we have tests | ||
# deploy-and-test-chart: | ||
# name: Deploy and Test Chart | ||
# timeout-minutes: 20 | ||
# runs-on: ubuntu-latest | ||
# needs: [get-changes-for-envs] | ||
# if: ${{ needs.get-changes-for-envs.outputs.matrix != '[]' && needs.get-changes-for-envs.outputs.matrix != '' }} | ||
# steps: | ||
|
||
# - name: Checkout | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# fetch-depth: 0 | ||
|
||
# - name: Set up Helm | ||
# uses: azure/setup-helm@v3 | ||
|
||
# - name: Set up chart-testing | ||
# uses: helm/[email protected] | ||
|
||
|
||
# - name: Create kind cluster | ||
# uses: helm/kind-action@v1.4.0 | ||
# if: steps.list-changed.outputs.changed == 'true' | ||
# uses: helm/kind-action@v1.8.0 | ||
|
||
|
||
# - name: Run chart-testing (install) | ||
# run: ct install | ||
# - name: Run chart install + testing | ||
# run: ct install --charts ./helm/gen3 --config .github/ct.yaml |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# ETL | ||
|
||
The Gen3 Tube ETL is designed to translate data from a graph data model, stored in a PostgreSQL database, to indexed documents in ElasticSearch (ES), which supports efficient ways to query data from the front-end. The purpose of the Gen3 Tube ETL is to create indexed documents to reduce the response time of requests to query data. It is configured through an etlMapping.yaml configuration file, which describes which tables and fields to ETL to ElasticSearch. | ||
|
||
|
||
You can configure the ETL like this: | ||
|
||
```yaml | ||
etl: | ||
enabled: true | ||
esEndpoint: "" | ||
etlMapping: | ||
<your etl mapping here> | ||
``` | ||
To kick off etl job run this command: | ||
```bash | ||
kubectl create job --from=cronjob/etl-cronjob etl | ||
``` | ||
|
||
If you already have a job called etl run the following. This will delete the old job and create a new instance. | ||
|
||
```bash | ||
kubectl delete job etl | ||
kubectl create job --from=cronjob/etl-cronjob etl | ||
``` | ||
|
||
For more information about our ETL read [here github.com/uc-cdis/tube](https://github.com/uc-cdis/tube) |
Oops, something went wrong.