Switch over to scripts.d
This commit is contained in:
parent
8a19bb059c
commit
dd4f31d9a1
@ -1,3 +1,7 @@
|
||||
# abra x.x.x (UNRELEASED)
|
||||
|
||||
- Add docker install script (using new script.d directory)
|
||||
|
||||
# abra 0.1.2 (2020-09-22)
|
||||
|
||||
- Add upgrade command ([#10](https://git.autonomic.zone/autonomic-cooperative/abra/issues/10))
|
||||
|
@ -24,7 +24,7 @@ cd abra
|
||||
make dev_install
|
||||
```
|
||||
|
||||
See [autonomic-cooperative/installer-scripts](https://git.autonomic.zone/autonomic-cooperative/installer-scripts) for the installer script deployment. To make a release, just add an entry to [CHANGELOG.md](./CHANGELOG.md) and the [installer](./installer) (following [semver](https://semver.org/) please) and then `git tag x.x.x && git push origin main --tags`. If you want the [installer-scripts](https://git.autonomic.zone/autonomic-cooperative/installer-scripts) deployment to pick that up, you'll need to change the version number in the [Makefile](https://git.autonomic.zone/autonomic-cooperative/installer-scripts/src/branch/main/Makefile) and run `make` in that repository and push the changes.
|
||||
See [autonomic-cooperative/installer-scripts](https://git.autonomic.zone/autonomic-cooperative/installer-scripts) for the installer script deployment. To make a release, just add an entry to [CHANGELOG.md](./CHANGELOG.md) and the [abra-installer](./script.d/abra-installer) / [swarm-installer](./script.d/swarm-installer) (following [semver](https://semver.org/) please) and then `git tag x.x.x && git push origin main --tags`. If you want the [installer-scripts](https://git.autonomic.zone/autonomic-cooperative/installer-scripts) deployment to pick that up, you'll need to change the version number in the [Makefile](https://git.autonomic.zone/autonomic-cooperative/installer-scripts/src/branch/main/Makefile) and run `make` in that repository and push the changes.
|
||||
|
||||
## Examples
|
||||
|
||||
|
16
script.d/swarm-installer
Executable file
16
script.d/swarm-installer
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
install_docker() {
|
||||
echo "install_docker: TODO"
|
||||
}
|
||||
init_swarm() {
|
||||
echo "init_swarm: TODO"
|
||||
}
|
||||
|
||||
run_installation() {
|
||||
install_docker
|
||||
init_swarm
|
||||
}
|
||||
|
||||
run_installation
|
||||
exit 0
|
Reference in New Issue
Block a user