Skip to content

Commit

Permalink
bump item-monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesClonk authored Mar 29, 2024
1 parent 3f9a366 commit 5931979
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 19 deletions.
13 changes: 0 additions & 13 deletions configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,3 @@ configuration:
ingress:
domains:
- "jamesclonk.io"

item_monitor:
monitors:
- name: galaxus
items:
- name: Scarpa Vapor V
url: https://www.galaxus.ch/de/s3/product/scarpa-vapor-v-kletterschuhe-42-kletterschuhe-10611477
value: 125
regex: <meta property="product:price:amount" content="([0-9.]+)"\/>
- name: Scarpa Arpia V
url: https://www.galaxus.ch/de/s3/product/scarpa-arpia-v-42-kletterschuhe-41901081
value: 110
regex: <meta property="product:price:amount" content="([0-9.]+)"\/>
2 changes: 1 addition & 1 deletion image-puller/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ image_puller:
- "jamesclonk/pgbackup:aee0398bd7634f209ecd7e1ec03f55002c3c3a57"
- "jamesclonk/mcbackup:f3b390668671bba69835320ab82824470f6404a4"
- "jamesclonk/resume:7b30c92e6787eddaec36a9335d3d421c681e0efe"
- "jamesclonk/item-monitor:9353f75"
- "jamesclonk/item-monitor:1022361"

#! other stuff
- "jamesclonk/web-container:latest"
Expand Down
4 changes: 2 additions & 2 deletions item-monitor/image.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: kbld.k14s.io/v1alpha1
kind: Config
minimumRequiredVersion: 0.32.0
overrides:
- image: jamesclonk/item-monitor:9353f75
newImage: index.docker.io/jamesclonk/item-monitor@sha256:d42091cc41289c3f113d80a021a3b059d8b6ffdd211c40522a5b541ff083fc8e
- image: jamesclonk/item-monitor:1022361
newImage: index.docker.io/jamesclonk/item-monitor@sha256:1efeda6dfbf95dca79d5427f7649d26e80c50a1bb2795a1cf598b92c863be0b2
preresolved: true
4 changes: 2 additions & 2 deletions item-monitor/templates/secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ stringData:
log_timestamp: true
interval: 4h
monitors:
(@ for midx in range(len(data.values.configuration.item_monitor.monitors)): -@)
(@ monitor = data.values.configuration.item_monitor.monitors[midx] @)
(@ for midx in range(len(data.values.item_monitor.monitors)): -@)
(@ monitor = data.values.item_monitor.monitors[midx] @)
- name: (@= monitor.name @)
items:
(@ for idx in range(len(monitor.items)): @)
Expand Down
18 changes: 17 additions & 1 deletion item-monitor/values.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
#@data/values
---
item_monitor:
image: "jamesclonk/item-monitor:9353f75"
image: "jamesclonk/item-monitor:1022361"

monitors:
- name: galaxus
items:
- name: Scarpa Vapor V
url: https://www.galaxus.ch/de/s3/product/scarpa-vapor-v-kletterschuhe-42-kletterschuhe-10611477
value: 125
regex: <meta property="product:price:amount" content="([0-9.]+)"\/>
- name: Scarpa Vapor S
url: https://www.galaxus.ch/de/s3/product/scarpa-vapor-s-42-kletterschuhe-24594482
value: 125
regex: <meta property="product:price:amount" content="([0-9.]+)"\/>
- name: Scarpa Arpia V
url: https://www.galaxus.ch/de/s3/product/scarpa-arpia-v-42-kletterschuhe-41901081
value: 110
regex: <meta property="product:price:amount" content="([0-9.]+)"\/>

0 comments on commit 5931979

Please sign in to comment.