Add decode_jwt script, install kubeswitch on linux, unfreeze firefox version on linux, disable more bits of currentznver4 FreeBSD build, install terminfo-db, and remove build configs from old version of poudboot.
This commit is contained in:
parent
5823ca90f1
commit
d3c397acf0
8
ansible/roles/base/files/decode_jwt.bash
Normal file
8
ansible/roles/base/files/decode_jwt.bash
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Decode the contents of a JWT
|
||||||
|
set -euo pipefail
|
||||||
|
IFS=$'\n\t'
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
exec jq -R 'split(".") | .[0],.[1] | @base64d | fromjson'
|
@ -47,6 +47,8 @@
|
|||||||
dest: /usr/local/bin/cleanup_temporary_files
|
dest: /usr/local/bin/cleanup_temporary_files
|
||||||
- src: git_fix_author.bash
|
- src: git_fix_author.bash
|
||||||
dest: /usr/local/bin/git_fix_author
|
dest: /usr/local/bin/git_fix_author
|
||||||
|
- src: decode_jwt.bash
|
||||||
|
dest: /usr/local/bin/decode_jwt
|
||||||
|
|
||||||
- import_tasks: tasks/freebsd.yaml
|
- import_tasks: tasks/freebsd.yaml
|
||||||
when: 'os_flavor == "freebsd"'
|
when: 'os_flavor == "freebsd"'
|
||||||
|
@ -1,8 +1,24 @@
|
|||||||
|
- name: Build aur packages
|
||||||
|
register: buildaur
|
||||||
|
become_user: "{{ build_user.name }}"
|
||||||
|
command: "aurutils-sync --no-view {{ item }}"
|
||||||
|
args:
|
||||||
|
creates: "/var/cache/pacman/custom/{{ item }}-*.pkg.tar.*"
|
||||||
|
loop:
|
||||||
|
- kubeswitch-bin
|
||||||
|
|
||||||
|
- name: Update cache
|
||||||
|
when: buildaur.changed
|
||||||
|
pacman:
|
||||||
|
name: []
|
||||||
|
state: present
|
||||||
|
update_cache: true
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- yamllint
|
- yamllint
|
||||||
- stern
|
- stern
|
||||||
# - kubeswitch
|
- kubeswitch-bin
|
||||||
- fluxcd
|
- fluxcd
|
||||||
state: present
|
state: present
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
[options]
|
|
||||||
IgnorePkg = firefox-developer-edition
|
|
@ -51,7 +51,6 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
loop:
|
loop:
|
||||||
- freeze_firefox.conf
|
|
||||||
- freeze_kernel.conf
|
- freeze_kernel.conf
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
|
@ -3,28 +3,35 @@ WITH_MALLOC_PRODUCTION=YES
|
|||||||
WITHOUT_LLVM_ASSERTIONS=YES
|
WITHOUT_LLVM_ASSERTIONS=YES
|
||||||
WITH_REPRODUCIBLE_BUILD=YES
|
WITH_REPRODUCIBLE_BUILD=YES
|
||||||
|
|
||||||
|
WITHOUT_DEBUG_FILES=YES
|
||||||
|
WITHOUT_ASSERT_DEBUG=YES
|
||||||
|
WITHOUT_LLVM_TARGET_ALL=YES
|
||||||
|
WITHOUT_LIB32=YES
|
||||||
|
WITHOUT_HTML=YES
|
||||||
|
|
||||||
|
WITHOUT_OFED=YES # OpenFabrics Enterprise Distributio
|
||||||
|
WITHOUT_FLOPPY=YES
|
||||||
|
WITHOUT_IPFW=YES
|
||||||
|
WITHOUT_IPFILTER=YES
|
||||||
|
WITHOUT_GAMES=YES
|
||||||
|
WITH_SORT_THREADS=YES
|
||||||
|
WITHOUT_TESTS=YES
|
||||||
|
WITHOUT_USB_GADGET_EXAMPLES=YES
|
||||||
|
WITHOUT_HYPERV=YES
|
||||||
|
WITHOUT_LEGACY_CONSOLE=YES
|
||||||
|
|
||||||
# Would be fun to experiment with:
|
# Would be fun to experiment with:
|
||||||
# WITHOUT_SOURCELESS=YES
|
# WITHOUT_SOURCELESS=YES
|
||||||
# WITHOUT_GAMES=YES
|
|
||||||
# WITHOUT_KERBEROS=YES
|
|
||||||
# WITHOUT_LEGACY_CONSOLE=YES
|
|
||||||
WITHOUT_LIB32=YES
|
|
||||||
# WITHOUT_LOADER_GELI=YES
|
# WITHOUT_LOADER_GELI=YES
|
||||||
# WITHOUT_MLX5TOOL=YES
|
# WITHOUT_MLX5TOOL=YES
|
||||||
# WITHOUT_NDIS=YES
|
# WITHOUT_NDIS=YES
|
||||||
# WITHOUT_OFED=YES
|
|
||||||
# WITHOUT_PPP=YES
|
# WITHOUT_PPP=YES
|
||||||
# WITH_SORT_THREADS=YES
|
|
||||||
# WITHOUT_TALK=YES
|
# WITHOUT_TALK=YES
|
||||||
# WITHOUT_TCSH=YES
|
# WITHOUT_TCSH=YES
|
||||||
|
# WITHOUT_KERNEL_SYMBOLS=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
|
# Commented out because maybe I want email alerts for failing disks
|
||||||
# WITHOUT_MAIL=YES
|
# WITHOUT_MAIL=YES
|
||||||
|
|
||||||
|
# Some ports like curl depend on kerberos by default. I figure I'd rather just have kerberos built into the base system than depend on a port.
|
||||||
|
# WITHOUT_KERBEROS=YES
|
||||||
|
@ -35,6 +35,7 @@ graphics/vulkan-validation-layers
|
|||||||
lang/python
|
lang/python
|
||||||
lang/rust-nightly
|
lang/rust-nightly
|
||||||
math/gnuplot
|
math/gnuplot
|
||||||
|
misc/terminfo-db
|
||||||
multimedia/ffmpeg
|
multimedia/ffmpeg
|
||||||
multimedia/libva-intel-driver
|
multimedia/libva-intel-driver
|
||||||
multimedia/libva-intel-media-driver
|
multimedia/libva-intel-media-driver
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
group: wheel
|
group: wheel
|
||||||
loop:
|
loop:
|
||||||
- /usr/ports/distfiles
|
- /usr/ports/distfiles
|
||||||
- /opt/poudriere/build_configs
|
|
||||||
- /usr/local/poudriere/data/logs/bulk
|
- /usr/local/poudriere/data/logs/bulk
|
||||||
|
|
||||||
- name: Install Configuration
|
- name: Install Configuration
|
||||||
@ -86,15 +85,6 @@
|
|||||||
- src: poudriere_schedule_ports_tree_upgrade.bash
|
- src: poudriere_schedule_ports_tree_upgrade.bash
|
||||||
dest: /usr/local/bin/poudriere_schedule_ports_tree_upgrade
|
dest: /usr/local/bin/poudriere_schedule_ports_tree_upgrade
|
||||||
|
|
||||||
- name: Install Configuration
|
|
||||||
template:
|
|
||||||
src: "build_config.j2"
|
|
||||||
dest: "/opt/poudriere/build_configs/{{ item.jail }}-{{ item.ports }}-{{ item.set }}"
|
|
||||||
owner: root
|
|
||||||
group: wheel
|
|
||||||
mode: 0600
|
|
||||||
loop: "{{ poudriere_builds }}"
|
|
||||||
|
|
||||||
- name: Install src.conf
|
- name: Install src.conf
|
||||||
when: item.srcconf is defined
|
when: item.srcconf is defined
|
||||||
copy:
|
copy:
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
JAIL={{ item.jail }}
|
|
||||||
PORTS={{ item.ports }}
|
|
||||||
SET={{ item.set }}
|
|
@ -24,6 +24,12 @@
|
|||||||
# command: cap_mkdb /usr/share/misc/termcap
|
# command: cap_mkdb /usr/share/misc/termcap
|
||||||
# when: wrote_alacritty_cap.changed
|
# when: wrote_alacritty_cap.changed
|
||||||
|
|
||||||
|
- name: Install packages
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- terminfo-db
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Append alacritty terminfo
|
- name: Append alacritty terminfo
|
||||||
command: "tic -xe alacritty,alacritty-direct -"
|
command: "tic -xe alacritty,alacritty-direct -"
|
||||||
args:
|
args:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user