Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update validation jobs to 3.1/stable (and some to 3.3/stable) #1473

Merged
merged 4 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions ci.bash
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ function ci::cleanup::before

function ci::cleanup::model::addons
{
if ! timeout 10m juju destroy-model -y --destroy-storage "$JUJU_CONTROLLER:addons"; then
timeout 10m juju destroy-model -y --destroy-storage "$JUJU_CONTROLLER:addons" --force
if ! timeout 10m juju destroy-model --no-prompt --destroy-storage "$JUJU_CONTROLLER:addons"; then
timeout 10m juju destroy-model --no-prompt --destroy-storage "$JUJU_CONTROLLER:addons" --force
fi
}

Expand Down
2 changes: 1 addition & 1 deletion jobs/ci-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
name: juju_channel
description: |-
specify the juju channel to use
default: 2.9/stable
default: 3.1/stable

- parameter:
name: series-stable
Expand Down
4 changes: 2 additions & 2 deletions jobs/infra/playbook-jenkins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
- jenkins
- adhoc
- name: upgrade juju
command: "snap refresh juju --channel 2.9/stable --classic"
command: "snap refresh juju --channel 3.1/stable"
ignore_errors: yes
tags:
- jenkins
Expand All @@ -153,7 +153,7 @@
- "charmcraft --classic --edge"
- "go --classic --stable"
- "google-cloud-cli --classic --channel latest/stable"
- "juju --classic --channel=2.9/stable"
- "juju --channel=3.1/stable"
- "juju-crashdump --classic --edge"
- "juju-wait --classic"
- "kubectl --classic"
Expand Down
4 changes: 2 additions & 2 deletions jobs/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ async def k8s_model(k8s_cloud, tools):
"--destroy-storage",
"--force",
"--no-wait",
"-y",
"--no-prompt",
tools.k8s_connection,
)

Expand Down Expand Up @@ -541,7 +541,7 @@ async def deploy(request, tools):
await _model_obj.connect(f"{tools.controller_name}:{nonce_model}")
yield (tools.controller_name, _model_obj)
await _model_obj.disconnect()
await tools.run("juju", "destroy-model", "-y", nonce_model)
await tools.run("juju", "destroy-model", "--no-prompt", nonce_model)


@pytest.fixture(scope="module")
Expand Down
2 changes: 1 addition & 1 deletion jobs/validate-offline/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
command: "snap install {{item}}"
ignore_errors: yes
loop:
- "juju --classic --channel=2.9/stable"
- "juju --channel=3.1/stable"
- "juju-wait --classic"
- "lxd"
tags:
Expand Down
8 changes: 6 additions & 2 deletions jobs/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
description: |-
specify the juju channel to use
values:
- 2.9/stable
- 3.1/stable
- 3.3/stable
- axis:
type: user-defined
name: snap_version
Expand Down Expand Up @@ -751,7 +751,11 @@
- snap-edge
- series-stable
- lxc-runner-params
- juju-lts
- string:
name: juju_channel
description: |-
specify the juju channel to use
default: 2.9/stable
- string:
name: LXC_SNAP_LIST
description: |-
Expand Down
2 changes: 1 addition & 1 deletion jobs/validate/playbooks/single-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
command: "snap install {{item}}"
ignore_errors: yes
loop:
- "juju --classic --channel=2.9/stable"
- "juju --channel=3.1/stable"
- "juju-wait --classic"
- "juju-crashdump --classic --edge"
- "lxd"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jmespath==1.0.1
# via
# boto3
# botocore
juju==3.2.3.0
juju==3.3.0.0
# via -r requirements.in
kubernetes==26.1.0
# via juju
Expand Down
Loading