0.0.17 • Published 6 years ago

recink-cnci v0.0.17

Weekly downloads
4
License
MPL-2.0
Repository
github
Last release
6 years ago

REciNK Component for CNCI

This is a REciNK component, which helps you integrate with Cloud Native CI (aka CNCI)

Prerequisites

  • Node.js >= v6.x
  • NPM >= v3.x
  • REciNK

Installation

  • npm install -g recink-cnci

Note that the component is installed automatically when running recink component add recink-cnci

Configuration

  • .recink.yml configuration example:
$:
  preprocess:
    '$.cnci.token': 'eval'
    '$.cnci.ci.options.user': 'eval'
    '$.cnci.ci.options.token': 'eval'
    '$.cnci.ci.options.jobName': 'eval'
    '$.cnci.ci.options.buildNumber': 'eval'

  cnci:
    token: process.env.CNCI_TOKEN               # Cloud Native CI API token
    ci:                                         # CI configuration
      provider: jenkins                         # CI provider [available: jenkins]
      options:
        user: process.env.JENKINS_USER          # User & token to call Jenkins API
        token: process.env.JENKINS_TOKEN
        domain: jenkins.mitocgroup.com          # Domain [optional, default = 127.0.0.1]
        jobName: process.env.JOB_NAME           # Job name
        buildNumber: process.env.BUILD_NUMBER   # Build number [optional]

Usage

  • To parse & analyze .tfstate and .tfplan files
recink run terraform -c cnci
  • To upload CI metadata
recink run cnci --sync

This should be run in a post-build step

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago