https://github.com/deepsquare-io/postscripts
The DeepSquare GRID necessary postscripts to setup a cluster
https://github.com/deepsquare-io/postscripts
Last synced: 3 months 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T00:11:13.000Z (over 1 year ago)
- Last Synced: 2025-01-30T15:20:12.516Z (5 months ago)
- Language: Shell
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- 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.