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

2.9 into develop #14563

Merged
merged 20 commits into from Sep 2, 2022
Merged

2.9 into develop #14563

merged 20 commits into from Sep 2, 2022

Conversation

hmlanigan and others added 20 commits August 30, 2022 15:36
charmhub.

Change default bundle series to jammy. Update the bundle.yaml to reflect
what is in charmhub.
juju#14540

Reflect changes uploaded and released with charmcraft for the juju-qa-bundle-test.

Update files used to create the juju-qa-bundle-test uploaded to charmhub. Change default bundle series to jammy. Update the bundle.yaml to reflect what is in charmhub.

## QA steps

test-bundles-deploy should now succeed on 3.0 as no longer using bionic in most recent upload of the bundle.

```sh
(cd tests ; ./main.sh -v deploy test_deploy_bundles)
```

Files should match the blob in charmhub
```sh
juju download juju-qa-bundle-test
unzip juju-qa*.bundle
```
Particularly: Summary followed by Description. Also move StorURL down
per Daniele's comment on the bug.

https://bugs.launchpad.net/juju/+bug/1969111
[JUJU-1721] ] local ubuntu plus charm in integration tests
juju#14552

[LP 1969111)](https://bugs.launchpad.net/juju/+bug/1969111) notes that we want to show "summary" next to "description", so do that. Also move "publisher" up per John's layout, and move "store-url" down per Daniele's comment on the bug.

Tested via Go tests. We do have integration tests of `juju info`, but they don't test the key ordering (probably for the better).

## Checklist

- [x] Code style: imports ordered, good names, simple structure, etc
- [x] Comments saying why design decisions were made
- [x] Go unit tests, with comments saying what you're testing
- [ ] ~[Integration tests](https://github.com/juju/juju/tree/develop/tests), with comments saying what you're testing~
- [x] [doc.go](https://discourse.charmhub.io/t/readme-in-packages/451) added or updated in changed packages

## QA steps

Just run `juju info` and ensure the fields are in this order: name, publisher, summary, description, store-url, and so on.

```sh
$ juju info postgresql
name: postgresql
publisher: Data Platform
summary: PostgreSQL object-relational SQL database (supported version)
description: |
 PostgreSQL is a powerful, open source object-relational database system.
 It has more than 15 years of active development and a proven
 architecture that has earned it a strong reputation for reliability,
 data integrity, and correctness. It is fully ACID compliant, has full
 support for foreign keys, joins, views, triggers, and stored procedures
 (in multiple languages). It includes most SQL:2008 data types, including
 INTEGER, NUMERIC, BOOLEAN, CHAR, VARCHAR, DATE, INTERVAL, and TIMESTAMP.
 It also supports storage of binary large objects, including pictures,
 sounds, or video. It has native programming interfaces for C/C++, Java,
 .Net, Perl, Python, Ruby, Tcl, ODBC, among others, and exceptional
 documentation (http://www.postgresql.org/docs/manuals/).
store-url: https://charmhub.io/postgresql
charm-id: ChgcZB3RhaDOnhkAv9cgRg52LhjBbDt8
supports: focal, bionic, xenial
tags: databases
subordinate: false
relations:
 provides:
 data: block-storage
 db: pgsql
 db-admin: pgsql
 local-monitors: local-monitors
 master: pgreplication
 nrpe-external-master: nrpe-external-master
 syslog: syslog
 requires: {}
channels: |
 latest/stable: initial-reactive-256-gf4424fe-dirty 2022-07-25 (241) 5MB
 latest/candidate: ↑
 latest/beta: ↑
 latest/edge: 245 2022-08-29 (245) 6MB
```

## Bug reference

https://bugs.launchpad.net/juju/+bug/1969111
[JUJU-1683] Wait for 30s to let the relation joined;
@hpidcock
Copy link
Member

hpidcock commented Sep 2, 2022

/build

@ycliuhw
Copy link
Member Author

ycliuhw commented Sep 2, 2022

/merge

@jujubot jujubot merged commit 0672ac5 into juju:develop Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants