Commit graph

265 commits

Author SHA1 Message Date
6e4ae567a3 chore: fix tvix hashes
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-12-14 18:32:05 +01:00
a4443d8eac chore: bump locks
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-12-14 18:29:22 +01:00
a08351a9d4 feat(operations): add support for git pushing the channel
This time, we have almost a complete mechanism!

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-12-14 18:10:43 +01:00
a9ee947914 feat(streaming): add a command to cleanup failed streaming prefixes
And we also tuck them now in temp/ rather than in the top-level
directories.

Which makes it easier to clean them up.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-12-14 17:45:39 +01:00
23b6c38ed7 feat(script): enable x86_64-linux minimal ISO
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-08-31 20:13:36 +02:00
6c79be63e7 Switch to HTTP tracing, get rid of openssl 2024-08-31 20:51:44 +03:00
3934bcbb39 fix(s3): perform the painful rename manually
god, s3 semantics are.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-08-31 19:48:22 +02:00
cb5a2a2b07 Merge pull request 'feat(*): init Rust port' (#1) from rust into main
Reviewed-on: #1
2024-08-31 17:30:29 +00:00
542a3ae836 feat(*): init Rust port
This is a Rust port of the original Perl script, legacy cruft is removed
and it focuses on a modern Hydra deployment.

Nonetheless, it knows how to perform migrations based on the channel
versions.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-08-31 18:06:46 +02:00
809d960f49 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f88df4bf25b729d78712c441fb0910f7085e9395' (2024-05-20)
  → 'github:NixOS/nixpkgs/d1930fa7524da1d320d00eecba84e81810477f3a' (2024-06-06)
2024-06-07 15:05:34 +02:00
f7b94cc8b2
Drop nix-index overlay and upgrade to 24.05 2024-06-07 15:05:22 +02:00
Martin Weinelt
063e77c4d1
Merge pull request #73 from NixOS/remove-old-scripts
remove the scripts we're not using
2024-05-30 22:31:37 +02:00
5b70d5e022 remove the scripts we're not using
I did a quick search in the infra repo. And also assuming that anything
that is 4y+ old is probably not maintained.
2024-05-30 19:06:02 +02:00
Martin Weinelt
df7a9c1ba7
Merge pull request #71 from K900/plasma-6-isos
Ship Plasma 6 ISOs
2024-05-22 00:53:39 +02:00
e427972875 Update nix-index to latest git to fix https shenanigans 2024-05-21 21:46:24 +03:00
3f573cb3b6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/526d051b128b82ae045a70e5ff1adf8e6dafa560' (2024-02-20)
  → 'github:NixOS/nixpkgs/f88df4bf25b729d78712c441fb0910f7085e9395' (2024-05-20)
2024-05-21 21:42:43 +03:00
6eac9547ea Ship Plasma 6 ISOs 2024-05-20 19:00:05 +03:00
Martin Weinelt
7b22f478d8
Merge pull request #70 from K900/https
fix: use unwrapped nix-index, patch it for https (for now)
2024-04-17 10:26:16 +02:00
3f72581cba fix: use unwrapped nix-index, patch it for https (for now) 2024-04-17 11:10:51 +03:00
Martin Weinelt
0913471839
Merge pull request #69 from K900/download-more-fast
Parallelize xz by default
2024-02-22 17:11:44 +01:00
b7ece44d13 Parallelize xz by default
🚀
2024-02-22 19:03:58 +03:00
50daba62af
index-debuginfo: support building with Nix >= 2.19 2024-02-21 00:26:10 +01:00
c09f3125d5
flake: bump nixpkgs to 23.11, fix deprecated pkgconfig usage 2024-02-21 00:00:26 +01:00
919045560c
mirror-nixos-branch: fetch channel artifacts from S3 directly (#68)
The channel scripts hit into NixOS/nixos-org-configurations#212
sometimes when fetching ISOs from cache.nixos.org to copy to the
channels bucket. This makes runs take hours when they should take
minutes.

There is no benefit gained from going through cache.nixos.org for this
use case. As noticed by @K900, the .iso nar.xz files on the cache are
unlikely to be touched by anyone other than the channel scripts, so we
don't even end up pre-warming the cache or anything along those lines -
if anything, we just waste cache bytes that could be used by other
paths.

Fixes #67.
2024-01-28 19:40:32 +01:00
Vladimír Čunát
074f417efa
mirror-nixos-branch.pl: drop i686 for > 23.11 2024-01-01 17:49:21 +01:00
e2c8b9f483
mirror-nixos-branch.pl: Prune special handling for NixOS 22.05 2023-12-25 00:30:28 +01:00
Vladimír Čunát
f37d5e1545
mirror-nixos-branch.pl: avoid deprecated nix sub-commands
warning: 'cat-store' is a deprecated alias for 'store cat'
warning: 'hash-file' is a deprecated alias for 'hash file'
2023-11-14 10:09:26 +01:00
Graham Christensen
035a2d539b
Merge pull request #62 from K900/the-nix-index-thing
Replace ad-hoc command-not-found generation scripts with nix-index
2023-01-30 14:08:08 +00:00
Graham Christensen
2fb68d4782
Update index-debuginfo.cc 2023-01-26 08:33:36 -05:00
cda466b04a fix: fix debuginfo paths 2023-01-26 10:11:34 +03:00
1b0aa5e0d1 Use nix and nix-index from nixpkgs instead of their own flakes 2023-01-12 21:00:49 +03:00
8656f3e07f Replace ad-hoc command-not-found generation scripts with nix-index
This is much, MUCH faster than the existing solution, especially on large channels.
It can be made even faster if we actually reuse anything whatsoever, but this is
a massive improvement in itself.
2023-01-12 21:00:49 +03:00
Graham Christensen
d5c5417116
Merge pull request #63 from mweinelt/aarch64-linux-redirects
mirror-nixos-branch: Create redirects for aarch64-linux ISOs
2022-11-30 20:32:49 +01:00
5feab0d769 mirror-nixos-branch: Create redirects for aarch64-linux ISOs 2022-11-30 20:30:41 +01:00
Graham Christensen
8117c53e75
Merge pull request #60 from mweinelt/fix-ova-system-name
Fix typo in system name for ova image
2022-10-27 17:33:25 +02:00
f402c5c2fc
Fix typo in system name for ova image 2022-10-27 17:31:37 +02:00
Graham Christensen
4eb90a0854
Merge pull request #58 from mweinelt/restore-22.05-behavior
Restore old copy behavior for nixos-22.05
2022-10-25 21:39:37 +02:00
b603df8489
Restore old copy behavior for nixos-22.05
Was prematurely removed in the previous commit.
2022-10-13 21:58:52 +02:00
Domen Kožar
368edf64f9
Merge pull request #57 from mweinelt/aarch64-isos
Copy aarch64-linux ISO images unconditionally
2022-10-13 10:43:09 +01:00
c6046943ca
Copy aarch64-linux ISO images unconditionally 2022-10-01 03:44:32 +02:00
Eelco Dolstra
6d74f1a131
Update to the latest Nix 2022-09-08 14:21:15 +02:00
Eelco Dolstra
3ed896a90e
flake.lock: Update
Flake lock file updates:

• Updated input 'nix':
    'github:NixOS/nix/1ab9da915422405452118ebb17b88cdfc90b1e10' (2020-07-07)
  → 'github:NixOS/nix/c8e8eea95e6d235ba0120bda5a8ff87b97f3e5a7' (2022-09-08)
• Added input 'nix/lowdown-src':
    'github:kristapsdz/lowdown/d2c2b44ff6c27b936ec27358a2653caaef8f73b8' (2021-10-06)
• Updated input 'nix/nixpkgs':
    'github:NixOS/nixpkgs/70717a337f7ae4e486ba71a500367cad697e5f09' (2020-06-08)
  → 'github:NixOS/nixpkgs/365e1b3a859281cf11b94f87231adeabbdd878a2' (2022-07-13)
• Added input 'nix/nixpkgs-regression':
    'github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2' (2022-01-24)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c9d124e39dbeefc53c7b3e09fbfc2c26bcbd4845' (2020-07-07)
  → follows 'nix/nixpkgs'
2022-09-08 14:04:44 +02:00
Vladimír Čunát
b2053e2a33
don't generate program index for i686 anymore (#56)
It doesn't seem useful.  It takes some resources (time + RAM),
and most notably it sometimes block channel with harder-to-get logs.
2022-06-23 19:31:33 +02:00
Eelco Dolstra
46e717bce0
Merge pull request #55 from wamserma/cleanup-mirror-script
mirror-nixos-branch: remove special handling for old releases
2022-02-08 19:39:40 +01:00
648eb867a0 mirror-nixos-branch: remove special handling for old releases 2022-02-04 07:51:50 +01:00
Graham Christensen
af3570760b
Merge pull request #52 from helsinki-systems/aarch64-support
mirror-nixos-branch: Add aarch64 support
2021-11-22 07:31:53 -05:00
Janne Heß
fa2c4eae31
mirror-nixos-branches: Fix failing aarch64 downloads 2021-11-22 12:06:24 +01:00
Janne Heß
a961c8a6b9
mirror-nixos-branch: Add aarch64 support 2021-11-22 01:09:59 +01:00
20845261a3
s-maxage => maxage
Try this to see if it improves on
https://github.com/NixOS/nixos-org-configurations/issues/169
2021-10-21 15:02:40 +02:00
4587d77d92
Merge pull request #49 from NixOS/channels-cache-control
set cache-control on mutable objects
2021-09-08 20:49:15 +02:00