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

nixpkgs-check-by-name: make all github-driven checks locally reproducible #266937

Closed
wants to merge 4 commits into from
Closed

nixpkgs-check-by-name: make all github-driven checks locally reproducible #266937

wants to merge 4 commits into from

Commits on Nov 11, 2023

  1. nixpkgs-check-by-name: make all github-driven checks locally reproduc…

    …ible
    
    This commit moves the chunks of shellcode in
    .github/workflows/check-by-name.yml into individual scripts.
    
    What remains in .github/workflows/check-by-name.yml are three-line
    scripts which:
    
      1. Dump the environment to the console
      2. Set `-x` so the following command is printed in
         properly-escaped form, which developers can simply paste to their
         own shell to reproduce the command
      3. exec() into the file containing the shellcode which previously
         comprised that step.
    
    This ensures that if a test fails, the PR author doesn't have to
    rummage around in the bowels of github in order to reproduce the
    failure locally.
    Adam Joseph committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    13c3f7e View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2023

  1. rename run-nixpkgs-check-by-name.sh to reproduce.sh

    Adam Joseph committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    692fc8e View commit details
    Browse the repository at this point in the history
  2. give $rev a more descriptive name

    Adam Joseph committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    81cb101 View commit details
    Browse the repository at this point in the history
  3. implement @infinisil feedback from #266937 (review)

    Adam Joseph committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    8187fe5 View commit details
    Browse the repository at this point in the history