Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
IPRoute automatic build (#166)
Browse files Browse the repository at this point in the history
* Test IPRoute automatic build

* Change iproute default container

* Remove aux branch from trigger on IPRoute action

* Add SixSq dockerhub organization

* Update build-ip-route.yml: build on push to "main" branch

---------

Co-authored-by: Nacho <nacho@sixsq.com>
Co-authored-by: Lionel <schaubl@users.noreply.github.com>
  • Loading branch information
3 people committed May 22, 2023
1 parent 077fea0 commit b44563f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-ip-route.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
PROJECT_URL=${{ github.server_url }}/${{ github.repository }}
PACKAGE_NAME=${{ env.PACKAGE_NAME }}
push: true
tags: |
tags: >
nuvlaedge/iproute2:${{ github.head_ref || github.ref_name }},
nuvlaedge/iproute2:latest,
sixsq/iproute2:latest
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max
2 changes: 1 addition & 1 deletion code/agent/monitor/components/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class NetworkMonitor(Monitor):
Handles the retrieval of IP networking data.
"""
_REMOTE_IPV4_API: str = "https://api.ipify.org?format=json"
_AUXILIARY_DOCKER_IMAGE: str = "sixsq/iproute2:latest"
_AUXILIARY_DOCKER_IMAGE: str = "nuvlaedge/iproute2:latest"
_IP_COMMAND_ARGS: str = '-j route'
_PUBLIC_IP_UPDATE_RATE: int = 3600
_NUVLAEDGE_COMPONENT_LABEL_KEY: str = util.base_label
Expand Down

0 comments on commit b44563f

Please sign in to comment.