Skip to content

Commit

Permalink
add eap8 janus test
Browse files Browse the repository at this point in the history
  • Loading branch information
guidograzioli committed May 2, 2024
1 parent 8933459 commit 491ebb9
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 1 deletion.
85 changes: 85 additions & 0 deletions playbooks/eap8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
- ansible.builtin.import_playbook: community.fqcn_migration.fqcn_migration

Check warning on line 2 in playbooks/eap8.yml

View workflow job for this annotation

GitHub Actions / CI (3.11)

name[play]

All plays should be named.
vars:
upstream_name: wildfly
downstream_name: eap
downstream_namespace: 'redhat'
upstream_namespace: 'middleware_automation'
project_git_url: "{{ lookup('env', 'GIT_REPOSITORY_URL') | default('https://github.com/ansible-middleware/wildfly.git', true) }}"
project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') | default('main', true) }}"
case_insensitive_match: true

upstream_downstream_collections_map:
- { upstream_name: 'middleware_automation.common', downstream_name: 'redhat.runtimes_common' }
- { upstream_name: 'middleware_automation.wildfly', downstream_name: 'redhat.eap' }

post_processors_replacements:
- match: "eap[.]statistics-enabled"
replace: "wildfly.statistics-enabled"
- match: "eap-configuration:"
replace: "wildfly-configuration:"
file: 'molecule.*j2$'
- match: "repo1.maven.org/maven2/org/eap/prospero"
replace: "repo1.maven.org/maven2/org/wildfly/prospero"
- match: "files/wildfly-custom.xml"
replace: "files/eap-custom.xml"
file: 'molecule.*yml$'
- match: "https://github.com/rpelisse/eap-quickstarts/releases/download/kitchensink_eap31_1.0/kitchensink.war"
replace: "https://github.com/rpelisse/wildfly-quickstarts/releases/download/kitchensink_wildfly26_1.0/kitchensink.war"
file: 'molecule.*yml$'
- match: "https://github.com/rpelisse/simple-servlet/releases/download/info_wfly31_1.2/info-1.2.war"
replace: "https://github.com/rpelisse/simple-servlet/releases/download/info_eap7.4_1.0/info-1.0.war"
file: 'molecule.*yml$'
- match: "eap_version: 7.4.0"
replace: "eap_version: 8.0.0"
galaxy:
documentation: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform
homepage: https://access.redhat.com/products/red-hat-jboss-enterprise-application-platform
# anything inside <!--start {{ <downstream_placeholder>_delete }} --> and <!--end {{ <downstream_placeholder>_delete }} --> will be removed
excluded_roles_from_downstream:
- roles/wildfly_subs
downstream_placeholder_delete:
- build_status
# anything inside <!--start {{ <downstream_placeholder>_content }} --> and <!--end {{ <downstream_placeholder>_content }} --> will be replaced with content
downstream_placeholder_content:
- placeholder: roles_paths
content: |
### Roles
* [eap_install](content/role/eap_install/): download and install
* [eap_systemd](content/role/eap_systemd/): configure systemd unit
* [eap_driver](content/role/eap_driver/): install additional driver modules (ie. JDBC)
* [eap_utils](content/role/eap_utils/): utilities related to EAP
* [eap_validation](content/role/eap_validation/): validate deployed installation
* [eap_uninstall](content/role/eap_uninstall/): restore status pre wildfly_install
- placeholder: galaxy_download
content: |
### Installing the Collection from Automation Hub
Before using the collection, you need to setup Ansible Automation Hub as galaxy server; then install it via the CLI:
ansible-galaxy collection install redhat.eap
- placeholder: support
content: |
## Support
redhat.eap collection v{{ galaxy_version | default('0.0.0-dev') }} is for [Technical Preview](https://access.redhat.com/support/offerings/techpreview).
If you have any issues or questions related to collection, please don't hesitate to contact us on <[email protected]> or open an issue on
<https://github.com/ansible-middleware/wildfly/issues>
- placeholder: rhn_credentials
content: |
## Downloading products from the Customer Portal
The `redhat.eap.eap_install` role supports downloading and installing from the Red Hat Customer Portal using credentials associated to a service account. After
login in the customer portal and navigating to the hybrid cloud console, select the [services account tab](https://console.redhat.com/application-services/service-accounts)
to create one, if needed. Client ID and Client secret associated to the service account needs to be provided with the following variables are defined:
```
rhn_username{{':'}} '<client_id>'
rhn_password{{':'}} '<client_secret>'
```
The downloaded product archive will be stored in the controller working directory, and then distributed to target nodes.
When patching is requested, via the `eap_apply_cp` variable, the most recently published cumulative patch will be installed; to use a specific patch version instead,
set it with the `eap_patch_version` variable.
NOTE: downgrading patches is not supported.
2 changes: 1 addition & 1 deletion playbooks/rhbk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
replace: "keycloak.org"
- match: "spid-rhbk-provider"
replace: "spid-keycloak-provider"
files: "converge.yml$"
file: "converge.yml$"
galaxy:
documentation: https://access.redhat.com/documentation/en-us/red_hat_build_of_keycloak/
homepage: https://access.redhat.com/products/red-hat-build-of-keycloak/
Expand Down

0 comments on commit 491ebb9

Please sign in to comment.