mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2024-09-20 06:46:12 +08:00
fix e2e test for newes agh version (#364)
This commit is contained in:
parent
0af476ac8e
commit
9af8c00bca
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
dist
|
||||
bin
|
|
@ -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
4
go.mod
|
@ -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
|
||||
|
|
1
testdata/e2e/bin/install-chart.sh
vendored
1
testdata/e2e/bin/install-chart.sh
vendored
|
@ -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}
|
||||
|
||||
|
|
12
testdata/e2e/resources/AdGuardHome.yaml
vendored
12
testdata/e2e/resources/AdGuardHome.yaml
vendored
|
@ -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
|
||||
|
|
2
testdata/e2e/values.yaml
vendored
2
testdata/e2e/values.yaml
vendored
|
@ -8,4 +8,4 @@ mode: env
|
|||
|
||||
kubectl:
|
||||
repository: bitnami/kubectl
|
||||
tag: 1.27
|
||||
tag: "1.30"
|
||||
|
|
Loading…
Reference in a new issue