Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix integration tests #32

Merged
merged 2 commits into from
Feb 15, 2024
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ FROM golang:alpine AS build-env
FROM golang:alpine
ENV CGO_ENABLED 0
ENV EXABGP_VERSION 4.2.21
ENV GOBGP_VERSION 3.14.0
ENV S6_OVERLAY_VERSION 3.1.5.0
ENV GOBGP_VERSION 3.23.0
ENV S6_OVERLAY_VERSION 3.1.6.2
ENV HOME /root
ENV S6_LOGGING 1
WORKDIR /root
Expand Down
2 changes: 1 addition & 1 deletion docker/exabgp.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
exec /usr/bin/exabgp --root=/exabgp/ /exabgp/etc/exabgp/exabgp.conf
exec /exabgp/venv/bin/exabgp --root=/exabgp/ /exabgp/etc/exabgp/exabgp.conf
2 changes: 1 addition & 1 deletion docker/exporter_valid.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
# this is an `standalone` mode exporter that should be able to successfully call exabgpcli listening on a different port
exec /exabgp/exabgp_exporter --web.listen-address=":9570" --log.format="json" standalone --exabgp.cli.command="/usr/bin/exabgpcli" --exabgp.root="/exabgp/"
exec /exabgp/exabgp_exporter --web.listen-address=":9570" --log.format="json" standalone --exabgp.cli.command="/exabgp/venv/bin/exabgpcli" --exabgp.root="/exabgp/"
3 changes: 3 additions & 0 deletions docker/install-and-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

set -Eeuo pipefail

python3 -m venv /exabgp/venv
source /exabgp/venv/bin/activate

if [[ "${EXABGP_VERSION}" == "main" ]]; then
echo "Installing exabgp from git"
env EXABGP_VERSION="$(date +%Y.%m.%d)" pip3 install git+https://github.com/Exa-Networks/exabgp
Expand Down
Loading