Skip to content

Commit

Permalink
chore: republish image on merge to master (#15)
Browse files Browse the repository at this point in the history
* chore: republish image on merge to master

* freeze versions
  • Loading branch information
gsanchezgavier authored May 21, 2024
1 parent de76068 commit 6b0953c
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci_build_docker_runner.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 🚀 🐳 Build and publish container images

on:
push:
branches:
- main
paths:
- molecule/default/dockerfiles/*
workflow_dispatch:
inputs:
branch:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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==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 }}
Expand Down
37 changes: 37 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6b0953c

Please sign in to comment.