remove legacy gitlab and shell files
This commit is contained in:
parent
3a042155af
commit
79e77148f7
5 changed files with 11 additions and 38 deletions
8
.envrc
Normal file
8
.envrc
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
if [[ $(type -t use_flake) != function ]]; then
|
||||
echo "ERROR: direnv's use_flake function missing. update direnv to v2.30.0 or later." && exit 1
|
||||
fi
|
||||
#export BOT_ENV_FILE=./dev.env
|
||||
export BOT_CONFIG_FILE=config.json
|
||||
use flake
|
||||
dotenv
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,6 +4,7 @@ __pycache__
|
|||
.venv
|
||||
devstate
|
||||
.env*
|
||||
!.envrc
|
||||
config.json
|
||||
dev.data
|
||||
data
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
---
|
||||
image: python:3.11
|
||||
|
||||
stages:
|
||||
- check
|
||||
|
||||
check:
|
||||
image: python:3.11-bookworm
|
||||
stage: check
|
||||
script:
|
||||
- apt-get update
|
||||
- apt-get install -y make libolm-dev
|
||||
- pip install uv
|
||||
- uv sync --frozen --group dev
|
||||
- uv run make check
|
||||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
> a bot for ops in matrix
|
||||
|
||||
Repository: https://guardianproject.dev/ops/matrix-ops-bot
|
||||
|
||||
This bot catches webhooks and forwards them as messages to matrix rooms.
|
||||
|
||||
Current supported webhooks:
|
||||
|
|
|
|||
23
shell.nix
23
shell.nix
|
|
@ -1,23 +0,0 @@
|
|||
{ system ? "x86_64-linux", pkgs ? import <nixpkgs> { inherit system; } }:
|
||||
|
||||
let
|
||||
packages = [
|
||||
pkgs.python313
|
||||
pkgs.uv
|
||||
pkgs.zsh
|
||||
pkgs.olm
|
||||
];
|
||||
|
||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
||||
pkgs.stdenv.cc.cc
|
||||
];
|
||||
in
|
||||
pkgs.mkShell {
|
||||
buildInputs = packages;
|
||||
shellHook = ''
|
||||
export SHELL=${pkgs.zsh}
|
||||
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
|
||||
export UV_PROJECT_ENVIRONMENT=".venv"
|
||||
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue