Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix-review: 0.3.0 -> 0.4.0 #44584

Merged
merged 1 commit into from Aug 7, 2018
Merged

nix-review: 0.3.0 -> 0.4.0 #44584

merged 1 commit into from Aug 7, 2018

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Aug 7, 2018

Motivation for this change
  • add option to build pull request branch instead of merge.
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

- add option to build pull request branch instead of merge.
@Mic92
Copy link
Member Author

Mic92 commented Aug 7, 2018

@GrahamcOfBorg build nix-review

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nix-review

Partial log (click to expand)

$ git worktree prune
$ git fetch --force https://github.com/NixOS/nixpkgs master:refs/nix-review/0 pull/1/head:refs/nix-review/1
$ git worktree add ./.review/pr-1 hash1
$ git merge --no-commit hash2
Building in /build/nox-review-9tj5e9xs: pong3d
$ nix-shell --no-out-link --keep-going --max-jobs 96 --option build-use-sandbox true --run true --builders ssh://joerg@10.243.29.170 aarch64-linux -p pong3d
https://github.com/NixOS/nixpkgs/pull/1
$ nix-shell -p pong3d
$ git worktree prune
/nix/store/2pzahrf031p8aayh3hjxdla4v53i86qp-nix-review-0.4.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: nix-review

Partial log (click to expand)

$ git worktree prune
$ git fetch --force https://github.com/NixOS/nixpkgs master:refs/nix-review/0 pull/1/head:refs/nix-review/1
$ git worktree add ./.review/pr-1 hash1
$ git merge --no-commit hash2
Building in /build/nox-review-rnrzb55n: pong3d
$ nix-shell --no-out-link --keep-going --max-jobs 8 --option build-use-sandbox true --run true --builders ssh://joerg@10.243.29.170 aarch64-linux -p pong3d
https://github.com/NixOS/nixpkgs/pull/1
$ nix-shell -p pong3d
$ git worktree prune
/nix/store/kxgcr6jm36gqm6zp3srvadn4qvclvsyv-nix-review-0.4.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nix-review

Partial log (click to expand)

/nix/store/2pzahrf031p8aayh3hjxdla4v53i86qp-nix-review-0.4.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: nix-review

Partial log (click to expand)

$ git worktree prune
$ git fetch --force https://github.com/NixOS/nixpkgs master:refs/nix-review/0 pull/1/head:refs/nix-review/1
$ git worktree add ./.review/pr-1 hash1
$ git merge --no-commit hash2
Building in /build/nox-review-j067bqd9: pong3d
$ nix-shell --no-out-link --keep-going --max-jobs 4 --option build-use-sandbox true --run true --builders ssh://joerg@10.243.29.170 aarch64-linux -p pong3d
https://github.com/NixOS/nixpkgs/pull/1
$ nix-shell -p pong3d
$ git worktree prune
/nix/store/kxgcr6jm36gqm6zp3srvadn4qvclvsyv-nix-review-0.4.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: nix-review

Partial log (click to expand)

$ git worktree prune
$ git fetch --force https://github.com/NixOS/nixpkgs master:refs/nix-review/0 pull/1/head:refs/nix-review/1
$ git worktree add ./.review/pr-1 hash1
$ git merge --no-commit hash2
Building in /private/tmp/nix-build-nix-review-0.4.0.drv-0/nox-review-tpndocl7: pong3d
$ nix-shell --no-out-link --keep-going --max-jobs 8 --option build-use-sandbox true --run true --builders ssh://joerg@10.243.29.170 aarch64-linux -p pong3d
https://github.com/NixOS/nixpkgs/pull/1
$ nix-shell -p pong3d
$ git worktree prune
/nix/store/4j7zm6v05w0apa8blfxvn77gaf48krv9-nix-review-0.4.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: nix-review

Partial log (click to expand)

/nix/store/4j7zm6v05w0apa8blfxvn77gaf48krv9-nix-review-0.4.0

@adisbladis adisbladis merged commit 6bf0d9f into NixOS:master Aug 7, 2018
@Mic92 Mic92 deleted the nix-review branch August 7, 2018 22:10
@Mic92 Mic92 restored the nix-review branch August 17, 2018 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants