-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update jre version * test: use juju 3.56 * update to use juju 3.5 (real commit) * microk8s strict channel * chore: use latest rockcraft syntax * chore: increase idle period * test: use testing Jenkins version * test: define base and channel w/ branch * test: use working branch track
- Loading branch information
Showing
4 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,8 +171,13 @@ async def machine_jenkins_client_fixture( | |
@pytest_asyncio.fixture(scope="module", name="jenkins_k8s_server") | ||
async def jenkins_k8s_server_fixture(model: Model) -> Application: | ||
"""The jenkins k8s server.""" | ||
app = await model.deploy("jenkins-k8s", series="jammy", channel="latest/edge") | ||
await model.wait_for_idle(apps=[app.name], timeout=1200, raise_on_error=False) | ||
# A custom JRE/Jenkins LTS upgraded version of Jenkins has been manually pushed to latest/edge | ||
# channel revision 128 for testing. There's a deadlock on the dependency in testing | ||
# jenkins-agent-k8s and jenkins-k8s. | ||
app = await model.deploy( | ||
"jenkins-k8s", series="jammy", channel="latest/edge", base="[email protected]", revision=128 | ||
) | ||
await model.wait_for_idle(apps=[app.name], timeout=1200, raise_on_error=False, idle_period=30) | ||
|
||
return app | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters