Skip to content

Update CI Workflows and Remove Bash Scripts #119

@josecelano

Description

@josecelano

Parent Epic: #112 - Refactor and Improve E2E Test Execution
Depends On: #113 - Create Dependency Installation Package for E2E Tests

Summary

Update GitHub Actions workflows to use the new dependency-installer binary instead of bash scripts, and remove the obsolete bash scripts from scripts/setup/. This completes the migration from bash-based dependency management to the Rust-based solution.

Objectives

  • Update all GitHub Actions workflows to use dependency-installer binary
  • Remove obsolete bash scripts from scripts/setup/
  • Update documentation to reference the new dependency installation method
  • Verify CI workflows pass with the new approach

Workflow Files to Update

The following 3 GitHub Actions workflow files need updates:

  1. .github/workflows/test-e2e-provision.yml

    • Currently uses: ./scripts/setup/install-lxd-ci.sh
    • Currently uses: ./scripts/setup/install-opentofu.sh
  2. .github/workflows/test-e2e-config.yml

    • Currently uses: ./scripts/setup/install-ansible.sh
  3. .github/workflows/test-lxd-provision.yml

    • Currently uses: ./scripts/setup/install-lxd-ci.sh
    • Currently uses: ./scripts/setup/install-opentofu.sh

Note: Other workflow files do NOT use bash scripts and do not need modification.

Workflow Changes

Update workflows to use the Rust binary:

- name: Install dependencies
  run: |
    cargo build --bin dependency-installer
    cargo run --bin dependency-installer install

Acceptance Criteria

  • Pre-commit checks pass
  • All 3 workflows updated to use dependency-installer
  • Bash scripts removed from scripts/setup/
  • CI workflows pass with new approach
  • Documentation updated

Time Estimate

2-4 hours

Specification

See detailed specification: docs/issues/119-1-3-update-ci-workflows-and-remove-bash-scripts.md

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions