Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parametric: Add client: java version: dev #1937

Merged
47 changes: 33 additions & 14 deletions .github/workflows/parametric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,63 @@ on:
env:
REGISTRY: ghcr.io
jobs:

parametric:
runs-on:
group: "APM Larger Runners"
strategy:
matrix:
client:
- php
- python
- python_http
- dotnet
- golang
- java
- nodejs
- ruby
- cpp
variant:
#Updated with dev version
- client: java
version: dev
- client: java
version: prod

#Pending to update with dev version
- client: php
version: prod
- client: python
version: prod
- client: python_http
version: prod
- client: dotnet
version: prod
- client: golang
version: prod
- client: nodejs
version: prod
- client: ruby
version: prod
- client: cpp
version: prod

fail-fast: false
env:
TEST_LIBRARY: ${{ matrix.client }}
TEST_LIBRARY: ${{ matrix.variant.client }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install runner
uses: ./.github/actions/install_runner
- name: Load library binary
if: ${{ matrix.variant.version == 'dev' }}
run: ./utils/scripts/load-binary.sh ${{ matrix.variant.client }}
- name: Run
run: ./run.sh PARAMETRIC
- name: Compress logs
id: compress_logs
if: always()
run: tar -czvf artifact.tar.gz $(ls | grep logs)
- name: Upload artifact
if: always()
if: always() && steps.compress_logs.outcome == 'success'
uses: actions/upload-artifact@v3
with:
name: logs_${{ matrix.client }}_main
name: logs_${{ matrix.variant.client}}_parametric_${{ matrix.variant.version }}_main
path: artifact.tar.gz
- name: Upload results CI Visibility
if: ${{ always() }}
run: ./utils/scripts/upload_results_CI_visibility.sh dev system-tests ${{ github.run_id }}-${{ github.run_attempt }}
run: ./utils/scripts/upload_results_CI_visibility.sh ${{ matrix.variant.version }} system-tests ${{ github.run_id }}-${{ github.run_attempt }}
env:
DD_API_KEY: ${{ secrets.DD_CI_API_KEY }}
- name: Print fancy log report
Expand Down