From 27eead772fb97514a9ae3266827b20f023a1e58d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Correa=20Rodr=C3=ADguez?= Date: Fri, 23 Aug 2024 14:15:41 +0200 Subject: [PATCH] Added Test installation assistant workflow --- .../workflows/Test_installation_assistant.yml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 .github/workflows/Test_installation_assistant.yml diff --git a/.github/workflows/Test_installation_assistant.yml b/.github/workflows/Test_installation_assistant.yml new file mode 100644 index 0000000..b050ad8 --- /dev/null +++ b/.github/workflows/Test_installation_assistant.yml @@ -0,0 +1,58 @@ +run-name: Test installation assistant - System ${{ inputs.SYSTEM }} - Launched by @${{ github.actor }} +name: Test installation assistant + +on: + pull_request: + paths: + - 'cert_tool/**' + - 'common_functions/**' + - 'config/**' + - 'install_functions/**' + - 'passwords_tool/**' + - 'tests/**' + workflow_dispatch: + inputs: + REPOSITORY: + description: 'Repository environment' + required: true + default: 'pre-release' + type: choice + options: + - staging + - pre-release + SYSTEM: + description: 'Operating System' + required: true + default: 'CentOS 8' + type: choice + options: + - CentOS 7 + - CentOS 8 + - Amazon Linux 2 + - Ubuntu 16 + - Ubuntu 18 + - Ubuntu 20 + - Ubuntu 22 + - RHEL7 + - RHEL8 + DEBUG: + description: 'Debug mode' + required: true + default: false + type: boolean + DESTROY: + description: 'Destroy instances after run' + required: true + default: true + type: boolean + +env: + LABEL: ubuntu-latest + +jobs: + initialize-environment: + runs-on: $LABEL + + steps: + - name: Set up Git + uses: actions/checkout@v3 \ No newline at end of file