Update Maven Central badge #33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "e2e tests" | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| main: | |
| name: Run spark-measure end-to-end tests | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| spark_image_tag: [ '3.5.6-scala2.12-java17-python3-ubuntu', '4.0.0-scala2.13-java17-python3-ubuntu' ] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| # Required by ciux | |
| with: | |
| fetch-depth: 0 | |
| - name: Stop apparmor | |
| run: | | |
| sudo /etc/init.d/apparmor stop | |
| - uses: actions/setup-go@v3 | |
| with: | |
| go-version: '^1.21.4' | |
| - name: Run ciux and create k8s/kind cluster | |
| run: | | |
| ./e2e/prereq.sh | |
| - name: Build spark-measure image | |
| run: | | |
| ./e2e/build.sh -i ${{ matrix.spark_image_tag }} | |
| - name: Load spark-measure image into k8s/kind cluster | |
| run: | | |
| ./e2e/push-image.sh -k -d | |
| - name: Run argocd | |
| run: | | |
| ./e2e/argocd.sh | |
| - name: Access prometheus exporter metrics | |
| run: | | |
| ./e2e/check-metrics.sh | |
| # - name: Push image | |
| # run: | | |
| # ./push-image.sh |