Skip to content

Commit

Permalink
Drop all webhook receiver PHP code
Browse files Browse the repository at this point in the history
  • Loading branch information
dasJ committed Dec 23, 2024
1 parent 5a4e743 commit 059463b
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 1,022 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: nix-build
run: nix-build -A ofborg.rs -A ofborg.php
run: nix-build -A ofborg.rs
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
config.php
vendor
*.log
test.php
config.json
.bash_hist
config.private.json
Expand Down
19 changes: 1 addition & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 0 additions & 25 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
nixpkgs-for-php.url = "github:nixos/nixpkgs/nixos-22.05";
};

outputs =
{ self
, nixpkgs
, nixpkgs-for-php
, ...
}@inputs:
let
Expand All @@ -22,21 +20,6 @@
pkgs = import nixpkgs {
inherit system;
};
phpPkgs = import nixpkgs-for-php {
inherit system;
};

phpEnv = pkgs.mkShell {
name = "gh-event-forwarder";
buildInputs = with pkgs; [
nix-prefetch-git
phpPkgs.php
phpPkgs.phpPackages.composer
git
curl
bash
];
};
in
{
default = pkgs.mkShell {
Expand Down Expand Up @@ -78,7 +61,6 @@
RUST_BACKTRACE = "1";
RUST_LOG = "ofborg=debug";
NIX_PATH = "nixpkgs=${pkgs.path}";
passthru.phpEnv = phpEnv;
};
});

Expand All @@ -88,10 +70,6 @@
inherit system;
};

phpPkgs = import nixpkgs-for-php {
inherit system;
};

pkg = pkgs.rustPlatform.buildRustPackage {
name = "ofborg";
src = pkgs.nix-gitignore.gitignoreSource [ ] ./.;
Expand Down Expand Up @@ -147,13 +125,10 @@
test -e $out/bin/log_message_collector
test -e $out/bin/evaluation_filter
'';

ofborg.php = import ./php { pkgs = phpPkgs; };
});

hydraJobs = {
buildRs = forAllSystems (system: self.packages.${system}.ofborg.rs);
buildPhp = self.packages.x86_64-linux.ofborg.php;
};
};
}
38 changes: 0 additions & 38 deletions php/README.md

This file was deleted.

244 changes: 0 additions & 244 deletions php/composer-env.nix

This file was deleted.

Loading

0 comments on commit 059463b

Please sign in to comment.