git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/tests/gitlab: Fix Authorization Bearer field
28068ceYaya
nixos/tests/gitlab.nix+1−1
@@ -112,7 +112,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : with lib; {
112 "${pkgs.sudo}/bin/sudo -u gitlab -H gitlab-rake gitlab:check 1>&2"
112 "${pkgs.sudo}/bin/sudo -u gitlab -H gitlab-rake gitlab:check 1>&2"
113 )
113 )
114 gitlab.succeed(
114 gitlab.succeed(
115− "echo \"Authorization: Bearer \$(curl -X POST -H 'Content-Type: application/json' -d @${auth} http://gitlab/oauth/token | ${pkgs.jq}/bin/jq -r '.access_token')\" >/tmp/headers"
115+ "echo \"Authorization: Bearer $(curl -X POST -H 'Content-Type: application/json' -d @${auth} http://gitlab/oauth/token | ${pkgs.jq}/bin/jq -r '.access_token')\" >/tmp/headers"
116 )
116 )
117 '' + optionalString doSetup ''
117 '' + optionalString doSetup ''
118 gitlab.succeed(
118 gitlab.succeed(