CI #170

Merged
v merged 13 commits from actions-ci into main 2023-05-26 22:19:20 +02:00
4 changed files with 24 additions and 13 deletions

View file

@ -0,0 +1,18 @@
name: Plex Update
on: [push]
jobs:
native-test:
runs-on: native
steps:
- uses: actions/checkout@v3
- env:
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
run: |
git config user.name "Forgejo Actions Bot"
git config user.email "<>"
./nixos/pkgs/plex-pass/update.sh
git add ./nixos/pkgs/plex-pass/
git commit -m "Update Plex"
git push origin actions-ci

View file

@ -1,10 +0,0 @@
name: Test
on: [push]
jobs:
setup-forgejo:
runs-on: nix-native
steps:
- uses: actions/checkout@v3
- run: |
ls
echo "Hello, World!"

View file

@ -27,7 +27,9 @@ in {
quoteEnvironmentValues = false; # Needed for docker quoteEnvironmentValues = false; # Needed for docker
}; };
vault-secrets.secrets.gitea_runner = { }; vault-secrets.secrets.gitea_runner = {
services = [ "gitea-runner-nix\x2dnative" ];
};
virtualisation.podman = { virtualisation.podman = {
enable = true; enable = true;
@ -59,7 +61,10 @@ in {
gawk gawk
gitMinimal gitMinimal
gnused gnused
jq
nodejs nodejs
nixUnstable
vault
wget wget
]; ];
}; };

View file

@ -1,6 +1,4 @@
#! /usr/bin/env bash #! /usr/bin/env bash
set -x
shopt -s extglob shopt -s extglob
set -eu -o pipefail set -eu -o pipefail