Commit graph

39 commits

Author SHA1 Message Date
Ryan Hendrickson 7101ab45ba eval/nixpkgs: parse Bash-braces in commits
Add support for expanding the Bash-like brace syntax.
2023-09-15 11:19:19 -07:00
Naïm Favier 2beea85aed use nixosTests for tests
The current approach runs e.g. `nix-build nixos/release.nix -A tests.installer`,
which is a no-op because `tests.installer` is a set of sets of
derivations (e.g. `tests.installer.simple.x86_64-linux`).

Use `nixosTests` instead, which doesn't have this extra nesting.
2023-01-03 07:42:21 -08:00
Graham Christensen 998adc8e2a Support aarch64-darwin 2021-11-12 14:01:12 -08:00
Andreas Rammhold 986be3ceb7 Remove the usage of the mozilla rust overlay
By switching to the tools bundled within nixpkgs we can provide a much
more "pure" development environment that doesn't randomly change over
time.

Previously we would be using the latest and greatest version of the
formatting and linting tools while our development environment only
offered whatever was in the (old) nixpkgs pin. Nowadays we have all the
tools we need in nixpkgs and can thus use those instead. By following
nixpkgs more closely we can make sure to make use of those tools in this
project as well. Hopefully removing the "yearly churn" of doing big
migrations.

For the meantime I allowed the upper case acronyms check (and a few
other minor lints) in the clippy configuration. This will allow a
smoother transition towards the newer clippy code that is decoupled from
the actual linting changes.
2021-07-07 12:19:54 -07:00
Cole Helbling 452ee25294
Disable trusted users for now
The current darwwin builder is reset very, very frequently (mostly due to its
storage constraints necessitating it), so there's much less of a reason to limit
the people who can utilize it. (Enabling it for everybody will also guarantee
more frequent resets, as well.)

However, it is kept as an option so that it can be re-enabled some time in the
future, if anything were to happen.
2021-05-17 13:20:13 -07:00
Daiderd Jordan dcb534e3ae
replace update-carnix.sh
Crate2nix hasn't been added to nixpkgs yet so it needs to be pulled in
separately.
2020-05-24 13:35:06 +02:00
Cole Helbling b6862c2b49 README: "Not you: team."
Some of the information in the README is outdated, such as the sections
detailing the privileges of known users (everybody is now a known user).
The only distinction made is between that of trusted users and everybody
else. Trusted users gain an additional host to run builds and tests on:
x86_64-darwin. Everybody else is locked to x86_64-linux and
aarch64-linux.

With the removal of all mentions of "known users", the
`config.{extra-,}known-users.json` files have also been removed. This
change will require coordination with the infrastructure repo [1] --
namely, a PR removing references to these files (otherwise, I imagine,
deploys will fail).

Something Graham has mentioned a few times is how he wants to decouple
ofborg from his persona. Thus, `@ofborg` is now used in place of
`@GrahamcOfBorg` everywhere possible (it is still possible to use
`@GrahamcOfBorg`, so it has not been removed from the codebase at this
time).

[1] https://github.com/ofborg/infrastructure
2020-05-20 10:20:07 -07:00
Richard Marko a2446b4ea1 README: add Hacking section
Co-Authored-By: Cole Helbling <cole.e.helbling@outlook.com>
2020-05-20 10:20:07 -07:00
Benjamin Hipple 2d4b91fb44 Cleanup whitespace in markdown table
Doesn't impact the rendered version, but makes the plain-text much easier to read
2020-02-16 19:09:25 -05:00
Michael Raskin d1abff67f6 Document my experience with re-setting-up a builder 2018-03-25 23:58:58 +02:00
Graham Christensen 716c8c592a
Merge remote-tracking branch 'origin/next' into released 2018-03-05 07:42:12 -05:00
Aneesh Agrawal 9ecf9b3756 Clarify autobuild commit parsing 2018-03-03 23:59:49 -08:00
Graham Christensen 71f63ef0fd
Document known vs. trusted users and their implicatinos 2018-03-01 12:58:19 -05:00
Graham Christensen 08a0a79976
Remove extra libs now that the mass rebuild filter isn't PHP anymore 2018-02-23 21:28:32 -05:00
Graham Christensen 20ffc2f58d
Document initial heap 2018-02-19 10:34:00 -05:00
Graham Christensen d40623f7f7
Document meta checking 2018-02-19 10:01:58 -05:00
Will Dietz 064526ebc3 README: minor correction in example invocation for "test" 2018-02-13 10:17:09 -06:00
Graham Christensen 55bf2742c9
Tighten up when ofborg considers a PR WIP 2018-02-03 12:47:08 -05:00
Graham Christensen 42d1bb3099
Clarify when packages will and will not be built 2018-02-03 12:41:56 -05:00
Graham Christensen c39e2a6865
Document the automatic building of PRs 2018-02-03 09:40:47 -05:00
Graham Christensen ba92804ea5
Make the github event intake endpoint retry connections to rabbitmq until it works 2018-01-28 22:24:44 -05:00
Graham Christensen 1326fdbe33
Commit most of the prod config
Include tools for generating the known user
list, and a thing to allow me to keep secrets
out of the main config while still keeping
almost exactly my config in version control
nearby.
2018-01-27 08:15:43 -05:00
Graham Christensen 162cd9a982
Support ofborg comments inline with other text
The old design of the parser treated all whitespace the same and
mandated that `grahamcofborg` (plus the `@`) be the first token in the
text. This allowed for some ridiculous but command calls:

    grahamcofborg build foo
       bar
          baz

This used to become a build instruction for foo, bar, and baz. After
this change, it is just an instruction for building foo. This allows
for comments for people to be intertwined with comments for the bot:

    grahamcofborg build foo

    Let's see what happens!

Before this would unintentionally become a build instruction for
`foo`, `Let's`, `see`, `what`, `happens!`, and is now only going to
build `foo`.

Additionally, this comment would do nothing:

    Let's see what happens!
    grahamcofborg build foo

Or a more real case where people expected this to work:

    /cc grahamc for ^^
    GrahamcOfBorg eval

This will continue to not produce a build instruction, because
grahamcofborg must be the first word of a line:

    foo bar grahamcofborg build foo

Note: I've removed `@`s from all usernames to avoid accidental email.
2017-12-22 09:07:52 -05:00
Graham Christensen 7ca5463991
document how evals are executed, closes #20 2017-12-20 07:01:32 -05:00
Graham Christensen 43dba9c53d
update readme to represent the more true rust bits 2017-12-19 21:46:29 -05:00
Graham Christensen cb9acfd57e
Document how things are building 2017-12-16 08:57:30 -05:00
Graham Christensen a7feee1b1e
clean up the readme 2017-12-01 20:58:05 -05:00
Graham Christensen 7a3b7d0fa0
correct readme 2017-11-24 14:50:45 -05:00
Graham Christensen 441853e724
make the commands linkable 2017-11-24 14:40:53 -05:00
Graham Christensen 20c4d2a302
Add the test command 2017-11-24 14:08:00 -05:00
Graham Christensen 41ea789ccb
document eval more 2017-11-23 14:25:33 -05:00
Graham Christensen 2d9b97e5b8
Add zimbatm 2017-11-23 10:50:03 -05:00
Graham Christensen e23ff2ca3e
document commandss 2017-11-23 08:38:52 -05:00
Graham Christensen dfbd52480e
Update docs 2017-11-20 08:02:47 -05:00
Graham Christensen 47c46468f8
update the reademe 2017-11-11 07:51:24 -05:00
Graham Christensen bf0e76a38e
update README 2017-11-04 12:21:55 -04:00
Graham Christensen 3b3ab44b28
catch proper ExecExceptions 2017-10-29 17:42:23 -04:00
Graham Christensen 1aa4ba0eec
Add darwin support 2017-10-29 17:14:06 -04:00
Graham Christensen 0c7b2f252e
Initial port from my network 2017-10-29 17:10:26 -04:00