diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01e13b54de..1cd866019c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,9 +123,30 @@ requirements_json_test: REQUIREMENTS_ALLOW_JSON_PATH: "lib-injection/test_allow.json" onboarding_tests_installer: + extends: .base_job_onboarding + stage: shared-pipeline + needs: [ oci-internal-test-ecr-publish ] + variables: + DD_INSTALLER_LIBRARY_VERSION: pipeline-${CI_PIPELINE_ID} + SCENARIO: SIMPLE_INSTALLER_AUTO_INJECTION + USE_DEFAULT_VMS: "True" + rules: + - if: $SKIP_SHARED_PIPELINE == "true" + when: never + - if: '$CI_COMMIT_TAG =~ /^v?[0-9]+\.[0-9]+\.[0-9]+$/' + variables: + USE_DEFAULT_VMS: "All" # For releases, run all vms + - when: on_success parallel: matrix: - ONBOARDING_FILTER_WEBLOG: [test-app-ruby, test-app-ruby-container] + script: + - export TEST_LIBRARY="ruby" + - git clone https://git@github.com/DataDog/system-tests.git system-tests + - cd system-tests + - git checkout robertomonteromiguel/onboarding_rb_amazonlinux2022 + - ./build.sh -i runner # TODO replace with prebuilt image eventually + - timeout 2700s ./run.sh $SCENARIO --vm-weblog ${ONBOARDING_FILTER_WEBLOG} --vm-env prod --vm-library ${TEST_LIBRARY} --vm-provider aws --vm-default-vms ${USE_DEFAULT_VMS} onboarding_tests_k8s_injection: parallel: