Compare commits

30 Commits

Author SHA1 Message Date
Johannes Lanzinger
36dac62c67 altert dashbaord
Some checks failed
CI/CD Pipeline / lint (push) Failing after 18s
CI/CD Pipeline / deploy (push) Failing after 38s
2025-12-16 12:33:06 +01:00
sotos
ff224549ed UPdate
Some checks failed
CI/CD Pipeline / lint (push) Failing after 18s
CI/CD Pipeline / deploy (push) Failing after 39s
2025-12-16 12:27:08 +01:00
sotos
10a48b6bc2 asdf
Some checks failed
CI/CD Pipeline / lint (push) Successful in 18s
CI/CD Pipeline / deploy (push) Failing after 41s
2025-12-16 12:17:04 +01:00
sotos
3ad932077f udpate
Some checks failed
CI/CD Pipeline / lint (push) Successful in 18s
CI/CD Pipeline / deploy (push) Failing after 39s
2025-12-16 12:13:34 +01:00
sotos
3d091967d8 update
Some checks failed
CI/CD Pipeline / lint (push) Successful in 18s
CI/CD Pipeline / deploy (push) Failing after 41s
2025-12-16 12:09:18 +01:00
sotos
943e99576e update
Some checks failed
CI/CD Pipeline / lint (push) Successful in 19s
CI/CD Pipeline / deploy (push) Failing after 40s
2025-12-16 12:04:19 +01:00
sotos
aefc23c307 update
Some checks failed
CI/CD Pipeline / lint (push) Successful in 18s
CI/CD Pipeline / deploy (push) Failing after 1m1s
2025-12-16 11:56:03 +01:00
sotos
c46887aace update
Some checks failed
CI/CD Pipeline / lint (push) Successful in 19s
CI/CD Pipeline / deploy (push) Failing after 41s
2025-12-16 11:54:33 +01:00
sotos
86ce2e9a64 Update
Some checks failed
CI/CD Pipeline / lint (push) Successful in 20s
CI/CD Pipeline / deploy (push) Failing after 42s
2025-12-16 11:38:50 +01:00
sotos
4f5602fb6d Update
Some checks failed
CI/CD Pipeline / lint (push) Successful in 18s
CI/CD Pipeline / deploy (push) Failing after 42s
2025-12-16 11:36:53 +01:00
sotos
68a5bccc0f deez
Some checks failed
CI/CD Pipeline / lint (push) Successful in 18s
CI/CD Pipeline / build (push) Failing after 22s
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 11:33:34 +01:00
sotos
9e042fba2d update
Some checks failed
CI/CD Pipeline / lint (push) Failing after 28s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 11:32:23 +01:00
sotos
4d88e28f8b udpate
Some checks failed
CI/CD Pipeline / lint (push) Failing after 22s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 11:28:47 +01:00
sotos
ab8ceff931 udpate
Some checks failed
CI/CD Pipeline / lint (push) Failing after 19s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 11:26:25 +01:00
sotos
3cd1dd06dd udpate
Some checks failed
CI/CD Pipeline / lint (push) Failing after 52s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 11:21:10 +01:00
sotos
7f2b3811cb udpate
Some checks failed
CI/CD Pipeline / lint (push) Failing after 7s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 11:18:14 +01:00
sotos
2012dc8518 update
Some checks failed
CI/CD Pipeline / lint (push) Failing after 23s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 11:15:20 +01:00
sotos
7bcdf04ff2 update
Some checks failed
CI/CD Pipeline / lint (push) Failing after 25s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 11:11:28 +01:00
sotos
6f4e842a36 update cicd
Some checks failed
CI/CD Pipeline / lint (push) Failing after 24s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 11:05:07 +01:00
46dee4cb79 alte gitlab .yml gelöscht.
Some checks failed
CI/CD Pipeline / lint (push) Failing after 25s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 11:02:33 +01:00
32b6ca81b0 Update .gitea/workflows/yamllint.yml
Some checks failed
CI/CD Pipeline / lint (push) Failing after 22s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 10:00:07 +00:00
sotos
12b254b20b update cicd
Some checks failed
CI/CD Pipeline / lint (push) Failing after 25s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 09:48:22 +01:00
sotos
77066def09 ci/cd
Some checks failed
CI/CD Pipeline / lint (push) Failing after 5s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 09:47:15 +01:00
sotos
eb603ee508 ci/cd
Some checks failed
CI/CD Pipeline / lint (push) Failing after 25s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 09:44:46 +01:00
sotos
7576cdf0db ci/cd
Some checks failed
CI/CD Pipeline / lint (push) Failing after 10s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 09:42:58 +01:00
sotos
cd28c0f648 ci/cd
Some checks failed
CI/CD Pipeline / lint (push) Failing after 22s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 09:40:30 +01:00
sotos
76403b3831 ci/cd
Some checks failed
CI/CD Pipeline / lint (push) Failing after 0s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 09:37:42 +01:00
sotos
ce18fa16c0 ci/cd
Some checks failed
CI/CD Pipeline / lint (push) Failing after 0s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped
2025-12-16 09:35:04 +01:00
sotos
c51524531c workflow
Some checks failed
YAML Lint / yamllint (push) Failing after 6s
2025-12-16 09:13:00 +01:00
a8542458a2 Merge pull request 'teste die pipeline' (#1) from flip_dev into main
Reviewed-on: #1
2025-12-16 08:01:37 +00:00
9 changed files with 15858 additions and 17 deletions

View File

View File

@@ -0,0 +1,58 @@
---
name: CI/CD Pipeline
on:
push:
branches: [main, flip_dev]
jobs:
lint:
runs-on: docker
container:
image: node:20-bullseye
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Python & linters
run: |
apt-get update && apt-get install -y python3 python3-pip bash git
pip3 install --upgrade pip
pip3 install yamllint ansible-lint
- name: Run linters
run: |
yamllint .
deploy:
runs-on: docker
container:
image: node:20-bullseye
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Ansible & dependencies
run: |
apt-get update && apt-get install -y python3 python3-pip openssh-client bash git
pip3 install --upgrade pip
pip3 install ansible
- name: Setup SSH key with passphrase
run: |
mkdir -p ~/.ssh
printf "%s\n" "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H 213.95.90.157 >> ~/.ssh/known_hosts
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa <<< "${{ secrets.SSH_PASSPHRASE }}"
- name: Run Ansible deployment
run: |
if [ -n "$SSH_PASSPHRASE" ]; then
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa <<< "$SSH_PASSPHRASE"
fi
ansible-playbook -i ansible/inventory.yaml site.yaml

View File

@@ -1,11 +0,0 @@
---
stages:
- lint
yamllint:
stage: lint
image: python:3.12-alpine
before_script:
- pip install --no-cache-dir yamllint
script:
- yamllint .

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"ansible.python.interpreterPath": "/opt/homebrew/bin/python3"
}

19
.yamllint.yml Normal file
View File

@@ -0,0 +1,19 @@
---
extends: default
ignore: |
^venv/*
^\.venv/*
^\.gitea/*
^\.git/*
^\.ansible_test/*
^ansible_test/*
^\.ansiblelint/*
rules:
line-length:
max: 400
level: warning
trailing-spaces: disable
indentation:
spaces: 2

View File

@@ -10,7 +10,7 @@
- name: Create app directory - name: Create app directory
file: file:
path: "{{ app_dir }}" path: "{{ app_dir }}"
state: directory state: directory
- name: Copy compose file - name: Copy compose file
copy: copy:

View File

@@ -13,12 +13,12 @@ services:
grafana: grafana:
image: grafana/grafana:latest image: grafana/grafana:latest
user: "472"
volumes: volumes:
- ./grafana/provisioning:/etc/grafana/provisioning:ro - ./grafana/provisioning:/etc/grafana/provisioning:ro
- grafana_data:/var/lib/grafana - grafana_data:/var/lib/grafana
environment: environment:
GF_SECURITY_ADMIN_PASSWORD: "admin" GF_SECURITY_ADMIN_PASSWORD: "admin"
GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH: /var/lib/grafana/dashboards/home.json
ports: ports:
- "3000:3000" - "3000:3000"
networks: networks:

File diff suppressed because it is too large Load Diff

View File

@@ -2,9 +2,9 @@
apiVersion: 1 apiVersion: 1
providers: providers:
- name: default - name: 'default'
orgId: 1 folder: 'Home'
folder: ""
type: file type: file
editable: true
options: options:
path: /etc/grafana/provisioning/dashboards path: /var/lib/grafana/dashboards