A document to recap all the steps needed to ensure a proper QA and pre-release steps throughout ICS. Feel free to add steps if needed, ensuring a better QA as a result.
It is important to test that functionality is still there. Thus, please start your release review with the following aspects.
While running these use cases, it would be nice to open the container logs with
docker logs -f intercom-service
and check nothing weird happens.
⚠️ Known problem: Log into Element once via the browser, this causes the current user to be created and is a prerequisite for the create of any videoconference⚠️
Please login into Element before trying this use-case for the first time in an environment.
- Log into OX.
- Go to the calendar.
- Schedule a meeting which includes a videoconference room.
- Go to Nextcloud and create a file
- Log into OX.
- Go to the email and compose an email.
- Try to attach a file from Nextcloud with the bottom filepicker.
- Log into OX and click the top left corner menu button. Central Navigation should be available.
- Log into Nextcloud and click the top left corner menu button. Central Navigation should be available.
- Go to the Keycloak admin interface. Select the realm containing OX, Nextcloud, ICS and Element. Go to
Realm Settings
, select the tabSessions
and set theSSO Session Idle
to 5 minutes. Undo these settings at the end of this QA-step. - Leave a session open for more than 5 minutes
- Then try to use any of the first two use cases.
- Undo the changes.
- Make sure to have triggered the silent login into ICS, for example by opening OX.
- Track the docker logs with
docker logs -f intercom-service
orl
on k9s. - Go to the Keycloak-admin interface and login.
- Select the
Souvap
realm. - Navigate to
Sessions
. - Search for the user you are logged in as in ICS (and the Portal and others)
- Manually log out the session by clicking
Sign out
in the three dots menu.
intercom-service
should be upgradeable from previous versions. As bare minimum we should be able to go from the previous released version to the normal one. Please use the following steps:
univention-app remove intercom-service
and make sure there is no intercom-service version installed.univention-app dev-use-test-appcenter --revert
to make sure we are on the normal AppCenter.univention-app update
to get the latest version from the normal AppCenter.univention-app install intercom-service
will install the latest published release.univention-install univention-appcenter-dev
to install the test AppCenter.univention-app dev-use-test-appcenter
to start using the test AppCenter.univention-app update
to get all the versions from the test AppCenter.univention-app upgrade intercom-service
to upgrade the app to the pre-release version on the AppCenter.
If you want to install a fixed version other than the last one, use
univention-app install intercom-service=version
.
Before releasing, make sure you change the version number in the following files:
appcenter/ini
and bumpVersion
.update-appcenter-test.sh
to bumpAPP_VERSION
.appcenter/compose
for the docker image you are using, even though it will be taken care of on the release process.intercom/package.json
to specify the nodejs appversion
..gitlab-ci
to bump the variableDOC_TARGET_VERSION: "X.X"
.
You do not need to change
docs/conf.py
, since it will be overwritten from a.gitlab-ci
variable
All steps above can be successfully tested, but the app might still malfunction in some cases. This entry is for those.
docker ps
and check thanintercom-service
is healthy.
If the container is not healthy, please run
docker inspect --format='{{json .State.Health}}' intercom-service
Please pay attention during both processes. The following questions may help:
- Are the files created correctly?
/etc/intercom.secret
/etc/intercom-client.secret
/etc/intercom-redis.secret
this file should be created but it didn't exist on the initial 1.0 release./etc/intercom-portal.secret
/etc/matrix.secret
- Are warnings being displayed properly during installation, such as URLs check warnings?
You will need to request an account at the Univention Provider Portal.
intercom-service
should be upgradeable from previous versions. As bare minimum we should be able to go from the previous released version to the current one. Please use the following steps:
univention-app remove intercom-service
and make sure there is no intercom-service version installed.univention-app dev-use-test-appcenter --revert
to make sure we are on the normal AppCenter.univention-app update
to get the latest version from the normal AppCenter.univention-app install intercom-service
will install the latest published release.univention-install univention-appcenter-dev
to install the test AppCenter.univention-app dev-use-test-appcenter
to start using the test AppCenter.univention-app update
to get all the versions from the test AppCenter.univention-app upgrade intercom-service
to upgrade the app to the pre-release version on the AppCenter.
If you want to install a fixed version other than the last one, use
univention-app install intercom-service=version
.