/common-ci-config

POC: A shared repo for storing ci related config, and linting rules for konveyor projects

Primary LanguageShell

Common configs for Konveyor projects

Currently POC, you may try it by:

Within your project (e.g. Pelorus):

  1. Clone common-ci-config repository
    $ git clone https://github.com/konveyor/common-ci-config.git

  2. (This will override Makefile, so make sure to have clean project repo)
    Copy content of the entire repository to your project
    $ cp -r common-ci-config/makefile/* ./path-to-your-project

  3. Copy configuration file to your project
    $ cp ./path-to-your-project/makefile/.konveyor/python/.pre-commit-config.yaml ./path-to-your-project/

  4. Modify the language your project is using in Makefile, by modyfying the line:
    LANG_DIR ?= python into LANG_DIR ?= ansible/go/ruby etc.

  5. Use sample tests:
    $ make tests