1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-10 06:36:08 +02:00
Commit Graph

104 Commits

Author SHA1 Message Date
Kristian Klausen 4112bdf9fd Make ansible-lint happy
yaml: truthy value should be one of [false, true] (truthy)
yaml: wrong indentation: expected 4 but found 2 (indentation)
yaml: too few spaces before comment (comments)
yaml: missing starting space in comment (comments)
yaml: too many blank lines (1 > 0) (empty-lines)
yaml: too many spaces after colon (colons)
yaml: comment not indented like content (comments-indentation)
yaml: no new line character at the end of file (new-line-at-end-of-file)
load-failure: Failed to load or parse file
parser-error: couldn't resolve module/action 'hosts'. This often indicates a misspelling, missing collection, or incorrect module path.
2021-02-14 14:22:05 +01:00
Sven-Hendrik Haase 83cbb36866
Add build.archlinux.org 2021-01-26 18:06:09 +01:00
Jan Alexander Steffens (heftig) 3d34f2cb11
diffpkg: Make the architecture blue 2020-10-21 17:15:28 +02:00
Jan Alexander Steffens (heftig) 14d2745ca6
archbuild: diffpkg: Print .PKGINFO diff by default 2020-10-21 17:09:20 +02:00
Jan Alexander Steffens (heftig) bb8d945316
archbuild: diffpkg: Speed up bsdtar 2020-10-21 17:08:57 +02:00
Frederik Schwan e62da2db02
remove distinction between btrfs and non-btrfs FS in clean-chroots
rmdir of subvolumes is supported since 4.18
2020-10-07 16:56:53 +02:00
Frederik Schwan 63887d3b09 fix E208 'File permissions not mentioned' 2020-08-27 05:29:00 +00:00
Frederik Schwan a4a4f3e76c
fix E303 'Using command rather than module'
also use systemd instead of service module
2020-06-17 02:43:12 +02:00
Jan Alexander Steffens (heftig) 358107ba01
mkpkg: Fix uploading files containing : (epoch) 2020-06-13 07:10:13 +02:00
Frederik Schwan 2b2bd06512
fix E206 'Variables should have spaces before and after: {{ var_name }}' 2020-06-12 22:20:48 +02:00
Jan Alexander Steffens (heftig) 0d9a79fab1
gitpkg: Replace ninja with meson 2020-05-19 19:52:52 +02:00
Jan Alexander Steffens (heftig) 58c5d9116c
clean-chroots: Recurse, like devtools' subvolume_delete_recursive does
Needed to get rid of subvolumes created by tmpfiles.
2020-05-06 13:04:00 +02:00
Giancarlo Razzolini 2d50b119dd
roles/archbuild: Add makerepropkg to the list of allowed tools
Added makerepropkg to the list of tools allowed on archbuild role.
2019-12-18 10:01:13 -03:00
Jan Alexander Steffens (heftig) 9f2c2515c3
archbuild: Update elinks-pkgdiffrepo.conf 2019-11-30 06:14:42 +01:00
Jan Alexander Steffens (heftig) 9158372630
mkpkg: Fix quoting of array variables
Uniformly use the expension flag instead of the modifier.

Use single quotes instead of backslashes for the outer quoting to reduce
the amount of quoting needed.
2019-11-22 10:31:44 +01:00
Jan Alexander Steffens (heftig) e5b9ab35ee
mkpkg: Wrap the script passed over ssh in another level of quotes
Needed because we still have the login (command) shell to deal with.
2019-11-18 21:24:40 +01:00
Jan Alexander Steffens (heftig) 31667f0639
archbuild: Update package set 2019-10-26 23:35:19 +02:00
Jan Alexander Steffens (heftig) 020403468e
mkpkg: Remove broken delta support 2019-10-26 23:32:16 +02:00
Jan Alexander Steffens (heftig) a4f2a7d228
archbuild: Also skip log files 2019-06-26 20:45:57 +02:00
Jan Alexander Steffens (heftig) b232d6f8b9
archbuild: Improve diffrepo 2019-06-26 02:07:18 +02:00
Jan Alexander Steffens (heftig) ec5fa60443
archbuild: Add pkgdiffrepo
Very useful to debug upgrades, especially when doing things like meson
ports, where I caught problems multiple times.
2019-06-26 02:07:18 +02:00
Jan Alexander Steffens (heftig) 9df9c3d6a3
archbuild: Improve handling of signature files 2019-06-26 01:23:59 +02:00
Jan Alexander Steffens (heftig) f1330d3b1f
roles/archbuild: Fix package globbing to match all compressions 2019-03-28 08:08:58 +01:00
Evangelos Foutras 00a18bdff1 Enable zram on build servers (with size 1/4 * RAM) 2019-03-22 09:46:09 +02:00
Jan Alexander Steffens (heftig) 8c313fe035
mkpkg: Add remote repo support 2019-03-22 03:03:41 +01:00
Jan Alexander Steffens (heftig) e2d0380b45
Gitpkg: Add --print-errorlogs to meson test 2019-03-15 17:40:39 +01:00
Jan Alexander Steffens (heftig) 4c022fed44
gitpkg: Support '?signed' 2019-02-23 21:27:36 +01:00
Jan Alexander Steffens (heftig) 1902860609
clean-dests: Speed up
Try not to scan deep into directory trees and exit early if we find a
new enough file. An LLVM SVN checkout has a lot of files.

I don't think zsh glob can do this so reimplement in bash+find.
2019-02-17 02:05:17 +01:00
Florian Pritz d9006d46f7
archbuild: Prevent clean-chroots.service from mounting tmpfs
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-01-28 18:10:08 +01:00
Florian Pritz 5d4587f8fc
archbuild: Disable units when archbuild_fs is not tmpfs
Installing some services and config files doesn't really matter. What
matters is if they are enabled so only use the conditional there. The
rest is easier and less confusing if it just installs the files all the
time. Otherwise we'd need a second task that performs the other case and
then if we change something we'd also have to adjust that task. That's
unnecessarily error prone.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-01-24 00:36:52 +01:00
Florian Pritz 0088387540
Replace deprecated pacman with_items usage with direct list
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-25 16:52:33 +01:00
Eli Schwartz 6560a2dfc0 archbuild: allow passing through the SOURCE_DATE_EPOCH variable
When using restrictive sudoers profiles, the builtin mechanism for
whitelisting this variable on the sudo command line does not work.

Explicitly whitelist it anyway by matching on the ARCHBUILD role.
2018-12-14 09:54:51 +01:00
Jan Alexander Steffens (heftig) bda67d8b9a
roles/archbuild: Make srcdest world-writable.
The container buildusers need to be able to write to SRCDEST, so we need
world-writeability. Argh.
2018-08-05 10:41:27 +02:00
Jan Alexander Steffens (heftig) a1fb9721ab
roles/archbuild: Remove restricted deletion from srcdest 2018-08-04 17:32:36 +02:00
Jan Alexander Steffens (heftig) 3ca32af8ef
gitpkg: Tweak check syntax 2018-07-20 16:58:55 +02:00
Jan Alexander Steffens (heftig) 106413b6a9
gitpkg: Update meson install (0.47.0) 2018-07-11 00:54:30 +02:00
Jan Alexander Steffens (heftig) 2e9b5eaf44
gitpkg: Sort branches and tags so newest are at the bottom 2018-06-19 14:56:24 +02:00
Jan Alexander Steffens (heftig) 7e72cf2cf4
gitpkg: Update DISCOVER_URLS 2018-06-14 21:09:46 +02:00
Jelle van der Waa e0b972c1a9 diffrepo: use makepkg --packagelist to retrieve *.pkg.tar.xz
globbing does not take PKGDEST in account, therefore use makepkg
--packagelst.
2018-06-03 19:41:01 +02:00
Florian Pritz 065f54a0bd
Track makepkg.conf in archbuild role
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-29 22:23:46 +02:00
Jan Alexander Steffens (heftig) 983ea0e637
roles/archbuild: Reduce tmpfs size to 70% 2018-05-29 21:42:01 +02:00
Jan Alexander Steffens (heftig) 4510e9c8ed
archbuild: Do not use chunked swap space
Keeps running into timeouts and litters ephemeral unit files.

  systemd[1]: dev-loop3.device: Job dev-loop3.device/start timed out.
  systemd[1]: Timed out waiting for device /dev/loop3.
  systemd[1]: Dependency failed for Swap File.
  systemd[1]: dev-loop3.swap: Job dev-loop3.swap/start failed with result 'dependency'.
  systemd[1]: dev-loop3.device: Job dev-loop3.device/start failed with result 'timeout'.
  systemd[1]: dev-loop2.device: Job dev-loop2.device/start timed out.
  systemd[1]: Timed out waiting for device /dev/loop2.
  systemd[1]: Dependency failed for Swap File.
  systemd[1]: dev-loop2.swap: Job dev-loop2.swap/start failed with result 'dependency'.
  systemd[1]: dev-loop2.device: Job dev-loop2.device/start failed with result 'timeout'.
2018-05-04 23:27:52 +02:00
Bartłomiej Piotrowski b57312ba7d archbuild: update systemd-swap config to reflect upstream changes 2018-02-18 19:38:01 +01:00
Eli Schwartz f6777c644a roles/archbuild: Use a more generic sudoers rule
Rather than explicitly listing each command allowed, match any
executable of the form /usr/bin/*-x86_64-build -- this will only ever be
a symlink to archbuild which is all we are looking for.

devtools allows new archbuild configurations to be easily added by
creating a symlink of the form ${config}-${arch}-build and adding the
relevant /usr/share/devtools/pacman-${config}.conf

This change allows the sudoers policy to automatically support these, in
the event that devtools distributes new archbuild configs or a sysadmin
adds a custom one.
2018-02-13 17:58:29 +01:00
Jan Alexander Steffens (heftig) d9f93333e6
gitpkg: Scrub refs to avoid encoding errors
Just turn stupid non-UTF-8 refs into garbage instead of crashing.
2018-02-11 23:36:59 +01:00
Jan Alexander Steffens (heftig) 27bbbd307d
mkpkg: archbuild already uses sudo 2018-01-05 17:31:48 +01:00
Florian Pritz 591531f4dd
archbuild: Remove tmpfs mount service being deployed without condition
This is also done in the next task with a condition that installs it
only when enabled which is correct. This one is wrong so remove it.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-12-21 00:26:55 +01:00
Jan Alexander Steffens (heftig) f81c6c48ae
gitpkg: Make default meson funcs a bit more compact 2017-11-26 16:18:02 +01:00
Jan Alexander Steffens (heftig) 6136bd2b0b
roles: Remove various references to i686 2017-11-08 22:58:30 +01:00
Bartłomiej Piotrowski a2b836ba8d archbuild: make tmpfs usage optional 2017-10-20 14:24:07 +02:00