diff --git a/.github/workflows/ci_build_docker_runner.yml b/.github/workflows/ci_build_docker_runner.yml index 4fa29d6..721a355 100644 --- a/.github/workflows/ci_build_docker_runner.yml +++ b/.github/workflows/ci_build_docker_runner.yml @@ -1,6 +1,11 @@ name: 🚀 🐳 Build and publish container images on: + push: + branches: + - main + paths: + - molecule/default/dockerfiles/* workflow_dispatch: inputs: branch: diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index adb1f41..2463323 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -15,12 +15,11 @@ jobs: TESTING: ${{ matrix.build_docker}} 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' + package_version: '1.52.3' 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" + platforms: "al2,al2023,centos7,centos8,debian-bullseye,debian-buster,redhat8,redhat9,suse15.2,suse15.3,suse15.4,suse15.5,ubuntu1604,ubuntu1804,ubuntu2004,ubuntu2204,ubuntu2404" diff --git a/action.yml b/action.yml index 674b9a5..f15afe5 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==24.2.1 ansible==9.5.1 ansible-core==2.16.6 "molecule-plugins[docker]==23.5.3" + python3 -m pip install -r ${GITHUB_ACTION_PATH}/requirements.txt - name: Prepare OS versions shell: bash run: ${GITHUB_ACTION_PATH}/prepare_platform.sh ${{ inputs.platforms }} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..af73494 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,37 @@ +ansible==9.5.1 +ansible-compat==24.5.1 +ansible-core==2.16.6 +attrs==23.2.0 +bracex==2.4 +certifi==2024.2.2 +cffi==1.16.0 +charset-normalizer==3.3.2 +click==8.1.7 +click-help-colors==0.9.4 +cryptography==42.0.7 +distro==1.9.0 +docker==7.0.0 +enrich==1.2.7 +idna==3.7 +Jinja2==3.1.4 +jsonschema==4.22.0 +jsonschema-specifications==2023.12.1 +markdown-it-py==3.0.0 +MarkupSafe==2.1.5 +mdurl==0.1.2 +molecule==24.2.1 +molecule-plugins==23.5.3 +packaging==24.0 +pluggy==1.5.0 +pycparser==2.22 +Pygments==2.18.0 +PyYAML==6.0.1 +referencing==0.35.1 +requests==2.31.0 +resolvelib==1.0.1 +rich==13.7.1 +rpds-py==0.18.1 +selinux==0.3.0 +subprocess-tee==0.4.1 +urllib3==2.2.1 +wcmatch==8.5.2