Compare commits

...

4 commits

Author SHA1 Message Date
Girish Ramakrishnan 79205256a6 Version 1.30.2 2024-04-16 11:48:07 +02:00
Girish Ramakrishnan 01ba918473 Fix login 2024-04-16 11:47:28 +02:00
Girish Ramakrishnan de1564514e Update test packages 2024-04-16 11:10:05 +02:00
Girish Ramakrishnan 425ca9db33 Update Prometheus to 2.51.2 2024-04-11 09:18:42 +02:00
6 changed files with 21 additions and 16 deletions

View file

@ -505,3 +505,8 @@
* [BUGFIX] Scraping (experimental native histograms): Fix handling of the min bucket factor on sync of targets #13846
* [BUGFIX] PromQL: Some queries could return the same series twice (library use only) #13845
[1.30.2]
* Update Prometheus to 2.51.2
* [Full changelog](https://github.com/prometheus/prometheus/releases/tag/v2.51.2)
* Notifier: could hang when using relabeling on alerts

View file

@ -1,6 +1,6 @@
{
"version": "1.30.1",
"upstreamVersion": "2.51.1",
"version": "1.30.2",
"upstreamVersion": "2.51.2",
"id": "io.prometheus.cloudronapp",
"title": "Prometheus Server",
"author": "Prometheus Developers",

View file

@ -3,7 +3,7 @@ FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768
RUN mkdir -p /app/code /app/pkg
WORKDIR /app/code
ARG VERSION=2.51.1
ARG VERSION=2.51.2
RUN curl -L https://github.com/prometheus/prometheus/releases/download/v${VERSION}/prometheus-${VERSION}.linux-amd64.tar.gz | tar zxvf - --strip-components 1

14
test/package-lock.json generated
View file

@ -9,7 +9,7 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"chromedriver": "^123.0.1"
"chromedriver": "^123.0.3"
},
"devDependencies": {
"expect.js": "^0.3.1",
@ -248,9 +248,9 @@
}
},
"node_modules/chromedriver": {
"version": "123.0.1",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-123.0.1.tgz",
"integrity": "sha512-YQUIP/zdlzDIRCZNCv6rEVDSY4RAxo/tDL0OiGPPuai+z8unRNqJr/9V6XTBypVFyDheXNalKt9QxEqdMPuLAQ==",
"version": "123.0.3",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-123.0.3.tgz",
"integrity": "sha512-35IeTqDLcVR0htF9nD/Lh+g24EG088WHVKXBXiFyWq+2lelnoM0B3tKTBiUEjLng0GnELI4QyQPFK7i97Fz1fQ==",
"hasInstallScript": true,
"dependencies": {
"@testim/chrome-version": "^1.1.4",
@ -1763,9 +1763,9 @@
}
},
"chromedriver": {
"version": "123.0.1",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-123.0.1.tgz",
"integrity": "sha512-YQUIP/zdlzDIRCZNCv6rEVDSY4RAxo/tDL0OiGPPuai+z8unRNqJr/9V6XTBypVFyDheXNalKt9QxEqdMPuLAQ==",
"version": "123.0.3",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-123.0.3.tgz",
"integrity": "sha512-35IeTqDLcVR0htF9nD/Lh+g24EG088WHVKXBXiFyWq+2lelnoM0B3tKTBiUEjLng0GnELI4QyQPFK7i97Fz1fQ==",
"requires": {
"@testim/chrome-version": "^1.1.4",
"axios": "^1.6.7",

View file

@ -14,6 +14,6 @@
"selenium-webdriver": "^4.19.0"
},
"dependencies": {
"chromedriver": "^123.0.1"
"chromedriver": "^123.0.3"
}
}

View file

@ -57,11 +57,11 @@ describe('Application life cycle test', function () {
}
async function login() {
await browser.get(`https://${app.fqdn}/login`);
await waitForElement(By.xpath('//input[@name="username"]'));
await browser.findElement(By.xpath('//input[@name="username"]')).sendKeys(username);
await browser.findElement(By.xpath('//input[@name="password"]')).sendKeys(password);
await browser.findElement(By.id('login')).click();
await browser.get(`https://${app.fqdn}`);
await waitForElement(By.id('inputUsername'));
await browser.findElement(By.id('inputUsername')).sendKeys(username);
await browser.findElement(By.id('inputPassword')).sendKeys(password);
await browser.findElement(By.id('loginSubmitButton')).click();
await waitForElement(By.xpath('//a[text()="Alerts"]'));
}