Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

[sˈθɪŋz] - using modularity to speed up parallel builds

Awesome Lists containing this project

README

        

# stuttgart-things

[sˈθɪŋz] - using modularity to speed up parallel builds

AnsibleDockerKubernetesTerraformStatic Badge![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.

GeeksforGeeks logo

## 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 branch

task pr
```

TEST ANSIBLE COLLECTION w/ MOLECULE

```bash
task setup-venv
source ./.venv/bin/activate
task setup-molecule

task 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
```