Skip to content

Commit

Permalink
Upgrade dependencies (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartinou committed May 26, 2024
1 parent 4362111 commit 377dd60
Show file tree
Hide file tree
Showing 46 changed files with 4,235 additions and 2,511 deletions.
30 changes: 16 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
dist: jammy
language: shell
os: linux

env:
global:
- NODE_VERSION=16
- NODE_VERSION=18
- CC_TEST_REPORTER_ID=46ef31dae5b656e0f4be410a86bd83bdcf73e7d27ab33a704c197e6fe4bf02a0
- DOCKER_CLI_EXPERIMENTAL=enabled
# - DOCKER_CLI_EXPERIMENTAL=enabled

before_install:

- export IMAGE_VERSION=${TRAVIS_BRANCH//\//\_}
- export IMAGE_VERSION=${IMAGE_VERSION//\#/\_}

# Install docker with buildx
- sudo rm -rf /var/lib/apt/lists/*
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- lsb_release -cs
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) edge"
# - for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
# - sudo apt-get update
# - sudo apt-get install ca-certificates curl
- sudo install -m 0755 -d /etc/apt/keyrings
- sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
- sudo chmod a+r /etc/apt/keyrings/docker.asc
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
- cat /proc/sys/fs/binfmt_misc/qemu-aarch64
- sudo apt-get install -y docker-buildx-plugin
# - docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# - cat /proc/sys/fs/binfmt_misc/qemu-aarch64

# Install Nodejs
- nvm install $NODE_VERSION
Expand All @@ -46,6 +50,7 @@ install:
- (cd app && npm test)

# Package ui
- set -v
- (cd ui && npm run build)

# Build wud docker image
Expand Down Expand Up @@ -95,7 +100,7 @@ script:

# Pull vaultwarden
- docker pull vaultwarden/server
- docker pull vaultwarden/server:1.28.1-alpine
- docker pull vaultwarden/server:1.30.5-alpine

# Pull youtubedl
- docker pull jeeaaasustest/youtube-dl
Expand Down Expand Up @@ -123,9 +128,6 @@ script:
# GITLAB
- docker run -d --name gitlab_test --label 'wud.watch=true' --label 'wud.tag.include=^\d+\.\d+\.\d+$' registry.gitlab.com/manfred-martin/docker-registry-test:1.0.0

# HOTIO
- docker run -d --name hotio_radarr --label 'wud.watch=true' --label 'wud.tag.include=^release-\d+\.\d+.\d+.\d+$' cr.hotio.dev/hotio/radarr:release-4.0.4.5922

# HUB
- docker run -d --name hub_homeassistant_202161 --label 'wud.watch=true' --label 'wud.tag.include=^\d+\.\d+.\d+$' --label 'wud.link.template=https://github.com/home-assistant/core/releases/tag/${major}.${minor}.${patch}' homeassistant/home-assistant:2021.6.1
- docker run -d --name hub_homeassistant_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' homeassistant/home-assistant
Expand All @@ -145,7 +147,7 @@ script:
- docker run -d --name hub_traefik_245 --label 'wud.watch=true' --label 'wud.tag.include=^\d+\.\d+.\d+$' traefik:2.4.5
- docker run -d --name hub_traefik_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' traefik

- docker run -d --name hub_vaultwarden_1222 --label 'wud.watch=true' --label 'wud.tag.include=^\d+\.\d+.\d+-alpine$' -e I_REALLY_WANT_VOLATILE_STORAGE=true vaultwarden/server:1.28.1-alpine
- docker run -d --name hub_vaultwarden_1222 --label 'wud.watch=true' --label 'wud.tag.include=^\d+\.\d+.\d+-alpine$' -e I_REALLY_WANT_VOLATILE_STORAGE=true vaultwarden/server:1.30.5-alpine
- docker run -d --name hub_vaultwarden_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' -e I_REALLY_WANT_VOLATILE_STORAGE=true vaultwarden/server

- docker run -d --name hub_youtubedb_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' jeeaaasustest/youtube-dl
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Common Stage
FROM node:16-alpine as base
FROM node:18-alpine as base

LABEL maintainer="fmartinou"
EXPOSE 3000
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ Gets you notified when new versions of your Docker containers are available and
> [**Google Container Registry**](https://cloud.google.com/container-registry)
> [**Hotio**](https://hotio.dev)
> [**LinuxServer Container Registry (lscr.io)**](https://fleet.linuxserver.io/)
> [**Redhat Quay**](https://quay.io/)
Expand Down
2 changes: 1 addition & 1 deletion app/nodemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"WUD_VERSION": "dev",
"WUD_STORE_PATH": ".store",
"WUD_TRIGGER_MOCK_EXAMPLE_MOCK": "mock",
"WUD_TRIGGER_MQTT_LOCAL_URL": "mqtt://192.168.1.2:1883",
"WUD_TRIGGER_MQTT_LOCAL_URL": "mqtt://192.168.68.50:1883",
"WUD_TRIGGER_MQTT_LOCAL_HASS_ENABLED": "true",
"WUD_WATCHER_LOCAL_WATCHBYDEFAULT": false,
"WUD_REGISTRY_CUSTOM_URL": "http://localhost:5000",
Expand Down

0 comments on commit 377dd60

Please sign in to comment.