Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stuttgart-things/stuttgart-things
[sˈθɪŋz] - using modularity to speed up parallel builds
https://github.com/stuttgart-things/stuttgart-things
ansible automation gitops helm iac kubernetes modules terraform
Last synced: 2 days ago
JSON representation
[sˈθɪŋz] - using modularity to speed up parallel builds
- Host: GitHub
- URL: https://github.com/stuttgart-things/stuttgart-things
- Owner: stuttgart-things
- Created: 2023-03-08T11:49:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-21T18:42:34.000Z (6 months ago)
- Last Synced: 2024-05-21T18:51:42.162Z (6 months ago)
- Topics: ansible, automation, gitops, helm, iac, kubernetes, modules, terraform
- Language: HTML
- Homepage:
- Size: 9.54 MB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stuttgart-things
[sˈθɪŋz] - using modularity to speed up parallel builds
![Packer](https://img.shields.io/badge/packer-%23E7EEF0.svg?style=for-the-badge&logo=packer&logoColor=%2302A8EF)
used for configuration code like gitops configuration, ansible playbooks, Dockerfiles or helm charts.
## TASKS
```bash
task: Available tasks for this project:
* branch: Create branch from main
* build-local: Build & push image local
* collections: Install ansible collections
* commit: Commit + push code into branch
* git-push: Commit & push the module
* lychee: Check links with lychee
* package: Package & push chart
* pr: Create pull request into main
* pull-request: Create pull request into main
* setup-venv: Setup python virtual environment
* tag: Tag repo
```PACKAGE HELM CHART
```bash
export PROJECT=sthings-helm-toolkit
task package
```BUILD ANSIBLE COLLECTION
```bash
task branchtask pr
```TEST ANSIBLE COLLECTION w/ MOLECULE
```bash
task setup-venv
source ./.venv/bin/activate
task setup-moleculetask run-molecule
# e.g. deploy_rke_rke2
```## INFRASTRUCTURE AS CODE
### ANSIBLE
sthings-base_os
#### INSTALL
[CHECK RELEASES](https://github.com/stuttgart-things/stuttgart-things/releases)
```bash
# INSTALL ROLE - EXAMPLE VERSION
COLLECTION_VERSION=0.1.8
ansible-galaxy collection install -f \
https://github.com/stuttgart-things/stuttgart-things/releases/download/${COLLECTION_VERSION}/sthings-base_os-${COLLECTION_VERSION}.tar.gz
```#### DEPLOY BINARIES (DEV-MACHINE PROFILE)
```bash
ansible-playbook sthings.base_os.download_install_binaries \
-i inv -vv \
-e target_host=all \
-e profile=dev \
-vv
```[![Button Component](https://readme-components.vercel.app/api?component=button&text=Stuttgart-Things-Blog&fill=linear-gradient%2862deg%2C%20%238EC5FC%200%25%2C%20%23E0C3FC%20100%25%29%3B%0A&scale=large)](https://stuttgart-things.github.io/stuttgart-things/)
Author Information
------------------```bash
Patrick Hermann, stuttgart-things 03/2023
Christian Mueller, stuttgart-things 08/2023
```