Giter VIP home page Giter VIP logo

upload-config-action's Introduction

Config upload action

Github action for uploading configuration files to extraction pipelines in Cognite Data Fusion. Takes a root directory and recursively uploads config files to extraction pipelines matching their name. E.g. "my-extpipe.yml" gets uploaded to extraction pipeline with external id "my-extpipe".

Usage

Available options are

  • api-key, CDF api key.
  • base-url, CDF base url, defaults to https://api.cognitedata.com
  • token-url, IDP token url, for fetching OAuth2 tokens.
  • cdf-project-name, name of CDF project.
  • scopes, space separated list of OAuth2 scopes.
  • audience, OAuth2 audience.
  • client-id, OAuth2 client id.
  • client-secret, OAuth2 client secret.
  • deploy, set this to true to deploy configs to CDF.
  • root-folder, Root folder to start recursively looking for configuration files.
  • revision-message, The "description" field on created config revisions.

For example:

- name: Deploy
  uses: cognitedata/upload-config-action@v1
  with:
    base-url: ${{ secrets.BASE_URL }}
    token-url: ${{ secrets.TOKEN_URL }}
    cdf-project-name: ${{ secrets.PROJECT }}
    client-id: ${{ secrets.CLIENT_ID }}
    client-secret: ${{ secrets.CLIENT_SECRET }}
    root-folder: "test_root_dir/"
    deploy: "true"
    revision-message: "${{ github.event.head_commit.message }}"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.