Skip to content

Commit

Permalink
Update tools-installer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hemanthmanga authored Jul 15, 2024
1 parent 1b9195f commit 83aedba
Showing 1 changed file with 56 additions and 15 deletions.
71 changes: 56 additions & 15 deletions .github/workflows/tools-installer.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,68 @@
name: Test OpenShift Tools Installer

on:
push
workflow_dispatch:

jobs:
install-tools:
runs-on: ubuntu-latest
strategy:
matrix:
tool: [cv, oc]
version: [v1.11, v1]
install-cv-ubuntu-latest-1-11:
runs-on: ubuntu-24.04
steps:
- uses: actions/setup-node@v4
if: ${{ matrix.tool == 'cv' }}
with:
node-version: '16'
- name: Set version
id: set_version
run: echo "VERSION=${{ matrix.version }}" >> $GITHUB_ENV
- name: Install tools
uses: redhat-actions/openshift-tools-installer@v${{ env.VERSION }}
- name: Install chart-verifier
uses: redhat-actions/[email protected]
with:
source: github
skip_cache: true
chart-verifier: 0.1.0


install-oc-ubuntu-latest-1-11:
runs-on: ubuntu-24.04
steps:
- name: Install oc
uses: redhat-actions/[email protected]
with:
oc: latest
skip_cache: true

install-cv-ubuntu-latest:
runs-on: ubuntu-24.04
steps:
- name: Install chart-verifier
uses: redhat-actions/openshift-tools-installer@v1
with:
source: github
skip_cache: true
chart-verifier: 0.1.0


install-oc-ubuntu-latest:
runs-on: ubuntu-24.04
steps:
- name: Install oc
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: latest
skip_cache: false
chart-verifier: ${{ matrix.tool == 'cv' && '0.1.0' || '' }}
oc: ${{ matrix.tool == 'oc' && 'latest' || '' }}

install-cv-ubuntu-2404:
runs-on: ubuntu-24.04
steps:
- name: Install chart-verifier
uses: redhat-actions/openshift-tools-installer@v1
with:
source: github
skip_cache: true
chart-verifier: 0.1.0


install-oc-ubuntu-2404:
runs-on: ubuntu-24.04
steps:
- name: Install oc
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: latest
skip_cache: true

0 comments on commit 83aedba

Please sign in to comment.