forked from SatelliteQE/robottelo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'SatelliteQE:master' into master
- Loading branch information
Showing
518 changed files
with
9,312 additions
and
9,561 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,7 @@ jobs: | |
- id: automerge | ||
name: Auto merge of cherry-picked PRs. | ||
uses: "pascalgn/[email protected].2" | ||
uses: "pascalgn/[email protected].3" | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.CHERRYPICK_PAT }}" | ||
MERGE_LABELS: "AutoMerge_Cherry_Picked, Auto_Cherry_Picked" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ jobs: | |
|
||
- id: automerge | ||
name: Auto merge of dependabot PRs. | ||
uses: "pascalgn/[email protected].2" | ||
uses: "pascalgn/[email protected].3" | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.CHERRYPICK_PAT }}" | ||
MERGE_LABELS: "dependencies" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ on: | |
env: | ||
PYCURL_SSL_LIBRARY: openssl | ||
ROBOTTELO_BUGZILLA__API_KEY: ${{ secrets.BUGZILLA_KEY }} | ||
ROBOTTELO_JIRA__API_KEY: ${{ secrets.JIRA_KEY }} | ||
ROBOTTELO_ROBOTTELO__SETTINGS__IGNORE_VALIDATION_ERRORS: true | ||
|
||
jobs: | ||
codechecks: | ||
|
@@ -41,9 +43,6 @@ jobs: | |
cp broker_settings.yaml.example broker_settings.yaml | ||
cp .env.example .env | ||
- name: Pre Commit Checks | ||
uses: pre-commit/[email protected] | ||
|
||
- name: Collect Tests | ||
run: | | ||
# To skip vault login in pull request checks | ||
|
@@ -64,6 +63,7 @@ jobs: | |
run: | | ||
# To skip vault login in pull request checks | ||
export VAULT_SECRET_ID_FOR_DYNACONF=somesecret | ||
export ROBOTTELO_SERVER__HOSTNAME="" | ||
pytest -sv tests/robottelo/ | ||
- name: Make Docs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
FAM: | ||
SERVER: | ||
# Parameter for all tests | ||
foreman_username: admin | ||
foreman_password: "changeme" | ||
foreman_server_url: "https://foreman.example.com" | ||
foreman_validate_certs: false | ||
|
||
foreman_proxy: "foreman.example.com" | ||
|
||
# Parameter for snapshot test | ||
snapshot_host_name: "test_host" | ||
|
||
# Parameter for job invocation test | ||
foreman_host: "foreman.example.com" | ||
|
||
# Parameter for subscription_manifest test | ||
subscription_manifest_path: "data/manifest_foreman-ansible-modules.zip" | ||
|
||
# Parameter for redhat_manifest test | ||
manifest_name: "katello.example.com" | ||
rhsm_username: "john-smith" | ||
rhsm_password: "changeme" | ||
rhsm_pool_id: 8a85f99a7db4827d017dc512fcad00b0 | ||
rhsm_validate_certs: false | ||
|
||
# Parameter for scc_product test | ||
scc_account_name_for_scc_product: testaccount | ||
scc_account_login_for_scc_product: testuser | ||
scc_account_password_for_scc_product: testpass | ||
|
||
# Parameter for external_usergroup testing | ||
auth_source_ldap_host: ldap.example.com | ||
auth_source_ldap_account: ansible | ||
auth_source_ldap_account_password: pass | ||
auth_source_ldap_base_dn: dc=example,dc=com | ||
auth_source_ldap_attr_login: uid | ||
auth_source_ldap_groups_base: cn=groups,cn=accounts,dc=example,dc=com | ||
external_usergroup_name: "admins" | ||
|
||
COMPUTE_PROFILE: | ||
libvirt: | ||
compute_resource: | ||
name: libvirt-cr01 | ||
organizations: | ||
- Test Organization | ||
locations: | ||
- Test Location | ||
params: | ||
url: qemu+ssh://libvirtuser@localhost/system | ||
compute_profile: | ||
name: app-small | ||
attrs: | ||
cpus: 1 | ||
memory: 2147483648 | ||
nics_attributes: | ||
0: | ||
type: bridge | ||
bridge: "" | ||
model: virtio | ||
volumes_attributes: | ||
0: | ||
pool_name: default | ||
capacity: 10G | ||
allocation: 0G | ||
format_type: raw | ||
ovirt: | ||
compute_resource: | ||
name: ovirt-cr01 | ||
organizations: | ||
- Test Organization | ||
locations: | ||
- Test Location | ||
params: | ||
url: "https://ovirt.example.com/ovirt-engine/api" | ||
user: compute-user@internal | ||
password: ovirtcompute123 | ||
use_v4: true | ||
datacenter: c1479626-99a2-44eb-8401-14b5630f417f | ||
ovirt_quota: 502a76bb-a3fe-42f1-aed6-2a7c892a6786 | ||
compute_profile: | ||
name: app-small | ||
attrs: | ||
cluster: Devel-Infra | ||
cores: 2 | ||
sockets: 1 | ||
memory: 1073741824 | ||
ha: 0 | ||
interfaces_attributes: | ||
0: | ||
name: "" | ||
network: ovirtmgmt | ||
interface: virtio | ||
volumes_attributes: | ||
0: | ||
size_gb: '16' | ||
storage_domain: 'Local-IBM' | ||
preallocate: '1' | ||
wipe_after_delete: '0' | ||
interface: 'virtio_scsi' | ||
bootable: 'true' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
JIRA: | ||
# url default value is set to 'https://issues.redhat.com' even if not provided. | ||
URL: https://issues.redhat.com | ||
# Provide api_key to access Jira REST API | ||
API_KEY: replace-with-jira-api-key | ||
COMMENT_TYPE: group | ||
COMMENT_VISIBILITY: "Red Hat Employee" | ||
ENABLE_COMMENT: false | ||
# Comment only if jira is in one of the following state | ||
ISSUE_STATUS: ["Review", "Release Pending"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
OSCAP: | ||
CONTENT_PATH: /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml | ||
RHEL_MAJOR_VERSION: "@jinja {{this.server.version.rhel_version | int }}" | ||
CONTENT_PATH: '@format /usr/share/xml/scap/ssg/content/ssg-rhel{this.oscap.rhel_major_version}-ds.xml' | ||
# see: robottelo/constants/__init__.py OSCAP_PROFILE | ||
PROFILE: security7 | ||
PROFILE: '@format security{this.oscap.rhel_major_version}' | ||
CONTENT_DIR: /usr/share/xml/scap/ssg/content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.