Fix current speaker chyron color configs #1070
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Commands in README.md | |
on: [pull_request] | |
jobs: | |
readme: | |
name: Readme | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_USER: openslides | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: openslides | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 5432:5432 | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
id: go | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: create secrets | |
run: | | |
mkdir secrets | |
printf "password" > secrets/postgres_password | |
printf "my_token_key" > secrets/auth_token_key | |
printf "my_cookie_key" > secrets/auth_cookie_key | |
- name: Start With golang | |
run: | | |
go build | |
export DATABASE_PASSWORD_FILE=secrets/postgres_password | |
export AUTH_TOKEN_KEY_FILE=secrets/auth_token_key | |
export AUTH_COOKIE_KEY_FILE=secrets/auth_cookie_key | |
timeout --preserve-status --signal=SIGINT 2s ./openslides-autoupdate-service | |
- name: Start With Docker | |
run: | | |
docker build . --tag openslides-autoupdate | |
timeout --preserve-status --signal=SIGINT 5s docker run --network host -v $PWD/secrets:/run/secrets openslides-autoupdate | |
env: | |
DOCKER_BUILDKIT: 1 | |
- name: Start With Auto Restart | |
run: | | |
make build-dev | |
timeout --preserve-status --signal=SIGINT 5s docker run --network host --env OPENSLIDES_DEVELOPMENT=true openslides-autoupdate-dev | |
env: | |
DOCKER_BUILDKIT: 1 |