Skip to content

Commit

Permalink
execute VIB in all cloud platforms (#161)
Browse files Browse the repository at this point in the history
* add all cloud providers for testing vib

* add matrix level to step ref

* revert add include

* test with new platforms

* allow testing with branch

* disable head ref

* disable head ref

* revert last change

* change event trigger type to pull_request

* support run vib with differents customer package

* fix invalid onprem_id var

* typo
  • Loading branch information
alvarorm22 authored Jun 15, 2022
1 parent 091be60 commit afd648a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/vib.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'VIB'
on: # rebuild any PRs and main branch changes
pull_request_target:
pull_request:
types:
- opened
- reopened
Expand All @@ -21,17 +21,21 @@ jobs:
strategy:
matrix:
include:
- target-platform: eks
target-platform-id: ef54a736-5e43-4a6c-9400-b162acd8b83d
- target-platform: gke
target-platform-id: 91d398a2-25c4-4cda-8732-75a3cfc179a1
- target-platform: aks
target-platform-id: 7b13a7bb-011c-474f-ad71-8152fc321b9e
fail-fast: false
env:
ONPREM_ID: "vmware-gke-1"
name: Verify ${{ matrix.target-platform}}
ONPREM_ID: "vmware-${{ matrix.target-platform }}-1"
name: Verify ${{ matrix.target-platform }}
steps:
- uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Google Cloud Auth
uses: google-github-actions/auth@v0
with:
Expand Down

0 comments on commit afd648a

Please sign in to comment.