Skip to content

Commit

Permalink
PSMDB add AL2023 amis
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-havryliak committed Dec 3, 2024
1 parent fae14df commit 5531282
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 0 deletions.
1 change: 1 addition & 0 deletions playbooks/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
name: "{{ packages }}"
vars:
packages:
- tar
- iproute
- openssl
when: ansible_distribution == "Amazon"
51 changes: 51 additions & 0 deletions psmdb/psmdb/molecule/al2023-arm/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
dependency:
name: galaxy
driver:
name: ec2
platforms:
- name: al2023-arm-${BUILD_NUMBER}-${JOB_NAME}
region: us-west-2
image: ami-01167b661200e49e7
vpc_subnet_id: subnet-03136d8c244f56036
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
destroy: ../../../../playbooks/destroy.yml
prepare: ../../../../playbooks/prepare.yml
cleanup: ../../playbooks/cleanup.yml
converge: ../../playbooks/playbook.yml
verifier:
name: testinfra
directory: ../../../tests/
additional_files_or_dirs:
- ../psmdb/tests/
options:
verbose: true
s: true
junitxml: al2023-arm-report.xml
scenario:
name: al2023-arm
converge_sequence:
- prepare
- converge
destroy_sequence:
- destroy
clenup_sequence:
- cleanup
test_sequence:
- destroy
- create
- prepare
- converge
- verify
- cleanup
- destroy
51 changes: 51 additions & 0 deletions psmdb/psmdb/molecule/al2023/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
dependency:
name: galaxy
driver:
name: ec2
platforms:
- name: al2023-${BUILD_NUMBER}-${JOB_NAME}
region: us-west-2
image: ami-055e3d4f0bbeb5878
vpc_subnet_id: subnet-03136d8c244f56036
instance_type: t3.small
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
destroy: ../../../../playbooks/destroy.yml
prepare: ../../../../playbooks/prepare.yml
cleanup: ../../playbooks/cleanup.yml
converge: ../../playbooks/playbook.yml
verifier:
name: testinfra
directory: ../../../tests/
additional_files_or_dirs:
- ../psmdb/tests/
options:
verbose: true
s: true
junitxml: al2023-report.xml
scenario:
name: al2023
converge_sequence:
- prepare
- converge
destroy_sequence:
- destroy
clenup_sequence:
- cleanup
test_sequence:
- destroy
- create
- prepare
- converge
- verify
- cleanup
- destroy

0 comments on commit 5531282

Please sign in to comment.