Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jershbytes/semauwu
Semaphowe Inystaww Scwipt
https://github.com/jershbytes/semauwu
ansible deb debian opentofu rhel rpm semaphore terraform
Last synced: 3 days ago
JSON representation
Semaphowe Inystaww Scwipt
- Host: GitHub
- URL: https://github.com/jershbytes/semauwu
- Owner: jershbytes
- License: mit
- Created: 2024-06-12T14:52:24.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-12-20T21:10:37.000Z (about 2 months ago)
- Last Synced: 2025-01-28T10:36:45.017Z (8 days ago)
- Topics: ansible, deb, debian, opentofu, rhel, rpm, semaphore, terraform
- Language: Shell
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Status](https://img.shields.io/badge/status-active-success.svg)]()
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)---
:link: Table of Contents
+ [:link: Table of Contents](#%3A%6C%69%6E%6B%3A%2D%74%61%62%6C%65%2D%6F%66%2D%63%6F%6E%74%65%6E%74%73)
+ [:x: Problem](#%3A%78%3A%2D%70%72%6F%62%6C%65%6D)
+ [:heavy\_check\_mark: Solution](#%3A%68%65%61%76%79%5F%63%68%65%63%6B%5F%6D%61%72%6B%3A%2D%73%6F%6C%75%74%69%6F%6E)
+ [✅ Install prerequisites](#%E2%9C%85%2D%69%6E%73%74%61%6C%6C%2D%70%72%65%72%65%71%75%69%73%69%74%65%73)
+ [:memo: Notes](#%3A%6D%65%6D%6F%3A%2D%6E%6F%74%65%73)
+ [:gear: Instructions](#%3A%67%65%61%72%3A%2D%69%6E%73%74%72%75%63%74%69%6F%6E%73)
+ [Install](#%69%6E%73%74%61%6C%6C)
+ [Upgrade](#%75%70%67%72%61%64%65)
## :x: Problem
I've used Semaphore for about a year and loved it. But always hated that I needed to either use docker or install all this manually. Which is not an issue but hey why not make life easier?
## :heavy_check_mark: Solution
I Created **SemaUwU** after watching [Learn Linux TV](https://www.learnlinux.tv/complete-ansible-semaphore-tutorial-from-installation-to-automation/#more-4065) on installing semaphore and thought. Ahh cool a good base to base the script off of. I just need the logic to grab the Latest Release.
## ✅ Install prerequisites
- **Deb Based**```bash
sudo apt -y install jq wget curl git
```
- **RPM Based**```bash
sudo dnf -y install jq wget curl git
```## :gear: Instructions
### Install
Click me
- **Clone the repo.**
```bash
git clone https://github.com/ColoredBytes/semaUwU.git
```- **Change into the directory**
```bash
cd semaUwU
```
- **Run the script.**
```bash
# On Debian based systems arm64 or amd64./install.sh deb
./install.sh arm-deb# On RHEL based systems arm64 or amd64
./install.sh rpm
./install.sh arm-rpm
```### Upgrade
Click me
- **Change into the directory**
```bash
cd semaUwU
```
- **Run the script.**
```bash
# On Debian based systems arm64 or amd64./upgrade.sh deb #amd64
./upgrade.sh arm-deb #arm64# On RHEL based systems arm64 or amd64
./upgrade.sh rpm #amd64
./upgrade.sh arm-rpm #arm64
```## :memo: Notes
> [!NOTE]
> I've modified the script to install MariaDB by default and pass the commands through to MariaDB for the setup of the database. This is not for the Sempaphore Setup portion but just the Datbase. All you need to is note that information for the semaphore portion.
> - In [mariab.conf](conf/mariadb.conf) you'll just need to change the password and make your own root password as well.> [!NOTE]
> Since new versions of Semaphore let you use **Terraform** and **OpenTofu**. You Can also install them following the Instructions from the links below
> - [Terraform](https://developer.hashicorp.com/terraform/install?ajs_aid=edd2c1a1-9fee-4fca-b9af-9b89a5e3932c&product_intent=terraform)
> - [OpenTofu](https://opentofu.org/docs/intro/install/)