Switch over to scripts.d

This commit is contained in:
Luke Murphy 2020-09-24 09:03:25 +02:00
parent 8a19bb059c
commit dd4f31d9a1
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
4 changed files with 21 additions and 1 deletions

View File

@ -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) # abra 0.1.2 (2020-09-22)
- Add upgrade command ([#10](https://git.autonomic.zone/autonomic-cooperative/abra/issues/10)) - Add upgrade command ([#10](https://git.autonomic.zone/autonomic-cooperative/abra/issues/10))

View File

@ -24,7 +24,7 @@ cd abra
make dev_install 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 ## Examples

16
script.d/swarm-installer Executable file
View 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