Skip to content

Conversation

@ogorman89
Copy link
Contributor

@ogorman89 ogorman89 commented Jan 9, 2026

Related Links

Description and Rationale

  • We want to run a short simulation as a basic E2E test for Simkube development
  • The simulation in this repo is an E2E test based on our cronjob trace it recompiles and updates manifests to use the feature branch versions of SimKube to test changes before merges to main'

How

  • Add a new end-to-end test workflow that runs on merges to main or dispatch (it is set to PR temporarily for testing)
  • New workflow uses the custom actions in simkube-ci-action repo which are backed by a custom github-runner variant of our simkube AMI
    • our custom runner AMI is preconfigured with Simkube pre-installed and all dependencies
    • the launch-runner action launches an ephemeral runner in the users AWS account (ACRL's AWS account in this case) that listens for jobs and runs one job
    • the run-simulation action launches a simulation on an available custom SimKube runner using an available trace

Test Steps

  • Manual AMI builds, and testing the action on this branch
  • You can see this workflow in action here running our E2E cronjob test

Other Notes

  • Our custom actions expose only a basic set of simulation parameters. In the future I expect to expose more functionality in the actions. The runner AMI is fully capable of running any SimKube simulation. If you can do it in SimKube you can do it on the runner!

  • [ ✅ ] I certify that this PR does not contain any code that has been generated with GitHub Copilot or any other AI-based code generation tool, in accordance with this project's policies.

@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.60%. Comparing base (37f7139) to head (27b258a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #212   +/-   ##
=======================================
  Coverage   75.60%   75.60%           
=======================================
  Files          58       58           
  Lines        3291     3291           
  Branches      164      164           
=======================================
  Hits         2488     2488           
  Misses        697      697           
  Partials      106      106           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ogorman89 ogorman89 self-assigned this Jan 21, 2026
@ogorman89 ogorman89 requested a review from drmorr0 January 21, 2026 23:23
@ogorman89 ogorman89 changed the title DRAFT: add simkube ci action SK-147 / add e2e test using simkube-ci-action Jan 21, 2026
Copy link
Contributor

@drmorr0 drmorr0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! :excited:

- name: Setup SimKube GitHub Action runner
uses: acrlabs/simkube-ci-action/actions/launch-runner@main
with:
ami-id: ami-03e5877b8398d4577
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit for the future: is it possible to reference the latest AMI from the parameter store, instead of hard-coding here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a todo, I think I want to make this the default behavior in the simkube-ci-action repo but allow overrides.

uses: acrlabs/simkube-ci-action/actions/launch-runner@main
with:
ami-id: ami-03e5877b8398d4577
instance-type: c7a.xlarge
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's maybe use an m6a.large here?

@ogorman89 ogorman89 merged commit da7884b into main Jan 23, 2026
7 checks passed
@ogorman89 ogorman89 deleted the ian/add-simkube-ci-action branch January 23, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants