diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index bab1ccf..2d59fa9 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -3,14 +3,33 @@ on: push: jobs: + # molecule-packaging-tests: + # name: Launch molecule tests with infra-agent package + # strategy: + # matrix: + # os: [ubuntu-22.04, ubuntu-20.04] + # runs-on: ${{ matrix.os }} + # env: + # TESTING: 'true' + # steps: + # - uses: actions/checkout@v2 + + # - name: Molecule tests + # uses: ./ + # with: + # repo_base_url: 'https://download.newrelic.com/infrastructure_agent' + # package_name: 'newrelic-infra' + # package_version: '1.52.1' + # gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg' + # platforms: "al2,al2023,centos7,centos8,debian-bullseye,debian-buster,redhat8,redhat9,suse15.2,suse15.3,suse15.4,suse15.5,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204,ubuntu2404" molecule-packaging-tests: name: Launch molecule tests with infra-agent package strategy: matrix: - os: [ubuntu-22.04, ubuntu-20.04] + os: [ubuntu-22.04] runs-on: ${{ matrix.os }} - env: - TESTING: 'true' + # env: + # TESTING: 'true' steps: - uses: actions/checkout@v2 @@ -21,4 +40,22 @@ jobs: package_name: 'newrelic-infra' package_version: '1.52.1' gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg' - platforms: "al2,al2023,centos7,centos8,debian-bullseye,debian-buster,redhat8,redhat9,suse15.2,suse15.3,suse15.4,suse15.5,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204,ubuntu2404" + platforms: "al2,al2023,centos7,centos8,debian-bullseye,debian-buster,redhat8,redhat9,suse15.2,suse15.3,suse15.4,suse15.5,ubuntu1804,ubuntu2004,ubuntu2204" + + # molecule-packaging-tests: + # name: Launch molecule tests with infra-agent package + # runs-on: ubuntu-latest + # env: + # TESTING: 'true' + # steps: + # - uses: actions/checkout@v2 + + # - name: Molecule tests + # uses: ./ + # with: + # repo_base_url: 'http://nr-downloads-ohai-testing.s3-website-us-east-1.amazonaws.com/gs-test' + # package_name: 'nr-otel-collector' + # package_version: '0.7.0' + # gpg_key: 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg' + # platforms: "ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204,ubuntu2404" + \ No newline at end of file diff --git a/action.yml b/action.yml index 95cbff7..22c4726 100644 --- a/action.yml +++ b/action.yml @@ -23,7 +23,7 @@ runs: - name: Configure Molecule and Ansible shell: bash run: | - python3 -m pip install molecule ansible-core + python3 -m pip install molecule ansible ansible-core python3 -m pip install "molecule-plugins[docker]" - name: Prepare OS versions shell: bash