overlay/packages.yml

104 lines
3.3 KiB
YAML

# Configure automatic updates for ebuilds.
app-admin/1password:
resolver: apt
options:
repository: "deb https://downloads.1password.com/linux/debian/amd64 stable main"
package: 1password
app-admin/google-cloud-cli-bin:
resolver: apt
options:
repository: "deb https://packages.cloud.google.com/apt cloud-sdk main"
package: google-cloud-cli
app-admin/op-cli-bin:
resolver: apt
options:
repository: "deb https://downloads.1password.com/linux/debian/amd64 stable main"
package: 1password-cli
dev-util/mise:
resolver: git
options:
disable_semver: true
url: https://github.com/jdx/mise
# We have to regenerate the ebuild to get new crates and licenses to
# be reflected, so we have to have custom steps.
steps:
- checkout: https://github.com/jdx/mise
- original_ebuild: mise.ebuild
- command: pycargoebuild -i mise.ebuild
- ebuild: mise.ebuild
net-im/armcord:
resolver: git
options:
url: https://github.com/ArmCord/ArmCord
net-vpn/tailscale:
resolver: git
options:
url: https://github.com/tailscale/tailscale
# We have to generate a Go dependency archive and upload it to a
# stable location, so we do that during this process.
steps:
- checkout: https://github.com/tailscale/tailscale
- original_ebuild: new.ebuild
- generate_go_deps: full
- command: |-
set -euxo pipefail
# Get the shell variables and rewrite the ebuild to contain
# them.
eval "$(./build_dist.sh shellvars)"
sed -i 's/VERSION_MINOR=".*"/VERSION_MINOR="'"${VERSION_MINOR}"'"/' new.ebuild
sed -i 's/VERSION_SHORT=".*"/VERSION_SHORT="'"${VERSION_SHORT}"'"/' new.ebuild
sed -i 's/VERSION_LONG=".*"/VERSION_LONG="'"${VERSION_LONG}"'"/' new.ebuild
sed -i 's/VERSION_GIT_HASH=".*"/VERSION_GIT_HASH="'"${VERSION_GIT_HASH}"'"/' new.ebuild
- upload_artifact: deps.tar.xz
- ebuild: new.ebuild
app-admin/chezmoi:
resolver: git
options:
url: https://github.com/twpayne/chezmoi
# We have to generate a Go dependency archive and upload it to a
# stable location, so we do that during this process.
steps:
- checkout: https://github.com/twpayne/chezmoi
- original_ebuild: new.ebuild
- generate_go_deps: full
- command: |-
set -euxo pipefail
# Get the shell variables and rewrite the ebuild to contain
# them.
VERSION_GIT_HASH=$(go run assets/scripts/generate-commit.go)
sed -i 's/VERSION_GIT_HASH=".*"/VERSION_GIT_HASH="'"${VERSION_GIT_HASH}"'"/' new.ebuild
- upload_artifact: deps.tar.xz
- ebuild: new.ebuild
dev-util/glab:
resolver: git
options:
url: https://gitlab.com/gitlab-org/cli.git
# We have to generate a Go dependency archive and upload it to a
# stable location, so we do that during this process.
steps:
- checkout: https://gitlab.com/gitlab-org/cli
- original_ebuild: new.ebuild
- generate_go_deps: full
- upload_artifact: deps.tar.xz
- ebuild: new.ebuild
dev-util/doppler:
resolver: git
options:
url: https://github.com/DopplerHQ/cli
# We have to generate a Go dependency archive and upload it to a
# stable location, so we do that during this process.
steps:
- checkout: https://github.com/DopplerHQ/cli
- original_ebuild: new.ebuild
- generate_go_deps: full
- upload_artifact: deps.tar.xz
- ebuild: new.ebuild