mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-27 17:02:03 +00:00
Upload metadata model to s3 (#9325)
This commit is contained in:
parent
0795f0b2e8
commit
f8db90926e
13
.github/workflows/metadata-model.yml
vendored
13
.github/workflows/metadata-model.yml
vendored
@ -37,6 +37,19 @@ jobs:
|
||||
run: ./metadata-ingestion/scripts/install_deps.sh
|
||||
- name: Run model generation
|
||||
run: ./gradlew :metadata-models:build
|
||||
- name: Generate metadata files
|
||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||
run: ./gradlew :metadata-ingestion:modelDocGen
|
||||
- name: Configure AWS Credentials
|
||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||
uses: aws-actions/configure-aws-credentials@v3
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.ACRYL_CI_ARTIFACTS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.ACRYL_CI_ARTIFACTS_ACCESS_KEY }}
|
||||
aws-region: us-west-2
|
||||
- name: Upload metadata to S3
|
||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||
run: aws s3 cp ./metadata-ingestion/generated/docs/metadata_model_mces.json s3://${{ secrets.ACRYL_CI_ARTIFACTS_BUCKET }}/datahub/demo/metadata/
|
||||
- name: Upload metadata to DataHub
|
||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||
env:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user