8000 GitHub - ellenpelletier/metaphor-connectors-action
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ellenpelletier/metaphor-connectors-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metaphor Connectors GitHub Action

A GitHub Action for running Metaphor Connectors to extract and publish metadata to Metaphor.

Usage

Add the following to the GitHub Workflow in your GitHub repository.

- uses: MetaphorData/connectors-action@v0.13
  env:
    # The AWS credentials & region to use when uploading files to S3 
    AWS_ACCESS_KEY_ID: ''
    AWS_SECRET_ACCESS_KEY: ''
    AWS_DEFAULT_REGION: ''
    
  with:
    # The type of connector to run, e.g. bigquery, snowflake, etc.
    type: ''

    # YAML config file for the connector
    config: ''

    # (Optional) Set or override the output S3 path, in the form of s3://<bucket>/<directory>
    s3-path: ''

Secrets

To avoid putting passwords or secrets directly in the config file, you can specify them using environment variables in the form of ${ENV_VAR_NAME} like this:

# Example Config file
client_id: ${CLIENT_ID}
client_secret: ${CLIENT_SECRET}

Then you set the enviornment variables using the encrypted values stored in in GitHub Secrets in the GitHub workflow job:

- uses: MetaphorData/connectors-action@v0.13
  env:
    # The AWS credentials & region to use when uploading files to S3 
    CLIENT_ID: ${{ secrets.client_id }}
    CLIENT_SECRET: ${{ secrets.client_secret }}

License

The scripts and documentation in this project are released under the Apache V2 License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0