Skip to content
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

Fixed linux powershell installation and execution #2

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Apr 6, 2024

  1. Fixed linux install; refactored PowerShell installation and execution…

    … paths for Atomic Red Team
    
    **Added:**
    - Added variables for PowerShell version and installation path.
    - Included common, Debian-specific, and RedHat-specific package lists for installation.
    
    **Changed:**
    - Refactored PowerShell installation to use a generic approach with architecture mapping.
    - Updated `invoke-atomictest.yml` to use the `pwsh` command without absolute paths.
    - Simplified `setup-linux.yml` to streamline PowerShell setup and remove old installation methods.
    
    **Removed:**
    - Removed old PowerShell installation tasks specific to Ubuntu, Amazon Linux, and CentOS.
    l50 committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    23aa860 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64ec48d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b94b1b View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Refactored variable names and improved ART test execution

    **Changed:**
    - Standardized variable names with `ansible_atomic_red_team_` prefix for consistency.
    - Updated `example-playbook.yml` to use the new standardized variable names.
    - Moved `update-art-tids.sh` script from `vars` to `files` directory and set executable permissions.
    - Enhanced `gather-art-tids.yml` task to create a temporary directory, copy the emergency bash script, and gather ART TIDs into a YAML file in the temporary directory.
    - Modified `invoke-atomictest.yml` to set a fact for `prereq_check_passed` and conditional execution of test and cleanup tasks based on this fact.
    - Updated `setup-linux.yml` to include installation of Invoke-ART, setting up the PowerShell profile, and added additional packages for setup.
    - Removed `update-art-tids.sh` script from `vars` directory as it has been moved to `files`.
    - Added a timeout variable `ansible_atomic_red_team_timeout` for ART tests in `defaults/main.yml`.
    
    **Removed:**
    - Removed unused variables `atomic_red_team_common_install_packages`, `atomic_red_team_debian_specific_packages`, and `atomic_red_team_redhat_specific_packages` from `vars/main.yml`.
    l50 committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    07af05e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f879d7 View commit details
    Browse the repository at this point in the history