Skip to content

Commit 20dc826

Browse files
committed
Re-org
1 parent f172677 commit 20dc826

16 files changed

Lines changed: 20 additions & 6 deletions

File tree

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
include:
11-
- dir: python-web-app
11+
- dir: full-deploys/python-web-app
1212
deploy-file: deploy.py
1313
inventory-file: inventories/docker.py
1414
runs-on: ubuntu-latest

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,32 @@
22

33
A set of documented & tested pyinfra deploys.
44

5-
## Complete Deploys
5+
## Full Deploys
66

7-
### [`python-web-app`](./python-web-app)
7+
These are complete examples along with Docker test containers (acting as servers accessible via SSH)
8+
and scripts to execute them. These deploys are all tested as part of CI.
9+
10+
### [`python-web-app`](./full-deploys/python-web-app)
811

912
Simple: deploys two servers: one database and one web running a Python app fetched using Git.
1013

11-
## Specific Features
14+
### [`foundationdb-cluster`](./full-deploys/foundationdb-cluster)
15+
16+
Advanced: sets up a five node FoundationDB cluster from scratch. Uses runtime callbacks to bootstrap.
17+
18+
## Snippets
1219

13-
### [`deploy-functions`](./deploy-functions)
20+
Shorter collections of code snippets that don't always function on their own but demonstrate various
21+
parts of pyinfra functionality.
22+
23+
### [`deploy-functions`](./snippets/deploy-functions)
1424

1525
Shows how to execute Python functions as operations directly from the CLI.
1626

17-
### [`inventory-functions`](./inventory-functions)
27+
### [`inventory-functions`](./snippets/inventory-functions)
1828

1929
Look at using Python functions, and external packages, to generate inventory.
30+
31+
### [`nested-operations`](./snippets/nested-operations)
32+
33+
Execute operations using output or results of other operations.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

python-web-app/group_data/docker-test-server.py renamed to full-deploys/python-web-app/group_data/docker-test-server.py

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)