Skip to content

Commit

Permalink
chore: add service and actions needed in containers for running cc
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed Jan 23, 2025
1 parent e8f8ea9 commit 65cbb0c
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/pit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
for i in `echo $S`; do
J='{"app":"'$i'"'
[ -n "$V" ] && J=$J',"version":"'$V'"'
[ true = "$W" ] && M=$M$J',"os":"windows-latest"},'
[ true = "$W" -a control-center != "$i" ] && M=$M$J',"os":"windows-latest"},'
[ true = "$L" ] && M=$M$J',"os":"ubuntu-22.04"},'
done
M=`echo $M | sed -e s/,$//`']}'
Expand All @@ -94,6 +94,10 @@ jobs:
fail-fast: false
matrix: ${{fromJson(needs.prepare.outputs.matrix)}}
runs-on: ${{matrix.os}}
services:
docker:
image: ${{ (matrix.app == 'control-center' ) && 'docker:dind' || '' }}
options: --privileged --shm-size=2g
steps:
- run: |
# TEST PARAMETERS
Expand All @@ -111,7 +115,8 @@ jobs:
echo '{"username":"'`echo ${{secrets.TB_LICENSE}} | cut -d / -f1`'","proKey":"'`echo ${{secrets.TB_LICENSE}} | cut -d / -f2`'"}' > ~/.vaadin/proKey
echo "${{secrets.SS_LICENSE}}" > ~/vaadin.spreadsheet.developer.license
shell: bash
- if: ${{ env.ACT }}
- name: Setup ACT local runner
if: ${{ env.ACT }}
run: |
# LINUX LIBS (ACT)
# see https://github.com/browser-actions/setup-chrome/issues/240
Expand All @@ -129,6 +134,14 @@ jobs:
- uses: stCarolas/setup-maven@v5
with:
maven-version: '3.9.0'
- name: Set up Helm
if: ${{ matrix.app == 'control-center' }}
uses: azure/[email protected]
- name: Create k8s Kind Cluster
if: ${{ matrix.app == 'control-center' }}
uses: helm/kind-action@v1
with:
install_only: false
- run: |
# PIT TESTS ${{matrix.app}} ${{inputs.version}}
echo "${{toJSON(inputs)}}"
Expand Down

0 comments on commit 65cbb0c

Please sign in to comment.