Skip to content

docs: update zero to hero to jubilant - #1988

Merged
dimaqq merged 13 commits into
canonical:mainfrom
dimaqq:docs-use-jubilant-in-zero-to-hero
Aug 19, 2025
Merged

dimaqq merged 13 commits into
canonical:mainfrom
dimaqq:docs-use-jubilant-in-zero-to-hero

Conversation

@dimaqq

@dimaqq dimaqq commented Aug 13, 2025 •

Copy link
Copy Markdown
Contributor

Doc preview: https://canonical-ubuntu-documentation-library--1988.com.readthedocs.build/ops/1988/

Updates:

  • zero to hero docs
  • examples/k8s-N-aaa directories

Check list:

  • global tox
  • k8s-1. tox
  • k8s-1. tox -e integration
  • k8s-2. tox
  • k8s-2. tox -e integration
  • k8s-3. tox
  • k8s-3. tox -e integration
  • k8s-4. tox
  • k8s-4. tox -e integration
  • k8s-5. tox
  • k8s-5. tox -e integration

@dimaqq
dimaqq marked this pull request as ready for review August 13, 2025 08:13
@dimaqq
dimaqq requested review from IronCore864 and dwilding August 13, 2025 08:15

@dwilding dwilding left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm still reviewing (need to pause for a meeting).

BTW, the new/updated tutorial files will need to be added to the charms in examples/k8s-1-minimal and subsequent dirs

@dimaqq
dimaqq marked this pull request as draft August 18, 2025 00:06
@dimaqq
dimaqq marked this pull request as ready for review August 18, 2025 08:18
@dimaqq

dimaqq commented Aug 18, 2025

Copy link
Copy Markdown
Contributor Author

Massive updated, I've requested fresh set of reviews.
Should be ready for review now :)

@dwilding dwilding left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I tested tox -e integration for the two different sets of tests. No issues. Thanks for updating everything!

All suggestions are minor - most are for self-consistency

Comment thread examples/k8s-3-postgresql/src/charm.py Resolved
@dimaqq

dimaqq commented Aug 18, 2025

Copy link
Copy Markdown
Contributor Author

Thank you for a thorough review, @dwilding

@benhoyt benhoyt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good, thanks!

@dimaqq
dimaqq removed the request for review from IronCore864 August 19, 2025 01:26
@dimaqq

dimaqq commented Aug 19, 2025

Copy link
Copy Markdown
Contributor Author

I've removed Tiexin from reviewers as he's on vacation.

@dimaqq
dimaqq merged commit 815d5eb into canonical:main Aug 19, 2025
@dimaqq
dimaqq deleted the docs-use-jubilant-in-zero-to-hero branch August 19, 2025 01:27
tonyandrewmeyer added a commit that referenced this pull request Oct 22, 2026
Backport of the move from pytest-operator and python-libjuju to
Jubilant, so that the 2.23 maintenance branch no longer depends on
either.

Cherry-picked from main, in order:
 * #1958 (smoke tests to jubilant-backports)
 * #1963 (drop the `juju` dependency and add Juju 4 to the smoke matrix)
 * #1987 (httpbin example charm)
 * #1988 (zero-to-hero tutorial and the k8s example charms)
 * #2000 and #2004 (how-to guides and the testing explanation)
 * #1998 (ignore Juju 4 on microk8s timeouts in the smoke matrix)
 * #2190 (Juju 4/stable rather than 4/beta in the smoke matrix)

Adjustments for the 2.x branch:

- The Python 3.8 and 3.9 environment markers that #1958 removed from
`pyproject.toml` are kept, as is the 20.04 base in the smoke test
parametrisation.
- The smoke tox env injects `ops-2.*.whl` rather than `ops-3.*.whl`.
- `uv.lock` was regenerated rather than merged, which drops
pytest-operator, python-libjuju, pytest-asyncio and their transitive
dependencies.
- The Jubilant intersphinx entry is in `docs/custom_conf.py`, since this
branch still has the older starter-pack layout.
- The tutorial's "review the final code" links stay on the
juju-sdk-tutorial-k8s repository, which is what the other chapters on
this branch link to.

---------

Co-authored-by: Dima Tisnek <dima.tisnek@canonical.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
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.

4 participants