Skip to content

PML-134: PML Package Testing environment #348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 275 commits into from
May 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
275 commits
Select commit Hold shift + click to select a range
9e19ccc
Fixing variable names
keithquinnpercona May 7, 2025
5501964
Setting source and destination IPs as facts
keithquinnpercona May 7, 2025
27f44a6
Adding replicaset in docker container creation
keithquinnpercona May 7, 2025
5b9c80a
Fixing rs tasks
keithquinnpercona May 7, 2025
f0aaa98
Fixing port in service file
keithquinnpercona May 7, 2025
d008500
Debugging
keithquinnpercona May 7, 2025
836062b
Fixing bind IP for replicasets
keithquinnpercona May 7, 2025
c36f82d
Fixing bind IP for replicasets
keithquinnpercona May 7, 2025
42de78a
Readding PML service task
keithquinnpercona May 7, 2025
16a56ba
Fixing order or tasks
keithquinnpercona May 7, 2025
b9acbf4
Fixing order or tasks
keithquinnpercona May 7, 2025
1d7f300
Fixing variable name
keithquinnpercona May 7, 2025
474025d
Fixing port number
keithquinnpercona May 7, 2025
5919f5c
Adding tests
keithquinnpercona May 8, 2025
2c74c14
Fixing tests
keithquinnpercona May 8, 2025
10f44db
Fixing tests
keithquinnpercona May 8, 2025
23ede04
Fixing tests
keithquinnpercona May 8, 2025
e82733a
Fixing tests
keithquinnpercona May 8, 2025
113f53f
Fixing tests
keithquinnpercona May 8, 2025
b20ee74
Fixing tests
keithquinnpercona May 8, 2025
4d498d1
Fixing tests
keithquinnpercona May 8, 2025
d8e919b
Fixing tests
keithquinnpercona May 8, 2025
4b8a82c
Fixing tests
keithquinnpercona May 8, 2025
6deca89
Fixing tests
keithquinnpercona May 8, 2025
679f2c3
Fixing tests
keithquinnpercona May 8, 2025
e05692a
Fixing tests
keithquinnpercona May 8, 2025
dd52fb5
Fixing tests
keithquinnpercona May 8, 2025
51e50a0
Fixing tests
keithquinnpercona May 8, 2025
276269d
Fixing tests
keithquinnpercona May 8, 2025
573ce7d
Fixing tests
keithquinnpercona May 8, 2025
9d0984a
Fixing tests
keithquinnpercona May 8, 2025
9145468
Fixing tests
keithquinnpercona May 8, 2025
527ccdb
Fixing tests
keithquinnpercona May 8, 2025
03e00e4
Fixing tests
keithquinnpercona May 8, 2025
c7cd78b
Fixing tests
keithquinnpercona May 12, 2025
dc78733
Fixing tests
keithquinnpercona May 12, 2025
534d0de
Fixing tests
keithquinnpercona May 12, 2025
2bf115e
Fixing tests
keithquinnpercona May 12, 2025
b48d46f
Fixing tests
keithquinnpercona May 12, 2025
0770141
Fixing tests
keithquinnpercona May 12, 2025
1c39886
Fixing tests
keithquinnpercona May 12, 2025
ab374d5
Fixing tests
keithquinnpercona May 12, 2025
45462b2
Fixing tests
keithquinnpercona May 12, 2025
23382c1
Full test
keithquinnpercona May 12, 2025
440902a
Full test
keithquinnpercona May 12, 2025
081180a
Full test
keithquinnpercona May 12, 2025
71b44c6
Fixing test
keithquinnpercona May 12, 2025
b2b7941
Fixing test
keithquinnpercona May 12, 2025
0009659
Fixing test
keithquinnpercona May 12, 2025
5627691
Fixing test
keithquinnpercona May 12, 2025
919206a
Fixing test
keithquinnpercona May 12, 2025
ebf4617
Fixing test
keithquinnpercona May 12, 2025
2a2cc68
Fixing test
keithquinnpercona May 12, 2025
c84dc5e
Fixing test
keithquinnpercona May 12, 2025
6570e36
Fixing test
keithquinnpercona May 12, 2025
85b1e72
Fixing test
keithquinnpercona May 12, 2025
f05ddee
Fixing test
keithquinnpercona May 12, 2025
ddb2570
Fixing test
keithquinnpercona May 12, 2025
5924783
Fixing test
keithquinnpercona May 12, 2025
f24bede
Fixing test
keithquinnpercona May 12, 2025
2ae34b9
Fixing test
keithquinnpercona May 12, 2025
66fedb0
Fixing test
keithquinnpercona May 12, 2025
a186681
Fixing test
keithquinnpercona May 12, 2025
28294a3
Fixing test
keithquinnpercona May 12, 2025
914f0ac
Fixing test
keithquinnpercona May 12, 2025
fb3b283
Fixing test
keithquinnpercona May 12, 2025
1a825b2
Fixing test
keithquinnpercona May 12, 2025
16ef53a
Fixing test
keithquinnpercona May 12, 2025
ebb53f7
Fixing test
keithquinnpercona May 12, 2025
5f7845b
Fixing test
keithquinnpercona May 12, 2025
d9347ef
Fixing test
keithquinnpercona May 12, 2025
bdaaf20
Fixing test
keithquinnpercona May 12, 2025
943ab10
Fixing test
keithquinnpercona May 12, 2025
0cfd535
Fixing test
keithquinnpercona May 12, 2025
a7463f7
Fixing test
keithquinnpercona May 12, 2025
e7d7c24
Fixing test
keithquinnpercona May 12, 2025
016477b
Fixing test
keithquinnpercona May 12, 2025
263c540
Fixing test
keithquinnpercona May 12, 2025
c3011ae
Fixing test
keithquinnpercona May 12, 2025
e5191df
Fixing test
keithquinnpercona May 12, 2025
3cbe48d
Fixing test
keithquinnpercona May 12, 2025
36a2312
Fixing test
keithquinnpercona May 12, 2025
3a6d30e
Adding RHEL9 molecule
keithquinnpercona May 13, 2025
5ad1dfe
Adding RHEL9-arm molecule
keithquinnpercona May 13, 2025
c0d4e27
Updating arm instance type to support it
keithquinnpercona May 13, 2025
cede607
Updating playbook
keithquinnpercona May 13, 2025
0cdbe0f
Debugging
keithquinnpercona May 13, 2025
d3e5d86
Adding runc fix
keithquinnpercona May 13, 2025
b70a9e9
Uncommenting tasks
keithquinnpercona May 13, 2025
c78ca51
Adjusting go installation for both x86 and arm
keithquinnpercona May 13, 2025
24240ac
Adjusting initiate task to skip if already initialised
keithquinnpercona May 13, 2025
134739f
Adjusting initiate task to skip if already initialised
keithquinnpercona May 13, 2025
75a1ada
Merge branch 'main' of github.com:Percona-QA/psmdb-testing into PML-134
keithquinnpercona May 13, 2025
adbb20f
Reverting changes
keithquinnpercona May 13, 2025
080a32c
Adding amazon linux 2023
keithquinnpercona May 13, 2025
7692385
Fixing playbook location
keithquinnpercona May 13, 2025
e496202
Adding amazon linux docker download
keithquinnpercona May 13, 2025
ec6229e
Adding task to install python requests on amazon linux
keithquinnpercona May 13, 2025
745a6c4
Adding task to install python requests on amazon linux
keithquinnpercona May 13, 2025
7068cd7
Installing python packages for amazon linux
keithquinnpercona May 13, 2025
431940f
Installing python packages for amazon linux
keithquinnpercona May 13, 2025
0a5cdf0
Installing python packages for amazon linux
keithquinnpercona May 13, 2025
6884a33
Installing python packages for amazon linux
keithquinnpercona May 13, 2025
48cc176
Adding amazon arm molecule
keithquinnpercona May 13, 2025
61857c8
Adding debian 11 molecule
keithquinnpercona May 14, 2025
297d213
Fixing syntax
keithquinnpercona May 14, 2025
d8e42e3
Changing prepare file
keithquinnpercona May 14, 2025
ba129c1
Adding task to add SSH user to sudo group for debian OS
keithquinnpercona May 14, 2025
69d7617
Changing python installations to accomodate different operating systems
keithquinnpercona May 14, 2025
85d0110
Changing python installations to accomodate different operating systems
keithquinnpercona May 14, 2025
1be4d62
Specifying Redhat for podman removal
keithquinnpercona May 14, 2025
7d90f7c
Adding task for docker installation for debian based systems
keithquinnpercona May 14, 2025
38a0d66
Specify rdhat and amazon for Docker Repo task
keithquinnpercona May 14, 2025
d26abdd
Specify rdhat and amazon for Docker Repo task
keithquinnpercona May 14, 2025
2cc2cf7
Fixing Docker installation for debian 11
keithquinnpercona May 14, 2025
7d9ff3f
Updating debian docker tasks
keithquinnpercona May 14, 2025
4e82c60
Updating debian docker tasks
keithquinnpercona May 14, 2025
5618f28
Updating debian docker tasks
keithquinnpercona May 14, 2025
f91d920
Updated wrong python version
keithquinnpercona May 14, 2025
ca33c60
Cleanup
keithquinnpercona May 14, 2025
4f60465
Adding Debian 12 Molecule
keithquinnpercona May 14, 2025
546861e
Removing uneeded variable
keithquinnpercona May 14, 2025
ecca6ca
Adding task to install python 3.11 for debian 12
keithquinnpercona May 14, 2025
683085d
Adding task to upgrade pip for debian 12
keithquinnpercona May 14, 2025
aed75c0
Updating task
keithquinnpercona May 14, 2025
4e3d397
Adding Ubuntu Focal molecule
keithquinnpercona May 14, 2025
f07f6c3
Adding Ubuntu Focal molecule
keithquinnpercona May 14, 2025
3137333
Adding task to install python packages on amazon linux
keithquinnpercona May 14, 2025
7b0ad74
Adding task to install python packages on amazon linux
keithquinnpercona May 14, 2025
9bba067
Cleanup
keithquinnpercona May 14, 2025
0520dc6
Adding retries for initiating replicasets
keithquinnpercona May 14, 2025
e539975
Seperating playbooks
keithquinnpercona May 15, 2025
d2cb9ea
Removing python installation
keithquinnpercona May 15, 2025
3868d18
Adding redhat playbook
keithquinnpercona May 15, 2025
1a667ad
Adding redhat playbook
keithquinnpercona May 15, 2025
54c42b1
Adding ubuntu playbook change
keithquinnpercona May 15, 2025
2fe3afb
Updating dockr repo for ubuntu
keithquinnpercona May 15, 2025
389ef80
Changing playbook for ubuntu
keithquinnpercona May 15, 2025
c337f8c
Changing playbook for ubuntu
keithquinnpercona May 15, 2025
f76d6cb
Changing playbook for ubuntu
keithquinnpercona May 15, 2025
1c6c49e
Adding ubuntu-focal-arm molecule
keithquinnpercona May 15, 2025
0ec7f68
Changing to handle multiple architecture for docker repo
keithquinnpercona May 15, 2025
f1080f9
Changing to handle multiple architecture for docker repo
keithquinnpercona May 15, 2025
b114dab
Changing to handle multiple architecture for docker repo
keithquinnpercona May 15, 2025
df2b4ba
Fixing pymongo installation
keithquinnpercona May 15, 2025
2041c10
Type
keithquinnpercona May 15, 2025
849767e
Adding jammy-arm molecule
keithquinnpercona May 15, 2025
619e717
Adding ubuntu-noble molecule
keithquinnpercona May 15, 2025
97e8a12
Adding ubuntu-noble-arm molecule
keithquinnpercona May 15, 2025
b4922f2
Changing ssh user and adding choice of PSMDB versions
keithquinnpercona May 16, 2025
6a15c2b
Changing ssh user and adding choice of PSMDB versions
keithquinnpercona May 16, 2025
9c4ac77
Changing ssh user and adding choice of PSMDB versions
keithquinnpercona May 16, 2025
fa912a0
Adding correct keypair name
keithquinnpercona May 16, 2025
6ef1fc3
Increasing timeout for cloning PML
keithquinnpercona May 16, 2025
30c4375
Increasing timeout for cloning PML
keithquinnpercona May 16, 2025
21532c6
Increasing timeout for cloning PML
keithquinnpercona May 16, 2025
c6ff328
Removing Timeout
keithquinnpercona May 16, 2025
f479d57
Changing Instance names to show PML
keithquinnpercona May 19, 2025
32a25d3
Fixing playbook path for debian-11
keithquinnpercona May 19, 2025
c9d38f6
Commenting out clone of PML for debugging
keithquinnpercona May 19, 2025
013aee5
Undoing changes for Clone PML clone
keithquinnpercona May 19, 2025
6f00532
Adding debug test
keithquinnpercona May 19, 2025
3b336c3
Changing instance names back
keithquinnpercona May 19, 2025
3de90cc
Cleanup
keithquinnpercona May 19, 2025
f7f5363
Cleanup
keithquinnpercona May 19, 2025
9e607a0
Cleanup
keithquinnpercona May 19, 2025
619b0e3
Cleanup
keithquinnpercona May 19, 2025
7fd2043
Merge branch 'main' of github.com:Percona-QA/psmdb-testing into PML-134
keithquinnpercona May 19, 2025
66f348b
Cleanup
keithquinnpercona May 19, 2025
0f4dfe2
Adding tasks to install from package
keithquinnpercona May 19, 2025
0bc9db8
Adding test key for testing changes
keithquinnpercona May 19, 2025
b1bba7b
Adding test key for testing changes
keithquinnpercona May 19, 2025
b38524d
Fixing percone release command
keithquinnpercona May 19, 2025
336bf6a
Fixing percone release command
keithquinnpercona May 19, 2025
73384c2
Testing
keithquinnpercona May 19, 2025
b80bf57
Testing
keithquinnpercona May 19, 2025
18560b8
Testing
keithquinnpercona May 19, 2025
09c6969
Testing
keithquinnpercona May 19, 2025
64c1b8b
Testing
keithquinnpercona May 19, 2025
b223806
Testing
keithquinnpercona May 19, 2025
3e75354
Cleanup
keithquinnpercona May 20, 2025
feaac72
Adding PML Start up to Redhat
keithquinnpercona May 20, 2025
3a3f594
Adding PML Start up to Ubuntu
keithquinnpercona May 20, 2025
32941fa
Reverting key pair change
keithquinnpercona May 20, 2025
0f6af9f
Removing unnecessary prepare tasks
keithquinnpercona May 20, 2025
ca38c83
Syntax error
keithquinnpercona May 20, 2025
977085d
Cleanup
keithquinnpercona May 20, 2025
1665c49
Merge branch 'main' of github.com:Percona-QA/psmdb-testing into PML-134
keithquinnpercona May 20, 2025
28fb62f
Changing URL location of mongolink repo
keithquinnpercona May 20, 2025
85b6bee
Testing system start of PML
keithquinnpercona May 21, 2025
c326029
Changing key pair for testing
keithquinnpercona May 21, 2025
6bde486
Adding tasks for replacing environment variables with source and dest…
keithquinnpercona May 21, 2025
c08db59
Fixing destination port number
keithquinnpercona May 21, 2025
a20ffdc
Changing test commands for PML functions
keithquinnpercona May 21, 2025
de0cd25
Adding Redhat changes for starting PML
keithquinnpercona May 21, 2025
8c43267
Adding Ubuntu changes for PML start
keithquinnpercona May 21, 2025
63dcb5b
Grant sudo access for ubuntu user
keithquinnpercona May 21, 2025
7ce29d6
Adding tests
keithquinnpercona May 21, 2025
a9d733f
troubleshooting tests
keithquinnpercona May 21, 2025
0bbe533
troubleshooting tests
keithquinnpercona May 21, 2025
d2be5ea
Fixing tests
keithquinnpercona May 21, 2025
9c8c620
Fixing tests
keithquinnpercona May 21, 2025
9b1592a
Fixing tests
keithquinnpercona May 21, 2025
34d339f
Fixing tests
keithquinnpercona May 21, 2025
19eff79
Fixing tests
keithquinnpercona May 21, 2025
de468b4
Fixing tests
keithquinnpercona May 21, 2025
9856d8c
Fixing tests
keithquinnpercona May 21, 2025
d981f62
Fixing tests
keithquinnpercona May 21, 2025
bcc5e2c
Fixing tests
keithquinnpercona May 21, 2025
7f4278c
Fixing tests
keithquinnpercona May 21, 2025
80757f2
Fixing tests
keithquinnpercona May 21, 2025
c83e20d
Fixing tests
keithquinnpercona May 21, 2025
57a2e02
Fixing tests
keithquinnpercona May 21, 2025
44741ad
Fixing tests
keithquinnpercona May 21, 2025
e6dc581
Cleanup
keithquinnpercona May 21, 2025
1a1743c
Cleanup
keithquinnpercona May 21, 2025
df2f98d
Cleanup
keithquinnpercona May 21, 2025
c7f239c
Cleanup
keithquinnpercona May 21, 2025
7f1d0ab
Fixing PML branch
keithquinnpercona May 21, 2025
1e9bf25
Debugging
keithquinnpercona May 21, 2025
4fc37a6
Debugging
keithquinnpercona May 21, 2025
45b7830
Debugging
keithquinnpercona May 21, 2025
f8b58b7
Debugging
keithquinnpercona May 21, 2025
ed45c84
Debugging
keithquinnpercona May 21, 2025
c9ac079
Debugging
keithquinnpercona May 21, 2025
4569ce6
Debugging
keithquinnpercona May 21, 2025
0c28e24
Debugging
keithquinnpercona May 21, 2025
77c8c87
Debugging
keithquinnpercona May 21, 2025
f19a29b
Debugging
keithquinnpercona May 21, 2025
890d187
Debugging
keithquinnpercona May 21, 2025
cd72146
Debugging
keithquinnpercona May 21, 2025
06a485b
Debugging
keithquinnpercona May 21, 2025
c434b1d
Debugging
keithquinnpercona May 21, 2025
9f40679
Debugging
keithquinnpercona May 21, 2025
1f21816
Debugging
keithquinnpercona May 21, 2025
c977e3f
Fixing tests
keithquinnpercona May 22, 2025
8cdf836
Fixing tests
keithquinnpercona May 22, 2025
8f5fc9c
Fixing tests
keithquinnpercona May 22, 2025
132d4b4
Fixing tests
keithquinnpercona May 22, 2025
161cd63
Debugging
keithquinnpercona May 22, 2025
4ad25db
Fixing tests
keithquinnpercona May 22, 2025
586e06c
Cleanup
keithquinnpercona May 22, 2025
6595179
Adding latest package installation fix
keithquinnpercona May 22, 2025
b8a3978
Adding latest package installation fix
keithquinnpercona May 22, 2025
7e9871c
Adding latest package installation fix
keithquinnpercona May 22, 2025
5368a58
Increasing timeout for pml start
keithquinnpercona May 22, 2025
8c51ded
Cleanup
keithquinnpercona May 22, 2025
33b4d30
Removing uneeded packages
keithquinnpercona May 22, 2025
55d60c1
Merge branch 'main' of github.com:Percona-QA/psmdb-testing into PML-134
keithquinnpercona May 22, 2025
f281b7c
Fixing test
keithquinnpercona May 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added mlink/__init__.py
Empty file.
2 changes: 0 additions & 2 deletions pml-functional/manual/molecule/aws/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ verifier:
directory: ../../tests/
options:
verbose: true
# capture: sys
# o: junit_logging=system-out
s: true
junitxml: report.xml
scenario:
Expand Down
2 changes: 0 additions & 2 deletions pml-functional/manual/molecule/docker/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ verifier:
directory: ../../tests/
options:
verbose: true
# capture: sys
# o: junit_logging=system-out
s: true
junitxml: report.xml
scenario:
Expand Down
4 changes: 2 additions & 2 deletions pml-functional/playbooks/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
- name: Clone PML repo
timeout: 180
git:
repo: 'https://{{ token }}@github.com/Percona-Lab/percona-mongolink.git'
repo: 'https://{{ token }}@github.com/percona/percona-mongolink.git'
dest: /tmp/percona-mongolink
version: "{{ pml_branch }}"
when: inventory_hostname == "jenkins-pml-mongolink"
Expand All @@ -159,7 +159,7 @@
copy:
src: /tmp/percona-mongolink/bin/percona-mongolink
dest: /usr/local/bin/
mode: '0755'
mode: '0775'
remote_src: true
when: inventory_hostname == "jenkins-pml-mongolink"

Expand Down
11 changes: 11 additions & 0 deletions pml/install/.yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends: default

rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
line-length: disable
truthy: disable
Empty file added pml/install/__init__.py
Empty file.
58 changes: 58 additions & 0 deletions pml/install/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
galaxy_info:
author: your name
description: your description
company: your company (optional)

# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
# issue_tracker_url: http://example.com/issue/tracker

# Some suggested licenses:
# - BSD (default)
# - MIT
# - GPLv2
# - GPLv3
# - Apache
# - CC-BY
license: license (GPLv2, CC-BY, etc)

min_ansible_version: 1.2

# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:

# Optionally specify the branch Galaxy will use when accessing the GitHub
# repo for this role. During role install, if no tags are available,
# Galaxy will use this branch. During import Galaxy will access files on
# this branch. If Travis integration is configured, only notifications for this
# branch will be accepted. Otherwise, in all cases, the repo's default branch
# (usually master) will be used.
# github_branch:

#
# platforms is a list of platforms, and each platform has a name and a list of versions.
#
# platforms:
# - name: Fedora
# versions:
# - all
# - 25
# - name: SomePlatform
# versions:
# - all
# - 1.0
# - 7
# - 99.99

galaxy_tags: []
# List tags for your role here, one per line. A tag is a keyword that describes
# and categorizes the role. Users find roles by searching for tags. Be sure to
# remove the '[]' above, if you add tags to this list.
#
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.

dependencies: []
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.
Empty file.
42 changes: 42 additions & 0 deletions pml/install/molecule/al2023-arm/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
dependency:
name: galaxy
driver:
name: ec2
platforms:
- name: al2023-arm-${BUILD_NUMBER}-${JOB_NAME}
region: us-west-2
image: "${MOLECULE_AL2023_ARM_AMI:-ami-067d435ee698a3ff3}"
vpc_subnet_id: subnet-0dc7518100473f19d
instance_type: c6g.large
ssh_user: ec2-user
root_device_name: /dev/xvda
instance_tags:
iit-billing-tag: jenkins-psmdb-worker
job-name: ${JOB_NAME}
provisioner:
name: ansible
log: True
playbooks:
create: ../../../../playbooks/create.yml
destroy: ../../../../playbooks/destroy.yml
prepare: ../../playbooks/prepare.yml
converge: ../../playbooks/redhat.yml
verifier:
name: testinfra
directory: ../../../tests/
options:
verbose: true
s: true
junitxml: report.xml
scenario:
name: al2023-arm
destroy_sequence:
- destroy
test_sequence:
- destroy
- create
- prepare
- converge
- verify
- destroy
45 changes: 45 additions & 0 deletions pml/install/molecule/al2023/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
dependency:
name: galaxy
driver:
name: ec2
platforms:
- name: al2023-${BUILD_NUMBER}-${JOB_NAME}
region: us-west-2
image: "${MOLECULE_AL2023_AMI:-ami-0a897ba00eaed7398}"
vpc_subnet_id: subnet-0dc7518100473f19d
instance_type: t2.micro
ssh_user: ec2-user
root_device_name: /dev/xvda
instance_tags:
iit-billing-tag: jenkins-psmdb-worker
job-name: ${JOB_NAME}
provisioner:
name: ansible
log: True
playbooks:
create: ../../../../playbooks/create.yml
destroy: ../../../../playbooks/destroy.yml
prepare: ../../playbooks/prepare.yml
converge: ../../playbooks/redhat.yml
verifier:
name: testinfra
directory: ../../../tests/
options:
verbose: true
s: true
junitxml: report.xml
scenario:
name: al2023
converge_sequence:
- prepare
- converge
destroy_sequence:
- destroy
test_sequence:
- destroy
- create
- prepare
- converge
- verify
- destroy
42 changes: 42 additions & 0 deletions pml/install/molecule/debian-11/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
dependency:
name: galaxy
driver:
name: ec2
platforms:
- name: debian11-${BUILD_NUMBER}-${JOB_NAME}
region: us-west-2
image: "${MOLECULE_DEBIAN11_AMI:-ami-05f9dcaa9ddb9a15e}"
vpc_subnet_id: subnet-0dc7518100473f19d
instance_type: t2.micro
ssh_user: admin
root_device_name: /dev/xvda
instance_tags:
iit-billing-tag: jenkins-psmdb-worker
job-name: ${JOB_NAME}
provisioner:
name: ansible
log: True
playbooks:
create: ../../../../playbooks/create.yml
destroy: ../../../../playbooks/destroy.yml
converge: ../../playbooks/debian.yml
prepare: ../../playbooks/prepare.yml
verifier:
name: testinfra
directory: ../../../tests/
options:
verbose: true
s: true
junitxml: report.xml
scenario:
name: debian-11
destroy_sequence:
- destroy
test_sequence:
- destroy
- create
- prepare
- converge
- verify
- destroy
42 changes: 42 additions & 0 deletions pml/install/molecule/debian-12/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
dependency:
name: galaxy
driver:
name: ec2
platforms:
- name: debian12-${BUILD_NUMBER}-${JOB_NAME}
region: us-west-2
image: "${MOLECULE_DEBIAN12_AMI:-ami-0b6edd8449255b799}"
vpc_subnet_id: subnet-0dc7518100473f19d
instance_type: t2.micro
ssh_user: admin
root_device_name: /dev/xvda
instance_tags:
iit-billing-tag: jenkins-psmdb-worker
job-name: ${JOB_NAME}
provisioner:
name: ansible
log: True
playbooks:
create: ../../../../playbooks/create.yml
destroy: ../../../../playbooks/destroy.yml
converge: ../../playbooks/debian.yml
prepare: ../../playbooks/prepare.yml
verifier:
name: testinfra
directory: ../../../tests/
options:
verbose: true
s: true
junitxml: report.xml
scenario:
name: debian-12
destroy_sequence:
- destroy
test_sequence:
- destroy
- create
- prepare
- converge
- verify
- destroy
42 changes: 42 additions & 0 deletions pml/install/molecule/rhel8-arm/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
dependency:
name: galaxy
driver:
name: ec2
platforms:
- name: rhel8-arm-${BUILD_NUMBER}-${JOB_NAME}
region: us-west-2
image: "${MOLECULE_RHEL8_ARM_AMI:-ami-0bb199dd39edd7d71}"
vpc_subnet_id: subnet-0dc7518100473f19d
instance_type: c6g.large
ssh_user: ec2-user
root_device_name: /dev/sda1
instance_tags:
iit-billing-tag: jenkins-psmdb-worker
job-name: ${JOB_NAME}
provisioner:
name: ansible
log: True
playbooks:
create: ../../../../playbooks/create.yml
prepare: ../../playbooks/prepare.yml
destroy: ../../../../playbooks/destroy.yml
converge: ../../playbooks/redhat.yml
verifier:
name: testinfra
directory: ../../../tests/
options:
verbose: true
s: true
junitxml: report.xml
scenario:
name: rhel8-arm
destroy_sequence:
- destroy
test_sequence:
- destroy
- create
- converge
- verify
- cleanup
- destroy
42 changes: 42 additions & 0 deletions pml/install/molecule/rhel8/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
dependency:
name: galaxy
driver:
name: ec2
platforms:
- name: rhel8-${BUILD_NUMBER}-${JOB_NAME}
region: us-west-2
image: "${MOLECULE_RHEL8_AMI:-ami-087c2c50437d0b80d}"
vpc_subnet_id: subnet-0dc7518100473f19d
instance_type: ${INSTANCE_TYPE:-i3.large}
ssh_user: ec2-user
root_device_name: /dev/sda1
instance_tags:
iit-billing-tag: jenkins-psmdb-worker
job-name: ${JOB_NAME}
provisioner:
name: ansible
log: True
playbooks:
create: ../../../../playbooks/create.yml
prepare: ../../playbooks/prepare.yml
destroy: ../../../../playbooks/destroy.yml
converge: ../../playbooks/redhat.yml
verifier:
name: testinfra
directory: ../../../tests/
options:
verbose: true
s: true
junitxml: report.xml
scenario:
name: rhel8
destroy_sequence:
- destroy
test_sequence:
- destroy
- create
- prepare
- converge
- verify
- destroy
Loading