Skip to content
Snippets Groups Projects
Commit 4a86d917 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

Merge branch '1175-update-taiko' into 'main'

Resolve "Update taiko"

See merge request stackspin/stackspin!878
parents 9d7ed530 80066f6c
No related branches found
No related tags found
No related merge requests found
## Update all applications in this repository
## Only for major releases
* [ ] Update Flux version
current_flux_version=0.20.1
new_flux_version=0.24.0
Flux and k3s still need manual intervention (see #976 and #993), so we
only update them on major releases.
* [ ] Update [Flux version](https://github.com/fluxcd/flux2/releases)
current_flux_version=$(yq eval .flux.version ansible/group_vars/all/stackspin.yml)
new_flux_version=$(curl -s https://api.github.com/repos/fluxcd/flux2/releases/latest | jq -r .name | tr -d 'v')
sed -i "s/$current_flux_version/$new_flux_version/g" Dockerfile install/flux-version-check.sh docs/installation/install_stackspin.rst ansible/group_vars/all/stackspin.yml
* [ ] Update all apk app versions inside `Dockerfile`
* [ ] Update mitogen version in `ansible/plugins` (https://github.com/mitogen-hq/mitogen/releases)
* [ ] Update k3s in `ansible/group_vars/all/stackspin.yml`:
* [ ] Update k3s in `ansible/group_vars/all/stackspin.yml`
## Update applications in this repository
## Update our custom charts:
* [ ] Update [taiko version](https://github.com/getgauge/taiko/releases) inside `Dockerfile` (see #981 for pending renovate automation)
We get dependeny updates via renovate for our custom helm charts. However, we
still don't get [automated version
bumps](https://open.greenhost.net/stackspin/stackspin/-/issues/1001) with it, so
make sure to bump the version if needed for:
## Update our custom charts
* [ ] [dashboard](https://open.greenhost.net/stackspin/dashboard)
* [ ] [nextcloud](https://open.greenhost.net/stackspin/nextcloud)
* [ ] [single-sign-on](https://open.greenhost.net/stackspin/single-sign-on)
We configured renovate for these projects, but [renovate doesn't properly update the
`version` tag in `Chart.yaml`](#1176). So we need to manually update both the
`version` and `appVersion` tags in:
* [ ] [dashboard](https://open.greenhost.net/stackspin/dashboard) (see also dashboard#10)
* [ ] [nextcloud](https://open.greenhost.net/stackspin/nextcloud) (see also nextcloud#1012)
* [ ] [wordpress](https://open.greenhost.net/stackspin/wordpress-helm)
Pull in upstream changes to:
* [ ] [local-path-provisioner](https://open.greenhost.net/stackspin/local-path-provisioner)
Update our Zulip container:
* [ ] [Instructions to build new container](https://docs.stackspin.net/en/v0.8/instructions.html#building-a-new-version-of-zulip)
......@@ -2,7 +2,7 @@
FROM alpine:3.15
LABEL name="Stackspin management"
LABEL version="4.5"
LABEL version="4.6"
LABEL vendor1="Greenhost"
ENV TAIKO_SKIP_CHROMIUM_DOWNLOAD=true
......@@ -40,4 +40,4 @@ RUN \
pip install --no-cache-dir --ignore-installed six -r /requirements.txt && \
ln -s /usr/bin/python3 /usr/bin/python && \
tar -xzf /tmp/flux*.tar.gz && mv ./flux /usr/local/bin && \
npm install -g taiko@1.2.6
npm install -g taiko@1.3.1
......@@ -53,16 +53,16 @@
console.log('• Onlyoffice')
await goto(onlyofficeUrl + '/welcome')
await waitFor(async () => (await text("Thank you for choosing ONLYOFFICE!").isVisible()))
await waitFor(async () => (await text("Document Server is running").isVisible()))
await waitFor(async () => (await text("Thank you for choosing ONLYOFFICE!").exists()))
await waitFor(async () => (await text("Document Server is running").exists()))
await goto(onlyofficeUrl + '/healthcheck')
await waitFor(async () => (await text("true").isVisible()))
await waitFor(async () => (await text("true").exists()))
console.log('• Nextcloud')
await goto(nextcloudUrl)
await sso_login_if_needed('Log in with Stackspin')
await waitFor(async () => (await text("Set location for weather").isVisible()), globalTimeout)
await waitFor(async () => (await text("Set location for weather").exists()), globalTimeout)
// Close potential nextcloud first run wizard modal
// https://github.com/nextcloud/firstrunwizard/issues/488
// Unfortunately, we need to sleep a while since I haven't found a
......@@ -73,11 +73,11 @@
// Test password app
await click('Passwords')
await waitFor(async () => (await text("Handbook").isVisible()), globalTimeout)
await waitFor(async () => (await text("Handbook").exists()), globalTimeout)
// Test if calendar app is enabled
await click('Calendar')
await waitFor(async () => (await text("Settings & Import").isVisible()), globalTimeout)
await waitFor(async () => (await text("Settings & Import").exists()), globalTimeout)
console.log('• Nextcloud Onlyoffice integration')
// Open document and type some text
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment