Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deepsquare-io/postscripts
The DeepSquare GRID necessary postscripts to setup a cluster
https://github.com/deepsquare-io/postscripts
Last synced: about 1 month ago
JSON representation
The DeepSquare GRID necessary postscripts to setup a cluster
- Host: GitHub
- URL: https://github.com/deepsquare-io/postscripts
- Owner: deepsquare-io
- Created: 2023-05-04T14:04:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-26T00:11:13.000Z (11 months ago)
- Last Synced: 2024-04-14T10:46:32.231Z (9 months ago)
- Language: Shell
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Postscripts template
## How to use
The main entrypoint is `post.sh`.
Execute `./post.sh $(hostname)` to run the postscripts. `$(hostname)` is passed to create host-specific postscripts.
## How to customize
The whole `post.sh` script is a postscript that executes other postscripts. You can execute any bash script inside of it, or use our `COPY` and `RUN` commands which add logging.
### Copying files from git to node
Add files into the `/files` directory and add `COPY ` instructions in the `SYNCLIST` section.
### Executing postscripts
Add postscripts into the `/postscripts` directory and add `RUN ` instructions in the `EXECUTE` sections.