Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions newrelic-infrastructure-bundle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
package:
name: newrelic-infrastructure-bundle
version: 3.2.2
epoch: 0
description: New Relic Infrastructure containerised agent bundle
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- wolfi-baselayout
- busybox
- build-base
- go
- ca-certificates-bundle

pipeline:
- uses: git-checkout
with:
repository: https://github.com/newrelic/infrastructure-bundle
tag: v${{package.version}}
expected-commit: ece3dc47380c31d131a17d2b3b9f42f9811545fc
destination: ${{package.name}}

- working-directory: ${{package.name}}
pipeline:
- runs: |
go run downloader.go

case "${{build.arch}}" in
x86_64) export TARGETARCH="amd64" ;;
aarch64) export TARGETARCH="arm64" ;;
*) echo "Unsupported architecture: ${{build.arch}}"; exit 1 ;;
esac

cd ./out/$TARGETARCH

mkdir -p ${{targets.destdir}}/var
mkdir -p ${{targets.destdir}}/etc
mkdir -p ${{targets.destdir}}/usr

mv ./var/db "${{targets.destdir}}"/var
mv ./etc/newrelic-infra "${{targets.destdir}}"/etc

mv ./usr/bin "${{targets.destdir}}"/usr
mv ./usr/share "${{targets.destdir}}"/usr
- uses: strip

update:
enabled: true
github:
identifier: newrelic/infrastructure-bundle
use-tag: true
tag-filter: v
strip-prefix: v
1 change: 1 addition & 0 deletions packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ kubernetes-dashboard-metrics-scraper
buildkitd
nri-kubernetes
newrelic-infra-operator
newrelic-infrastructure-bundle
kine
aws-load-balancer-controller
cloudwatch-exporter
Expand Down