fix e2e test for newes agh version (#364)

This commit is contained in:
Marc Brugger 2024-07-08 20:58:34 +02:00 committed by GitHub
parent 0af476ac8e
commit 9af8c00bca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 28 additions and 25 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
dist
bin

View file

@ -1,4 +1,4 @@
FROM golang:1.22-bullseye as builder
FROM golang:1.22-bullseye AS builder
WORKDIR /go/src/app

4
go.mod
View file

@ -1,8 +1,6 @@
module github.com/bakito/adguardhome-sync
go 1.22.0
toolchain go1.22.2
go 1.22.4
require (
github.com/caarlos0/env/v10 v10.0.0

View file

@ -7,3 +7,4 @@ if [[ $(helm list --no-headers -n agh-e2e | grep agh-e2e | wc -l) == "1" ]]; the
helm delete agh-e2e -n agh-e2e --wait
fi
helm install agh-e2e testdata/e2e -n agh-e2e --create-namespace --set mode=${1}

View file

@ -26,8 +26,7 @@ dns:
bootstrap_dns:
- 1.1.1.1:53
fallback_dns: []
all_servers: false
fastest_addr: false
upstream_mode: load_balance
fastest_timeout: 1s
allowed_clients: []
disallowed_clients: []
@ -62,6 +61,8 @@ dns:
dns64_prefixes: []
serve_http3: false
use_http3_upstreams: false
serve_plain_dns: true
hostsfile_enabled: true
tls:
enabled: false
server_name: ""
@ -78,12 +79,14 @@ tls:
private_key_path: ""
strict_sni_check: false
querylog:
dir_path: ""
ignored: []
interval: 6h
size_memory: 1000
enabled: true
file_enabled: true
statistics:
dir_path: ""
ignored: []
interval: 24h
enabled: true
@ -170,8 +173,6 @@ clients:
hosts: true
persistent:
- name: Device 1
tags:
- device_1
ids:
- 2.2.2.2
blocked_services:
@ -192,6 +193,7 @@ clients:
ignore_querylog: false
ignore_statistics: false
log:
enabled: true
file: ""
max_backups: 0
max_size: 100
@ -203,4 +205,4 @@ os:
group: ""
user: ""
rlimit_nofile: 0
schema_version: 27
schema_version: 28

View file

@ -8,4 +8,4 @@ mode: env
kubectl:
repository: bitnami/kubectl
tag: 1.27
tag: "1.30"