Skip to content

Conversation

einalien
Copy link
Owner

@einalien einalien commented Nov 1, 2026 •

Summary

Introduces the initial GitHub Actions deployment workflow for the TEST environment, establishing the foundation for automated infrastructure deployments across TEST, STAGE, and PROD.

Changes

  • Configure automatic deployment workflow triggering after successful CI on main, with support for manual execution.
  • Use the self-hosted GitHub Actions runner (assignment2).
  • Configure TEST environment authentication using GitHub Actions secrets and variables.
  • Separate OpenStack deployment credentials from kOps state-store credentials.
  • Install pinned versions of OpenTofu, kOps, and kubectl.
  • Verify downloaded binaries using SHA-256 checksums.
  • Configure access to the swift://demo-kops state store.
  • Verify access to the einalien.k8s.local cluster configuration.
  • Prevent overlapping infrastructure deployment workflows.
  • Include Python dependencies in the runner's cloud-init configuration.

Verification

  • Existing CI checks passed on the feature branch.
  • Verified the correct kOps state store and cluster locally.
  • Verify tool installation on the self-hosted runner.
  • Verify kOps state-store access using GitHub Actions credentials.
  • Verify Kubernetes API connectivity and remote-state access.

Next Steps

  • Generate a temporary Kubernetes kubeconfig during deployment.
  • Verify access to the Kubernetes iac namespace.
  • Implement automated TEST network and frontend deployments.
  • Extend deployment automation to STAGE and PROD, including manual approval for PROD.
  • Implement environment-specific infrastructure destruction.

Notes

This PR introduces deployment prerequisites and verification only. No infrastructure provisioning or destruction is performed by the workflow yet.

@einalien einalien added the enhancement New feature or request label Nov 1, 2026
@einalien einalien self-assigned this Nov 1, 2026
@einalien einalien merged commit fb8a1b7 into main Nov 1, 2026
1 check passed
@einalien einalien deleted the feat/automated-deployment branch November 1, 2026 17:42
Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant