mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-22 07:28:06 +00:00

This does the following updates: * Upgrade to Operator SDK v1.34.1. This fixes building multi-arch images from Makefile. Check this MR from operator-framework for details. * Update Go dependencies. This addresses Dependabot alert ["Golang protojson.Unmarshal function infinite loop when unmarshaling certain forms of invalid JSON"](https://github.com/1Password/onepassword-operator/security/dependabot/13). * Update versions of the GitHub Actions used in the pipelines. * Update Kubernetes related tools (such as controller-tools version, and operator-sdk for ci pipelines) By updating dependencies, the pipelines no longer fail due to a panic error when running `make test`.
14 lines
479 B
YAML
14 lines
479 B
YAML
freebsd_task:
|
|
name: 'FreeBSD'
|
|
freebsd_instance:
|
|
image_family: freebsd-13-2
|
|
install_script:
|
|
- pkg update -f
|
|
- pkg install -y go
|
|
test_script:
|
|
# run tests as user "cirrus" instead of root
|
|
- pw useradd cirrus -m
|
|
- chown -R cirrus:cirrus .
|
|
- FSNOTIFY_BUFFER=4096 sudo --preserve-env=FSNOTIFY_BUFFER -u cirrus go test -parallel 1 -race ./...
|
|
- sudo --preserve-env=FSNOTIFY_BUFFER -u cirrus go test -parallel 1 -race ./...
|