GithubHelp home page GithubHelp logo

bkonicek-calm / setup-helmfile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mamezou-tech/setup-helmfile

0.0 0.0 0.0 1.22 MB

Setup helmfile action

License: MIT License

JavaScript 100.00%

setup-helmfile's Introduction

@mamezou-tech/setup-helmfile

CI

Setup helmfile with Helm and kubectl in GitHub Actions workflow.

  • This action works on Linux.
  • The AWS version of kubectl will be installed.
  • Following Helm plugins will be installed
    • helm-diff
    • helm-s3
name: CI
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Setup helmfile
      uses: mamezou-tech/[email protected]
    - name: Test
      run: |
        helmfile --version
        helm version
        kubectl version --client

Optional Inputs

  • helmfile-version : helmfile version. Default "v0.157.0".
  • helm-version : Helm version. Default "v3.13.1"
  • kubectl-version : kubectl version. Default 1.28.1
  • kubectl-release-date : kubectl release date. Default 2023-09-14
  • install-kubectl : Install kubectl. Default yes
  • install-helm : Install Helm. Default yes
  • install-helm-plugins : Install Helm plugins. Default yes
  • helm-diff-plugin-version : Plugin version to install. Default master
  • helm-s3-plugin-version : Plugin version to install. Default master
  • additional-helm-plugins : A comma separated list of additional helm plugins to install. Should be a valid argument after helm plugin install.

See "Installing kubectl - Amazon EKS" for information how to specify the kubectl version.

Example with optional inputs

name: CI
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Setup helmfile
      uses: mamezou-tech/[email protected]
      with:
        helmfile-version: "v0.135.0"

If you are not particular about the version of kubectl / Helm and you can use the versions pre-installed on GitHub Actions runner, you can specify inputs not to install them.

Notice: Helm plugins will be installed in this case.

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Setup helmfile
      uses: mamezou-tech/[email protected]
      with:
        install-kubectl: no
        install-helm: no

If you want to install certain plugins other than the default plugins, use additional-helm-plugins, which accepts a comma separated list of additional plugins to install, accepting anything that can be passed to helm plugin install.

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Setup helmfile
      uses: mamezou-tech/[email protected]
      with:
        additional-helm-plugins: https://github.com/aslafy-z/helm-git --version 0.10.0

If you don't want helm plugins installed, specify no for install-helm-plugins.

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Setup helmfile
      uses: mamezou-tech/[email protected]
      with:
        install-helm-plugins: no

Build action (for maintainer)

npm install
npm run package

dist/index.js shoud be included in commit.

setup-helmfile's People

Contributors

kondoumh avatar dependabot[bot] avatar kudoh avatar bkonicek-calm avatar philomory avatar halkeye avatar sue445 avatar koenpunt avatar pfuhrmann avatar trumant avatar marcelodevops avatar parrotchute avatar

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.