Skip to content

Commit 79c7e82

Browse files
authored
Update README for 3.0.0 (#181)
Signed-off-by: Webster Mudge <[email protected]>
1 parent bc76bb6 commit 79c7e82

File tree

1 file changed

+32
-64
lines changed

1 file changed

+32
-64
lines changed

README.md

Lines changed: 32 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# cloudera.cloud - Cloudera Data Platform (CDP) for Public Cloud
1+
# cloudera.cloud - Cloudera on cloud and Data Services
22

33
[![API documentation](https://github.com/cloudera-labs/cloudera.cloud/actions/workflows/publish_docs.yml/badge.svg?branch=main&event=push)](https://github.com/cloudera-labs/cloudera.cloud/actions/workflows/publish_docs.yml)
44

5-
`cloudera.cloud` is an Ansible collection that lets you manage your **[Cloudera Data Platform (CDP)](https://www.cloudera.com/products/cloudera-data-platform.html) Public Cloud** resources. With this collection, you can:
5+
`cloudera.cloud` is an Ansible collection that lets you manage your **[Cloudera Platform](https://www.cloudera.com/products/cloudera-data-platform.html) on cloud (Public Cloud)** resources. With this collection, you can:
66

77
* Create and manage [Datalakes](https://www.cloudera.com/products/open-data-lakehouse.html) and Environments.
88
* Manage Users and Groups.
@@ -18,14 +18,12 @@ If you have any questions, want to chat about the collection's capabilities and
1818

1919
## Quickstart
2020

21+
See the [API documentation](https://cloudera-labs.github.io/cloudera.cloud/) for details for each plugin and role within the collection.
22+
2123
1. [Install the collection](#installation)
2224
2. [Install the requirements](#requirements)
2325
3. [Use the collection](#using-the-collection)
2426

25-
## API
26-
27-
See the [API documentation](https://cloudera-labs.github.io/cloudera.cloud/) for details for each plugin and role within the collection.
28-
2927
## Roadmap
3028

3129
If you want to see what we are working on or have pending, check out:
@@ -42,12 +40,16 @@ For more information on how to get involved with the `cloudera.cloud` Ansible co
4240

4341
## Installation
4442

45-
To install the `cloudera.cloud` collection, you have several options. Please note that we have not yet published this collection to the public Ansible Galaxy server, so you cannot install it via direct namespace, rather you must specify by Git project and (optionally) branch.
43+
To install the `cloudera.cloud` collection, you have several options.
4644

47-
### Option #1: Install from GitHub
45+
The preferred method is to install via Ansible Galaxy; in your `requirements.yml` file, add the following:
46+
47+
```yaml
48+
collections:
49+
- name: cloudera.cloud
50+
```
4851
49-
Create or edit your `requirements.yml` file in your project with the
50-
following:
52+
If you want to install from GitHub, add to your `requirements.yml` file the following:
5153

5254
```yaml
5355
collections:
@@ -65,30 +67,15 @@ ansible-galaxy collection install -r requirements.yml
6567
You can also install the collection directly:
6668

6769
```bash
68-
ansible-galaxy collection install git+https://github.com/cloudera-labs/cloudera.cloud.git@main
70+
# From Ansible Galaxy
71+
ansible-galaxy collection install cloudera.cloud
6972
```
7073

71-
### Option #2: Install the tarball
72-
73-
Periodically, the collection is packaged into a distribution which you can
74-
install directly:
75-
7674
```bash
77-
ansible-galaxy collection install <collection-tarball>
75+
# From GitHub
76+
ansible-galaxy collection install git+https://github.com/cloudera-labs/cloudera.cloud.git@main
7877
```
7978

80-
See [Building the Collection](#building-the-collection) for details on creating a local tarball.
81-
82-
## Requirements
83-
84-
`cloudera.cloud` expects `ansible-core>=2.10`.
85-
86-
The collection also requires the following Python libraries install to operate its modules:
87-
88-
* [`cdpy`](https://github.com/cloudera-labs/cdpy)
89-
90-
The collection's Python dependencies alone, _not_ the required Python libraries of its collection dependencies, are in `requirements.txt`.
91-
9279
`ansible-builder` can discover and install all Python dependencies - current collection and dependencies - if you wish to use that application to construct your environment. Otherwise, you will need to read each collection and role dependency and follow its installation instructions.
9380

9481
See the [Collection Metadata](https://ansible.readthedocs.io/projects/builder/en/latest/collection_metadata/) section for further details on how to install (and manage) collection dependencies.
@@ -116,65 +103,46 @@ For example, here we use the
116103
var: output
117104
```
118105
> [!IMPORTANT]
119-
> The CDP modules expect standard CDP authentication configurations, e.g. `CDP_PROFILE`, as described by the *Configuring* section of [CDP CLI/SDK](https://github.com/cloudera/cdpcli#configuring).
106+
> The collection expects standard Cloudera Platform authentication configurations, e.g. `CDP_PROFILE`, as described by the *Configuring* section of [CDP CLI/SDK](https://github.com/cloudera/cdpcli#configuring).
120107

121-
## Building and Developing the Collection
108+
## Building the API Documentation
122109

123-
To develop the collection -- additions, updates, bugfixes, etc. -- or to build resources from the collections -- API documentation, etc. -- you must first install [Hatch](https://hatch.pypa.io/latest/) according to your specific development environment.
110+
To create a local copy of the API documentation, first make sure the collection is in your `ANSIBLE_COLLECTIONS_PATH`.
124111

125112
```bash
126-
# As a Python application
127-
pip install hatch
128-
129-
# With Brew (OSX)
130-
brew install hatch
131-
132-
# On Fedora
133-
sudo dnf install hatch
113+
hatch run docs:build
134114
```
135115

136-
### Developing Collection Resources
116+
Your local documentation will be found at `docsbuild/build/html`.
137117

138-
To set up a development environment, you can first use the following to install the Python dependencies:
118+
You can also lint the documentation with the following command:
139119

140120
```bash
141-
hatch shell
121+
hatch run docs:lint
142122
```
143123

144-
This will create a `hatch`-managed virtual environment. (You can also associate this Python environment with your IDE, like VSCode!)
124+
## Preparing a New Version
145125

146-
> [!TIP]
147-
> You also need to ensure the collection's project directory is in your `ANSIBLE_COLLECTIONS_PATH` variable.
148-
149-
While you develop and work on collection resources, you can easily execute checks and linters with the following command:
126+
To prepare a version release, first set the following variables for `antsichaut`:
150127

151128
```bash
152-
hatch run lint
129+
export GITHUB_TOKEN=some_gh_token_value # Read-only scope
153130
```
154131

155-
This script will run a number of `pre-commit` hooks, including `ansible-lint`, as well as lint any API documentation, guides, and other resources.
156-
157-
If you wish to contribute your changes, please check out the instructions in the [CONTRIBUTING](./CONTRIBUTING.md) guide.
158-
159-
### Building the API Documentation
160-
161-
To create a local copy of the API documentation, first make sure the project, i.e. the collection, is in your `ANSIBLE_COLLECTIONS_PATH`. Then run the following:
132+
Update the collection version using [`hatch version`](https://hatch.pypa.io/latest/version/). For example, to increment to the next _minor_ release:
162133

163134
```bash
164-
hatch run docs:build
135+
hatch version minor
165136
```
166137

167-
Your local documentation will be found at `docsbuild/build/html`.
168-
169-
170-
### Building the Collection Bundle
171-
172-
To create a local collection tarball, run:
138+
Then update the changelog to query the pull requests since the last release.
173139

174140
```bash
175-
ansible-galaxy collection build
141+
hatch run docs:changelog
176142
```
177143

144+
You can then examine (and update if needed) the resulting `changelog.yaml` and `CHANGELOG.rst` files before committing to the release branch.
145+
178146
## License and Copyright
179147

180148
Copyright 2025, Cloudera, Inc.

0 commit comments

Comments
 (0)