@@ -5,7 +5,8 @@ let
5 pkgs = import (builtins.fetchTarball https://github.com/nixos/nixpkgs/archive/3de5266.tar.gz) {};
5 pkgs = import (builtins.fetchTarball https://github.com/nixos/nixpkgs/archive/3de5266.tar.gz) {};
6 sshKeys = import (pkgs.path + /nixos/tests/ssh-keys.nix) pkgs;
6 sshKeys = import (pkgs.path + /nixos/tests/ssh-keys.nix) pkgs;
7 make-test = import (pkgs.path + /nixos/tests/make-test-python.nix);
7 make-test = import (pkgs.path + /nixos/tests/make-test-python.nix);
8− supportedPlatforms = [ "x86_64-linux" "x86_64-darwin" ];
8+ #supportedPlatforms = [ "x86_64-linux" "x86_64-darwin" ];
9+ supportedPlatforms = [ "x86_64-linux" ];
9 obelisk-everywhere = (import ./everywhere.nix { cacheBuildSystems = supportedPlatforms; }).metaCache;
10 obelisk-everywhere = (import ./everywhere.nix { cacheBuildSystems = supportedPlatforms; }).metaCache;
10 snakeOilPrivateKey = sshKeys.snakeOilPrivateKey.text;
11 snakeOilPrivateKey = sshKeys.snakeOilPrivateKey.text;
11 snakeOilPublicKey = sshKeys.snakeOilPublicKey;
12 snakeOilPublicKey = sshKeys.snakeOilPublicKey;
@@ -99,6 +100,8 @@ in
99 client.succeed("ob thunk pack ~/code/myapp")
100 client.succeed("ob thunk pack ~/code/myapp")
100 client.succeed("grep -qF 'git' ~/code/myapp/default.nix")
101 client.succeed("grep -qF 'git' ~/code/myapp/default.nix")
101 client.succeed("grep -qF 'myorg' ~/code/myapp/git.json")
102 client.succeed("grep -qF 'myorg' ~/code/myapp/git.json")
104+ with subtest("test obelisk can detect private repos"):
102− client.succeed('[ "$(jq .private < ~/code/myapp/git.json)" == "false" ] ')
105+ client.succeed("""grep -qF '"private": false' ~/code/myapp/git.json""")