Compare commits
No commits in common. "8b4a5e084713480ff8413b0bd28ccdf7af4055c9" and "6d198d290df1481f845a5c906af82cf421dd1526" have entirely different histories.
8b4a5e0847
...
6d198d290d
@ -1,6 +1,5 @@
|
|||||||
os_flavor: "freebsd"
|
os_flavor: "freebsd"
|
||||||
custom_repo: currentznver4-default-framework
|
custom_repo: current-default-framework
|
||||||
pkgbase_url: "https://freebsdpkg.fizz.buzz/pkgbase/currentznver4-repo/FreeBSD:15:amd64/latest"
|
|
||||||
zfs_snapshot_datasets:
|
zfs_snapshot_datasets:
|
||||||
- path: zroot/freebsd/current/be/default
|
- path: zroot/freebsd/current/be/default
|
||||||
sshd_enabled: true
|
sshd_enabled: true
|
||||||
|
@ -13,16 +13,3 @@ poudriere_builds:
|
|||||||
kernel: GENERIC-NODEBUG
|
kernel: GENERIC-NODEBUG
|
||||||
branch: main
|
branch: main
|
||||||
srcconf: currentznver4_src.conf
|
srcconf: currentznver4_src.conf
|
||||||
# - jail: 14broadwell
|
|
||||||
# ports: default
|
|
||||||
# set: computer
|
|
||||||
# version: 14.0-RELEASE
|
|
||||||
# kernel: GENERIC
|
|
||||||
# srcconf: 14broadwell_src.conf
|
|
||||||
- jail: 14broadwell
|
|
||||||
ports: default
|
|
||||||
set: computer
|
|
||||||
version: CURRENT
|
|
||||||
kernel: GENERIC
|
|
||||||
branch: releng/14.0
|
|
||||||
srcconf: 14broadwell_src.conf
|
|
||||||
|
@ -33,5 +33,5 @@
|
|||||||
cmd = meld "$LOCAL" "$MERGED" "$REMOTE" --output "$MERGED"
|
cmd = meld "$LOCAL" "$MERGED" "$REMOTE" --output "$MERGED"
|
||||||
# Make the middle pane start without any merge progress:
|
# Make the middle pane start without any merge progress:
|
||||||
# cmd = meld "$LOCAL" "$BASE" "$REMOTE" --output "$MERGED"
|
# cmd = meld "$LOCAL" "$BASE" "$REMOTE" --output "$MERGED"
|
||||||
[includeIf "gitdir:/bridge/"]
|
[includeIf "gitdir:/bridge/git/machine_setup/"]
|
||||||
path = /bridge/git/machine_setup/ansible/roles/base/files/gitconfig_home
|
path = /bridge/git/machine_setup/ansible/roles/base/files/gitconfig_home
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
#
|
|
||||||
# Generate a link to google cloud logging by passing in a logging query.
|
|
||||||
import sys
|
|
||||||
import urllib.parse
|
|
||||||
|
|
||||||
def main():
|
|
||||||
query = "\n".join([line.strip() for line in sys.stdin.readlines()])
|
|
||||||
query = urllib.parse.quote(query)
|
|
||||||
query = query + "?project=project-id-here"
|
|
||||||
print(query)
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
main()
|
|
@ -1,14 +1,3 @@
|
|||||||
- name: Install scripts
|
|
||||||
copy:
|
|
||||||
src: "files/{{ item.src }}"
|
|
||||||
dest: "{{ item.dest }}"
|
|
||||||
mode: 0755
|
|
||||||
owner: root
|
|
||||||
group: wheel
|
|
||||||
loop:
|
|
||||||
- src: google_logging_link.py
|
|
||||||
dest: /usr/local/bin/google_logging_link
|
|
||||||
|
|
||||||
- import_tasks: tasks/freebsd.yaml
|
- import_tasks: tasks/freebsd.yaml
|
||||||
when: 'os_flavor == "freebsd"'
|
when: 'os_flavor == "freebsd"'
|
||||||
|
|
||||||
|
@ -1,7 +1,12 @@
|
|||||||
base: {
|
base: {
|
||||||
|
# url: "file:///usr/local/poudriere/data/images/currentznver4-repo/FreeBSD:15:amd64/latest"
|
||||||
|
# url: "file:///update"
|
||||||
|
# url: "https://freebsdpkg.fizz.buzz/pkgbase/currentznver4-repo/FreeBSD:15:amd64/latest",
|
||||||
url: "{{ pkgbase_url }}",
|
url: "{{ pkgbase_url }}",
|
||||||
mirror_type: "none",
|
mirror_type: "none",
|
||||||
enabled: yes,
|
enabled: yes,
|
||||||
|
# signature_type: "pubkey",
|
||||||
|
# pubkey: "/usr/local/etc/pkg/poudriere.pub",
|
||||||
priority: 100
|
priority: 100
|
||||||
}
|
}
|
||||||
# poudriere jail -c -j current -v main -a amd64 -m git -D -U https://git.FreeBSD.org/src.git -K GENERIC-NODEBUG -B -b
|
# poudriere jail -c -j current -v main -a amd64 -m git -D -U https://git.FreeBSD.org/src.git -K GENERIC-NODEBUG -B -b
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
CPUTYPE?=broadwell
|
|
||||||
WITH_MALLOC_PRODUCTION=YES
|
|
||||||
WITHOUT_LLVM_ASSERTIONS=YES
|
|
||||||
WITH_REPRODUCIBLE_BUILD=YES
|
|
||||||
|
|
||||||
# Would be fun to experiment with:
|
|
||||||
# WITHOUT_SOURCELESS=YES
|
|
||||||
# WITHOUT_GAMES=YES
|
|
||||||
# WITHOUT_KERBEROS=YES
|
|
||||||
# WITHOUT_LEGACY_CONSOLE=YES
|
|
||||||
# WITHOUT_LIB32=YES
|
|
||||||
# WITHOUT_LOADER_GELI=YES
|
|
||||||
# WITHOUT_MLX5TOOL=YES
|
|
||||||
# WITHOUT_NDIS=YES
|
|
||||||
# WITHOUT_OFED=YES
|
|
||||||
# WITHOUT_PPP=YES
|
|
||||||
# WITH_SORT_THREADS=YES
|
|
||||||
# WITHOUT_TALK=YES
|
|
||||||
# WITHOUT_TCSH=YES
|
|
||||||
|
|
||||||
|
|
||||||
# Questionable Optimizations
|
|
||||||
WITHOUT_FLOPPY=YES
|
|
||||||
WITHOUT_HTML=YES
|
|
||||||
WITHOUT_IPFW=YES
|
|
||||||
WITHOUT_IPFILTER=YES
|
|
||||||
WITHOUT_LLVM_TARGET_ALL=YES
|
|
||||||
|
|
||||||
# Commented out because maybe I want email alerts for failing disks
|
|
||||||
# WITHOUT_MAIL=YES
|
|
@ -89,6 +89,7 @@ function cmd_start {
|
|||||||
mkdir -p "$RUN_DIR"
|
mkdir -p "$RUN_DIR"
|
||||||
local PORTUPDATE=0
|
local PORTUPDATE=0
|
||||||
local LASTBUILD=0
|
local LASTBUILD=0
|
||||||
|
local LASTCLEAN=0
|
||||||
if [ -e "$TIMES_FILE" ]; then
|
if [ -e "$TIMES_FILE" ]; then
|
||||||
source "$TIMES_FILE"
|
source "$TIMES_FILE"
|
||||||
fi
|
fi
|
||||||
@ -104,34 +105,22 @@ function cmd_start {
|
|||||||
build -j "$JAIL" -p "$PORTS" -z "$SET" -f /usr/local/etc/poudriere.d/$JAIL-$PORTS-$SET-pkglist
|
build -j "$JAIL" -p "$PORTS" -z "$SET" -f /usr/local/etc/poudriere.d/$JAIL-$PORTS-$SET-pkglist
|
||||||
LASTBUILD=$(date +%s)
|
LASTBUILD=$(date +%s)
|
||||||
fi
|
fi
|
||||||
|
if [ $((now - LASTCLEAN)) -gt "$CLEAN_SECONDS" ]; then
|
||||||
|
log "Cleaning for $JAIL-$PORTS-$SET"
|
||||||
|
# Cleanup old unused dist files
|
||||||
|
poudriere distclean -v -y -p "$PORTS" -f /usr/local/etc/poudriere.d/$JAIL-$PORTS-$SET-pkglist
|
||||||
|
poudriere logclean -v -y "$LOG_RETENTION_DAYS"
|
||||||
|
# TODO: Should clean be a global ?
|
||||||
|
LASTCLEAN=$(date +%s)
|
||||||
|
fi
|
||||||
|
|
||||||
cat > "$TIMES_FILE" <<EOF
|
cat > "$TIMES_FILE" <<EOF
|
||||||
PORTUPDATE=$PORTUPDATE
|
PORTUPDATE=$PORTUPDATE
|
||||||
LASTBUILD=$LASTBUILD
|
LASTBUILD=$LASTBUILD
|
||||||
|
LASTCLEAN=$LASTCLEAN
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
|
|
||||||
(
|
|
||||||
set +e
|
|
||||||
local GLOBAL_TIMES_FILE="$INFO_DIR/times"
|
|
||||||
local LASTCLEAN=0
|
|
||||||
if [ -e "$GLOBAL_TIMES_FILE" ]; then
|
|
||||||
source "$GLOBAL_TIMES_FILE"
|
|
||||||
fi
|
|
||||||
local now=$(date +%s)
|
|
||||||
if [ $((now - LASTCLEAN)) -gt "$CLEAN_SECONDS" ]; then
|
|
||||||
log "Global Cleaning."
|
|
||||||
# Cleanup old unused dist files
|
|
||||||
poudriere distclean -v -y -a
|
|
||||||
poudriere logclean -v -y "$LOG_RETENTION_DAYS"
|
|
||||||
LASTCLEAN=$(date +%s)
|
|
||||||
cat > "$GLOBAL_TIMES_FILE" <<EOF
|
|
||||||
LASTCLEAN=$LASTCLEAN
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
|
|
||||||
)
|
|
||||||
sleep 300
|
sleep 300
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
CPUTYPE?=broadwell
|
|
||||||
|
|
||||||
# Disable static for subversion because /usr/local/lib/libutf8proc.a not found despite utf8proc being installed
|
|
||||||
#
|
|
||||||
# Disable static for netpbm because "ld: error: undefined symbol: libdeflate_free_compressor" which is "referenced by tif_zip.o:(ZIPVSetField) in archive /usr/local/lib/libtiff.a"
|
|
||||||
#
|
|
||||||
# Disable static for libsndfile because pulseaudio and libsamplerate fails to find libsndfile.so
|
|
||||||
#
|
|
||||||
# Disable static for firefox because "ld: error: /wrkdirs/usr/ports/www/firefox/work/.build/x86_64-unknown-freebsd/release/libgkrust.a(gkrust_shared-8ce2324940b7b6ec.gkrust_shared.45f3776c712ef4bb-cgu.0.rcgu.o): Unknown attribute kind (86) (Producer: 'LLVM16.0.5-rust-1.71.0-stable' Reader: 'LLVM 13.0.1')"
|
|
||||||
#
|
|
||||||
# Disable static for zsh because histdb is throwing "failed to load module: zsh/regex" and "-regex-match not available for regex"
|
|
||||||
.if ${.CURDIR:N*/devel/subversion*} && ${.CURDIR:N*/graphics/netpbm*} && ${.CURDIR:N*/audio/libsndfile*} && ${.CURDIR:N*/www/firefox*} && ${.CURDIR:N*/shells/zsh*}
|
|
||||||
OPTIONS_SET+=STATIC LTO
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${.CURDIR:M*/editors/emacs*}
|
|
||||||
OPTIONS_SET+=NATIVECOMP
|
|
||||||
.endif
|
|
||||||
|
|
||||||
OPTIONS_SET+=OPTIMIZED_CFLAGS
|
|
||||||
# qemu uses STATIC_LINK instead of the more standard flag of STATIC
|
|
||||||
OPTIONS_SET+=STATIC_LINK
|
|
@ -1,34 +0,0 @@
|
|||||||
devel/git
|
|
||||||
editors/emacs@nox
|
|
||||||
editors/mg
|
|
||||||
ftp/wget
|
|
||||||
lang/python
|
|
||||||
net/rsync
|
|
||||||
net/tcpdump
|
|
||||||
net/wireguard-tools
|
|
||||||
ports-mgmt/pkg
|
|
||||||
ports-mgmt/pkg-provides
|
|
||||||
security/doas
|
|
||||||
security/git-crypt
|
|
||||||
security/gnupg
|
|
||||||
security/libfido2
|
|
||||||
security/pcsc-tools
|
|
||||||
security/pinentry
|
|
||||||
security/sops
|
|
||||||
security/sudo
|
|
||||||
security/u2f-devd
|
|
||||||
shells/bash
|
|
||||||
shells/zsh
|
|
||||||
sysutils/ansible
|
|
||||||
sysutils/ansible-sshjail
|
|
||||||
sysutils/bhyve-firmware
|
|
||||||
sysutils/cpu-microcode
|
|
||||||
sysutils/exfat-utils
|
|
||||||
sysutils/htop
|
|
||||||
sysutils/tmux
|
|
||||||
sysutils/tree
|
|
||||||
sysutils/zrepl
|
|
||||||
textproc/aspell
|
|
||||||
textproc/colordiff
|
|
||||||
textproc/en-aspell
|
|
||||||
textproc/ripgrep
|
|
@ -131,7 +131,7 @@
|
|||||||
- name: Create the jails
|
- name: Create the jails
|
||||||
when: item.version != "CURRENT"
|
when: item.version != "CURRENT"
|
||||||
command: |-
|
command: |-
|
||||||
echo poudriere jail {{poudriere_perf_flags}} -c -j {{ item.jail }} -v {{ item.version }} -a amd64 -K {{ item.kernel|default("GENERIC") }} -B -b
|
poudriere jail {{poudriere_perf_flags}} -c -j {{ item.jail }} -v {{ item.version }} -B -b
|
||||||
args:
|
args:
|
||||||
creates: "/usr/local/poudriere/jails/{{ item.jail }}"
|
creates: "/usr/local/poudriere/jails/{{ item.jail }}"
|
||||||
loop: "{{ poudriere_builds }}"
|
loop: "{{ poudriere_builds }}"
|
||||||
|
@ -49,4 +49,4 @@
|
|||||||
- src: cargo_credentials.toml
|
- src: cargo_credentials.toml
|
||||||
dest: .cargo/credentials
|
dest: .cargo/credentials
|
||||||
- src: cargo_config.toml
|
- src: cargo_config.toml
|
||||||
dest: .cargo/config.toml
|
dest: .cargo/config
|
||||||
|
@ -30,18 +30,6 @@
|
|||||||
when: ssh_hosts is defined
|
when: ssh_hosts is defined
|
||||||
loop: "{{ ssh_hosts }}"
|
loop: "{{ ssh_hosts }}"
|
||||||
|
|
||||||
- name: Compress all SSH connections by default
|
|
||||||
blockinfile:
|
|
||||||
path: "{{ account_homedir.stdout }}/.ssh/config"
|
|
||||||
marker: "# {mark} ANSIBLE MANAGED BLOCK compression"
|
|
||||||
create: true
|
|
||||||
mode: 0600
|
|
||||||
owner: "{{ account_name.stdout }}"
|
|
||||||
group: "{{ group_name.stdout }}"
|
|
||||||
block: |
|
|
||||||
Host *
|
|
||||||
Compression yes
|
|
||||||
|
|
||||||
- import_tasks: tasks/peruser_freebsd.yaml
|
- import_tasks: tasks/peruser_freebsd.yaml
|
||||||
when: 'os_flavor == "freebsd"'
|
when: 'os_flavor == "freebsd"'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user