Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
ceb3256
Use CI runners for integration tests
yhaliaw Sep 3, 2025
0e09875
Change end 2 end test to use pfe-ci runners
yhaliaw Sep 3, 2025
98fd6a3
Update the microk8s version
yhaliaw Sep 4, 2025
41524ec
Use tmp integration tests args for now
yhaliaw Sep 4, 2025
b84fd3d
Test pfe-ci runners
yhaliaw Sep 4, 2025
71c1fcb
Merge branch 'main' into ci-runners
yhaliaw Sep 8, 2025
b0f00c8
Disable some workflow during testing
yhaliaw Sep 8, 2025
2476ad1
Debug
yhaliaw Sep 9, 2025
f5c675d
Debug
yhaliaw Sep 9, 2025
9381880
Debug
yhaliaw Sep 9, 2025
c803eb0
Debug
yhaliaw Sep 9, 2025
1778af3
Using a temp fix branch of image builder
yhaliaw Sep 12, 2025
a07bd75
Test with image builder revision 111
yhaliaw Sep 12, 2025
eb5804f
Fix revision arg in integration test
yhaliaw Sep 12, 2025
fd3acce
Change the test image builder revision
yhaliaw Sep 12, 2025
6c43ca0
Update the image builder fix
yhaliaw Sep 12, 2025
422da6e
Try fix for the image building proxy config
yhaliaw Sep 12, 2025
6dc69d9
Test image builder fix
yhaliaw Sep 12, 2025
b1f7e66
Test new version of image builder
yhaliaw Sep 15, 2025
815fac9
Fix image builder
yhaliaw Sep 15, 2025
f97cc50
Try temp fix
yhaliaw Sep 15, 2025
8428dfa
test
yhaliaw Sep 15, 2025
ddf88c8
Test fix with rebuild
yhaliaw Sep 15, 2025
7cc8d2c
Trigger workflow
yhaliaw Sep 22, 2025
c8b7327
Trigger workflow
yhaliaw Sep 23, 2025
8aed5f9
Test all integration tests
yhaliaw Sep 23, 2025
f222ca4
Re-enable workflows
yhaliaw Sep 23, 2025
be9c313
Test edge image builder
yhaliaw Sep 24, 2025
a015947
test revision 121 of image builder
yhaliaw Sep 24, 2025
62eaaa2
Test image builder with revision 120
yhaliaw Sep 24, 2025
ddb4ac9
Merge branch 'main' into ci-runners
yhaliaw Sep 25, 2025
5ac7acc
Debug pfe-ci runner
yhaliaw Sep 25, 2025
95052c4
Test again
yhaliaw Sep 25, 2025
b23f6f4
Remove debug statements
yhaliaw Sep 25, 2025
7561f08
Fix the order of integrating with tmate in tests setup
yhaliaw Sep 25, 2025
4df35c8
Fix formatting
yhaliaw Sep 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/e2e_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
modules: '["test_e2e"]'
extra-arguments: "-m openstack"
self-hosted-runner: true
self-hosted-runner-label: stg-private-endpoint
self-hosted-runner-label: pfe-ci

required_status_checks:
name: Required E2E Test Status Checks
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
modules: '["test_charm_metrics_failure", "test_charm_metrics_success", "test_charm_fork_repo", "test_charm_fork_path_change", "test_charm_no_runner", "test_charm_runner", "test_debug_ssh", "test_charm_upgrade", "test_reactive", "test_jobmanager_prespawned", "test_jobmanager_reactive"]'
extra-arguments: '-m openstack --log-format="%(asctime)s %(levelname)s %(message)s"'
self-hosted-runner: true
self-hosted-runner-label: stg-private-endpoint
self-hosted-runner-label: pfe-ci
openstack-integration-tests-cross-controller-private-endpoint:
name: Cross controller integration test using private-endpoint
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
Expand All @@ -36,7 +36,7 @@ jobs:
modules: '["test_prometheus_metrics"]'
extra-arguments: '-m openstack --log-format="%(asctime)s %(levelname)s %(message)s"'
self-hosted-runner: true
self-hosted-runner-label: stg-private-endpoint
self-hosted-runner-label: pfe-ci
allure-report:
if: ${{ (success() || failure()) && github.event_name == 'schedule' }}
needs:
Expand Down
10 changes: 4 additions & 6 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,13 @@ async def app_scheduled_events_fixture(
async def app_no_wait_tmate_fixture(
model: Model,
app_openstack_runner,
tmate_ssh_server_app: Application,
):
"""Application to check tmate ssh with openstack without waiting for active."""
application = app_openstack_runner
await application.relate("debug-ssh", f"{tmate_ssh_server_app.name}:debug-ssh")
await application.set_config({BASE_VIRTUAL_MACHINES_CONFIG_NAME: "1"})
await model.wait_for_idle(apps=[tmate_ssh_server_app.name], status=ACTIVE, timeout=60 * 30)
return application


Expand Down Expand Up @@ -582,14 +585,9 @@ async def app_no_wait_fixture(


@pytest_asyncio.fixture(scope="module", name="tmate_ssh_server_app")
async def tmate_ssh_server_app_fixture(
model: Model, app_no_wait_tmate: Application
) -> AsyncIterator[Application]:
async def tmate_ssh_server_app_fixture(model: Model) -> AsyncIterator[Application]:
"""tmate-ssh-server charm application related to GitHub-Runner app charm."""
tmate_app: Application = await model.deploy("tmate-ssh-server", channel="edge")
await app_no_wait_tmate.relate("debug-ssh", f"{tmate_app.name}:debug-ssh")
await model.wait_for_idle(apps=[tmate_app.name], status=ACTIVE, timeout=60 * 30)

return tmate_app


Expand Down
Loading