Skip to content

actionshub-chef-install

Actions
Installs Chef on your linux build agent with ease
3.0.1
Latest
Star (6)

chef-install

CI State License

A Github Action to install Chef on a build agent

Note you will need to accept the Chef license, you can find more information at https://docs.chef.io/chef_license.html

There is support for Macos, Linux and Windows with this action

Usage

Use the default settings to install chef-workstation from the stable channel

name: delivery

on: [push, pull_request]

jobs:
  delivery:
    runs-on: ubuntu-latest
    steps:
    - name: Check out code
      uses: actions/checkout@master
    - name: install chef
      uses: actionshub/chef-install@main

Install inspec from the current channel

jobs:
  delivery:
    runs-on: ubuntu-latest
    steps:
    - name: Check out code
      uses: actions/checkout@master
    - name: install chef
      uses: actionshub/chef-install@main
      with:
        channel: current
        project: inspec

Parameters

We support the following parameters

name default description
channel stable Chef Channel to install, stable or current
project chef-workstation Which product to install, see https://docs.chef.io/install_omnibus.html for the list
version latest version to install
omnitruckUrl omnitruck.chef.io which Omnitruck to use, default is Chef Official

By Changing the omnitruck Url you can also install Cinc projects

actionshub-chef-install is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Installs Chef on your linux build agent with ease
3.0.1
Latest

actionshub-chef-install is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.