Skip to content

Commit

Permalink
Update AmazonErrataParser.java
Browse files Browse the repository at this point in the history
Ruby 3 PR test
  • Loading branch information
nodeg committed Aug 19, 2024
1 parent f84f6a4 commit a44b8b3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/acceptance_tests_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
required: true
type: string
env:
UYUNI_PROJECT: uyuni-project
UYUNI_PROJECT: nodeg
UYUNI_VERSION: master
CUCUMBER_PUBLISH_TOKEN: ${{ secrets.CUCUMBER_PUBLISH_TOKEN }}
jobs:
Expand Down Expand Up @@ -66,9 +66,9 @@ jobs:
- name: create-podman-network
run: ./testsuite/podman_runner/02_setup_network.sh
- name: start_controller
run: ./testsuite/podman_runner/03_run_controller.sh
run: ./testsuite/podman_runner/03_run_controller.sh
- name: create_ssh_conf
run: ./testsuite/podman_runner/04_setup_ssh_controller.sh
run: ./testsuite/podman_runner/04_setup_ssh_controller.sh
- name: install_gems_in_controller
run: ./testsuite/podman_runner/05_install_gems_in_controller.sh
- name: collect_and_tag_flaky_tests_in_controller
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
- name: split_secondary
run: ./testsuite/podman_runner/19_split_secondary_p_tests.sh
- name: run_secondary_tests
run: ./testsuite/podman_runner/${{ inputs.secondary_tests }}
run: ./testsuite/podman_runner/${{ inputs.secondary_tests }}
- name: get_server_logs
if: ${{ failure() }}
run: ./testsuite/podman_runner/20_get_server_logs.sh ${{ inputs.server_id }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

/**
* Parser specific for Amazon linux errata.
* DOM TEST
*/
public class AmazonErrataParser implements VendorSpecificErrataParser {

Expand Down
2 changes: 1 addition & 1 deletion testsuite/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace :cucumber do
# We generate the tags list as an union of tags (using 'or' between them),
# not as an intersection of them (using 'and')
include_tags = tags.nil? ? [] : ['--tags', tags]
cucumber_opts = %W[#{include_profiles} #{html_results} #{json_results} #{junit_results}] + %w[-f pretty -r features] + include_tags
cucumber_opts = %W[#{include_profiles} #{html_results} #{json_results} #{junit_results}] + %w[-f pretty -r features -v] + include_tags
# Immediately fail a feature if a scenario on it fails
cucumber_opts << '--fail-fast' if filename.to_s.include?('core') || filename.to_s.include?('build_validation_init_client')
features = YAML.safe_load(File.read(entry))
Expand Down
2 changes: 2 additions & 0 deletions testsuite/podman_runner/05_install_gems_in_controller.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash
set -xe
sudo -i podman exec controller bash -c "cd /testsuite && bundle.ruby3.3 install --gemfile Gemfile --verbose"
sudo -i podman exec controller bash -c "gem env"
sudo -i podman exec controller bash -c "gem list"
6 changes: 5 additions & 1 deletion testsuite/podman_runner/12_run_core_tests.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/bin/bash
set -xe
sudo -i podman exec controller bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=server && export HOSTNAME=controller && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && cd /testsuite && rake cucumber:github_validation_core"
sudo -i podman exec controller bash -c "ls -lh /usr/lib64/ruby/gems/3.3.0/gems"
sudo -i podman exec controller bash -c "ls -lh /usr/lib64/ruby/gems/3.3.0/gems/twopence-0.4.2/lib"
sudo -i podman exec controller bash -c "file /usr/lib64/ruby/gems/3.3.0/gems/twopence-0.4.2/lib/twopence.so"
sudo -i podman exec controller bash -c "rake --version"
sudo -i podman exec controller bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=server && export HOSTNAME=controller && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && cd /testsuite && rake cucumber:github_validation_core --verbose"

0 comments on commit a44b8b3

Please sign in to comment.