Skip to content

Commit

Permalink
test ubuntu 22
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchezgavier committed May 13, 2024
1 parent 4dbb891 commit 8dbf7c0
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 5 deletions.
45 changes: 41 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"

2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8dbf7c0

Please sign in to comment.