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 }}"

upload-config-action's People

Contributors

dependabot[bot] avatar einarmo avatar jpriou avatar mathialo avatar renovate[bot] avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gaurav98700

upload-config-action's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

dockerfile
Dockerfile
  • python 3.11
github-actions
.github/workflows/test-action.yml
  • actions/checkout v3
pep621
pyproject.toml
poetry
pyproject.toml
  • python ^3.9
  • cognite-sdk ^5.4.4
  • black ^23.0.0
  • isort ^5.10.1
  • flake8 ^6.0.0
  • mypy ^1.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.