kkos2 / os2display-admin

OS2display admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Os2Display admin for Københavns Kommune

Bundles

kkos2-display-bundle

This bundle contains slides specific to Københavns Kommune. More documentation can be found there.

Tagging for a release

Each pushed commit triggers a google cloud build (see the cloudbuild) directory which builds a set of container images, pushes them to the shared container registry, and tags the commit with the build number for later deployment. A build can subsequently be deployed via the os2display-k8s-environments repository.

Visual regression test with backstop.js

For now, this will need to be run locally on your machine. It will be moved to a container eventually. In the root of this checkout run: yarn install to install the test-runner.

Until we have a way to fetch data for the dev environments, you will have to setup slides, channels, and screen yourself for testing. In backstop.json you will need to edit the url to the tests too. Make sure you use the "offentligt tilgængelig" url so no interaction is required for the screen.

To test, run yarn backstop test. It will fail the first time because there is no reference. Just run yarn backstop approve and then run the test again.

About

OS2display admin

License:Mozilla Public License 2.0


Languages

Language:PHP 64.2%Language:JavaScript 17.9%Language:HTML 10.2%Language:SCSS 5.2%Language:Shell 1.4%Language:Dockerfile 0.7%Language:Twig 0.2%Language:CSS 0.2%