Skip to content

Update Node and Kompose versions #104

Update Node and Kompose versions

Update Node and Kompose versions #104

name: Integration test for k8s-bake-v1
on:
pull_request:
jobs:
run-integration-test:
name: Validate release and main branch
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
name: Checkout branch
- name: Install npm packages
run: |
npm install --no-bin-links
- name: Install ncc
run: npm i -g @vercel/ncc
- name: Build
run: ncc build src/run.ts -o lib
- name: Bake using Helm on ${{ matrix.os }}
uses: ./
with:
renderEngine: 'helm'
helmChart: './testResources/Helm/HelmCharts'
helm-version: 'latest'
silent: 'false'
namespace: 'namespaceExample'
overrideFiles: './testResources/Helm/values.yaml'
overrides: |
serviceName:aks-helloworld-test
id: helm-bake
- name: Validate created manifest ${{ matrix.os }}
uses: Azure/k8s-lint@v1
with:
manifests: ${{ steps.helm-bake.outputs.manifestsBundle }}
- name: Executing latest changes on ${{ matrix.os }}
uses: ./
with:
renderEngine: 'kompose'
dockerComposeFile: './testResources/Kompose/docker-compose.yml'
kompose-version: 'latest'
id: kompose-bake
- name: validate created manifest ${{ matrix.os }}
uses: Azure/k8s-lint@v1
with:
manifests: ${{ steps.kompose-bake.outputs.manifestsBundle }}
- name: Bake using Kustomize on ${{ matrix.os }}
uses: ./
with:
renderEngine: 'kustomize'
kustomizationPath: './testResources/Kustomize'
kubectl-version: 'latest'
id: kustomize-bake
- name: Validate created manifest ${{ matrix.os }}
uses: Azure/k8s-lint@v1
with:
manifests: ${{ steps.kustomize-bake.outputs.manifestsBundle }}