Compare commits

..

1 commit

Author SHA1 Message Date
188615768f chore(deps): update mysql docker tag to v9
All checks were successful
/ build-deployer (push) Successful in 19s
/ build-freetakserver (push) Successful in 1m11s
/ build-keycloak (push) Successful in 47s
/ build-openbao-csi-provider (push) Successful in 1m15s
/ build-pethublocal (push) Successful in 45s
/ build-synapse (push) Successful in 41s
/ build-traefik-forward-auth (push) Successful in 38s
/ diff-and-deploy (push) Successful in 1m7s
/ render-helm (push) Successful in 19s
/ build-openbao (push) Successful in 9m36s
2024-11-20 18:01:58 +00:00
7 changed files with 5 additions and 45 deletions

View file

@ -19,16 +19,3 @@ jobs:
tags: git.janky.solutions/jankysolutions/infra/synapse:latest tags: git.janky.solutions/jankysolutions/infra/synapse:latest
platforms: linux/amd64 platforms: linux/amd64
push: ${{ github.ref == 'refs/heads/main' }} push: ${{ github.ref == 'refs/heads/main' }}
rollout:
name: roll out update
runs-on: ubuntu-latest
container:
image: git.janky.solutions/jankysolutions/infra/deployer:latest
needs: [build-synapse]
if: github.ref == 'refs/heads/main'
steps:
- name: roll out update
run: |
set -euo pipefail
echo "${{ secrets.KUBERNETES_CLIENT_CONFIG }}" > ~/.kube/config
kubectl -n matrix rollout restart statefulset homeserver-janky-solutions

View file

@ -1,4 +1,4 @@
FROM matrixdotorg/synapse:v1.120.0 FROM matrixdotorg/synapse:v1.119.0
RUN pip install boto3 humanize tqdm RUN pip install boto3 humanize tqdm
# there is probably a better way to figure out where the site packages are # there is probably a better way to figure out where the site packages are
# this used to be hard coded to /usr/local/lib/python3.11/site-packages but then synapse updated it's minor python version and it broke # this used to be hard coded to /usr/local/lib/python3.11/site-packages but then synapse updated it's minor python version and it broke

View file

@ -37,7 +37,7 @@ spec:
- secretRef: - secretRef:
name: synapse-janky-bot name: synapse-janky-bot
containers: containers:
- image: matrixdotorg/synapse:v1.120.0 - image: matrixdotorg/synapse:v1.119.0
name: synapse name: synapse
resources: {} resources: {}
volumeMounts: volumeMounts:

View file

@ -17,7 +17,7 @@ spec:
spec: spec:
containers: containers:
- name: bitwarden-cli - name: bitwarden-cli
image: ghcr.io/charlesthomas/bitwarden-cli:2024.11.1 image: ghcr.io/charlesthomas/bitwarden-cli:2024.11.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
envFrom: envFrom:
- secretRef: - secretRef:

View file

@ -18,7 +18,7 @@ spec:
fsGroup: 1001 fsGroup: 1001
fsGroupChangePolicy: "OnRootMismatch" fsGroupChangePolicy: "OnRootMismatch"
containers: containers:
- image: ghcr.io/shlinkio/shlink:4.3.1 - image: ghcr.io/shlinkio/shlink:4.2.5
name: shlink name: shlink
resources: {} resources: {}
ports: ports:

View file

@ -28,7 +28,7 @@ spec:
spec: spec:
containers: containers:
- name: mysql - name: mysql
image: mysql:8 image: mysql:9
envFrom: envFrom:
- secretRef: - secretRef:
name: mysql name: mysql

View file

@ -10,30 +10,3 @@
apt: apt:
name: [ufw] name: [ufw]
state: absent state: absent
- name: check which users exist
ansible.builtin.user:
name: "{{ item }}"
loop: ["root", "finn", "debian"]
check_mode: true
register: users
- name: Ensure SSH key is set
ansible.posix.authorized_key:
user: "{{ item.item }}"
state: present
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJs5PJ6jQF7Sx3T1b1+NBXt4JRsnjGnWv8+bCf4RpwGM finn@taint
loop: "{{ users.results }}"
loop_control:
label: "{{ item.item }}"
when: item.state | d('') == 'present'
- name: Invalidate old SSH key
ansible.posix.authorized_key:
user: "{{ item.item }}"
state: absent
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMaJrZWSrAYTaCoGhW+o8HivmBj5oZi7Dei73FtCl0d finn@taint
loop: "{{ users.results }}"
loop_control:
label: "{{ item.item }}"
when: item.state | d('') == 'present'