diff --git a/package-builders/Dockerfile.amazonlinux2.v1 b/package-builders/Dockerfile.amazonlinux2.v1 index f698f9b..aa96f8e 100644 --- a/package-builders/Dockerfile.amazonlinux2.v1 +++ b/package-builders/Dockerfile.amazonlinux2.v1 @@ -7,6 +7,7 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN yum update -y && \ yum install -y autoconf \ diff --git a/package-builders/Dockerfile.amazonlinux2023.v1 b/package-builders/Dockerfile.amazonlinux2023.v1 index 121dac3..def57d4 100644 --- a/package-builders/Dockerfile.amazonlinux2023.v1 +++ b/package-builders/Dockerfile.amazonlinux2023.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN dnf distro-sync -y --nodocs && \ dnf clean packages && \ diff --git a/package-builders/Dockerfile.centos-stream8.v1 b/package-builders/Dockerfile.centos-stream8.v1 index 263c62d..a4da682 100644 --- a/package-builders/Dockerfile.centos-stream8.v1 +++ b/package-builders/Dockerfile.centos-stream8.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN dnf distro-sync -y --nodocs && \ dnf install -y --nodocs 'dnf-command(config-manager)' epel-release && \ diff --git a/package-builders/Dockerfile.centos-stream9.v1 b/package-builders/Dockerfile.centos-stream9.v1 index fc694ce..ac90f6a 100644 --- a/package-builders/Dockerfile.centos-stream9.v1 +++ b/package-builders/Dockerfile.centos-stream9.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN dnf distro-sync -y --nodocs && \ dnf install -y --nodocs 'dnf-command(config-manager)' epel-release && \ diff --git a/package-builders/Dockerfile.centos7.v1 b/package-builders/Dockerfile.centos7.v1 index 86b8eb9..4a83142 100644 --- a/package-builders/Dockerfile.centos7.v1 +++ b/package-builders/Dockerfile.centos7.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN yum install -y epel-release && \ yum update -y && \ diff --git a/package-builders/Dockerfile.debian10.v1 b/package-builders/Dockerfile.debian10.v1 index 45c6b1d..6d39899 100644 --- a/package-builders/Dockerfile.debian10.v1 +++ b/package-builders/Dockerfile.debian10.v1 @@ -12,6 +12,8 @@ ENV VERSION=0.1 # This is needed to ensure package installs don't prompt for any user input. ENV DEBIAN_FRONTEND=noninteractive +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN apt-get update && \ apt-get upgrade -y && \ diff --git a/package-builders/Dockerfile.debian11.v1 b/package-builders/Dockerfile.debian11.v1 index a020fc0..4666eea 100644 --- a/package-builders/Dockerfile.debian11.v1 +++ b/package-builders/Dockerfile.debian11.v1 @@ -12,6 +12,8 @@ ENV VERSION=0.1 # This is needed to ensure package installs don't prompt for any user input. ENV DEBIAN_FRONTEND=noninteractive +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN apt-get update && \ apt-get upgrade -y && \ diff --git a/package-builders/Dockerfile.debian12.v1 b/package-builders/Dockerfile.debian12.v1 index be666b4..5860e34 100644 --- a/package-builders/Dockerfile.debian12.v1 +++ b/package-builders/Dockerfile.debian12.v1 @@ -6,6 +6,8 @@ ENV VERSION=0.1 # This is needed to ensure package installs don't prompt for any user input. ENV DEBIAN_FRONTEND=noninteractive +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN apt-get update && \ apt-get upgrade -y && \ diff --git a/package-builders/Dockerfile.fedora38.v1 b/package-builders/Dockerfile.fedora38.v1 index d93d1d3..33c88ab 100644 --- a/package-builders/Dockerfile.fedora38.v1 +++ b/package-builders/Dockerfile.fedora38.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN dnf distro-sync -y --nodocs && \ dnf clean -y packages && \ diff --git a/package-builders/Dockerfile.fedora39.v1 b/package-builders/Dockerfile.fedora39.v1 index e23bf89..a986b9f 100644 --- a/package-builders/Dockerfile.fedora39.v1 +++ b/package-builders/Dockerfile.fedora39.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN dnf distro-sync -y --nodocs && \ dnf clean -y packages && \ diff --git a/package-builders/Dockerfile.opensuse15.4.v1 b/package-builders/Dockerfile.opensuse15.4.v1 index e2c0e6f..42be6ea 100644 --- a/package-builders/Dockerfile.opensuse15.4.v1 +++ b/package-builders/Dockerfile.opensuse15.4.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=0.1 +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN zypper update -y && \ zypper install -y --allow-downgrade \ diff --git a/package-builders/Dockerfile.opensuse15.5.v1 b/package-builders/Dockerfile.opensuse15.5.v1 index d493537..57cb043 100644 --- a/package-builders/Dockerfile.opensuse15.5.v1 +++ b/package-builders/Dockerfile.opensuse15.5.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=0.1 +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN zypper update -y && \ zypper install -y --allow-downgrade \ diff --git a/package-builders/Dockerfile.opensusetumbleweed.v1 b/package-builders/Dockerfile.opensusetumbleweed.v1 index a9bf78a..a615f80 100644 --- a/package-builders/Dockerfile.opensusetumbleweed.v1 +++ b/package-builders/Dockerfile.opensusetumbleweed.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN zypper update -y && \ zypper install -y --allow-downgrade \ diff --git a/package-builders/Dockerfile.oraclelinux8.v1 b/package-builders/Dockerfile.oraclelinux8.v1 index 6ead1c7..2c1275e 100644 --- a/package-builders/Dockerfile.oraclelinux8.v1 +++ b/package-builders/Dockerfile.oraclelinux8.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" COPY package-builders/ol8-epel.repo /etc/yum.repos.d/ol8-epel.repo diff --git a/package-builders/Dockerfile.oraclelinux9.v1 b/package-builders/Dockerfile.oraclelinux9.v1 index 3f02886..8b7f0b0 100644 --- a/package-builders/Dockerfile.oraclelinux9.v1 +++ b/package-builders/Dockerfile.oraclelinux9.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" COPY package-builders/ol9-epel.repo /etc/yum.repos.d/ol9-epel.repo diff --git a/package-builders/Dockerfile.rockylinux8.v1 b/package-builders/Dockerfile.rockylinux8.v1 index fcceac8..c604b08 100644 --- a/package-builders/Dockerfile.rockylinux8.v1 +++ b/package-builders/Dockerfile.rockylinux8.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN dnf distro-sync -y --nodocs && \ dnf install -y --nodocs 'dnf-command(config-manager)' epel-release && \ diff --git a/package-builders/Dockerfile.rockylinux9.v1 b/package-builders/Dockerfile.rockylinux9.v1 index 934fd2f..4e30de9 100644 --- a/package-builders/Dockerfile.rockylinux9.v1 +++ b/package-builders/Dockerfile.rockylinux9.v1 @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.description="Package builder image for Netdata of LABEL org.opencontainers.image.vendor="Netdata Inc." ENV VERSION=$VERSION +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN dnf distro-sync -y --nodocs && \ dnf install -y --nodocs 'dnf-command(config-manager)' epel-release && \ diff --git a/package-builders/Dockerfile.ubuntu20.04.v1 b/package-builders/Dockerfile.ubuntu20.04.v1 index 7ae6815..324ae1e 100644 --- a/package-builders/Dockerfile.ubuntu20.04.v1 +++ b/package-builders/Dockerfile.ubuntu20.04.v1 @@ -12,6 +12,8 @@ ENV VERSION=0.1 # This is needed to keep package installs from prompting about configuration. ENV DEBIAN_FRONTEND=noninteractive +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN apt-get update && \ apt-get upgrade -y && \ diff --git a/package-builders/Dockerfile.ubuntu22.04.v1 b/package-builders/Dockerfile.ubuntu22.04.v1 index dd337e9..8b70295 100644 --- a/package-builders/Dockerfile.ubuntu22.04.v1 +++ b/package-builders/Dockerfile.ubuntu22.04.v1 @@ -12,6 +12,8 @@ ENV VERSION=0.1 # This is needed to keep package installs from prompting about configuration. ENV DEBIAN_FRONTEND=noninteractive +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN apt-get update && \ apt-get upgrade -y && \ diff --git a/package-builders/Dockerfile.ubuntu23.10.v1 b/package-builders/Dockerfile.ubuntu23.10.v1 index f993337..b9506cc 100644 --- a/package-builders/Dockerfile.ubuntu23.10.v1 +++ b/package-builders/Dockerfile.ubuntu23.10.v1 @@ -12,6 +12,8 @@ ENV VERSION=0.1 # This is needed to keep package installs from prompting about configuration. ENV DEBIAN_FRONTEND=noninteractive +# Dummy Sentry DSN +ENV SENTRY_DSN="https://1ea0662a@o01e.ingest.sentry.io/dummy" RUN apt-get update && \ apt-get upgrade -y && \ diff --git a/package-builders/entrypoint.sh b/package-builders/entrypoint.sh index 4548e0a..76ca4f6 100755 --- a/package-builders/entrypoint.sh +++ b/package-builders/entrypoint.sh @@ -4,6 +4,10 @@ if [ -d /cmake/bin ]; then PATH="/cmake/bin:${PATH}" fi +if [ -n "$NETDATA_SENTRY_DSN" ]; then + SENTRY_DSN="$NETDATA_SENTRY_DSN" +fi + fail() { printf "FAIL: %s\n" "$1" if [ -t 1 ]; then