-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for defining localtime via volume
Docker engine follows symlinks when creating the volume what makes /tmp/localtime read-only. But user has apparently configured timezone in this case so we can skip this step.
- Loading branch information
Showing
3 changed files
with
96 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -270,6 +270,94 @@ jobs: | |
cd docker-compose | ||
./test-stop | ||
test-localtime: | ||
runs-on: ubuntu-24.04 | ||
name: Test localtime, stable | ||
needs: | ||
- build | ||
- test-basic | ||
env: | ||
MATRIX_ARCHITECTURE: linux/amd64 | ||
COMPOSE_PROJECT_NAME: wl | ||
PYTHONUNBUFFERED: 1 | ||
TEST_CONTAINER: weblate/weblate:test | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Expose GitHub Runtime | ||
uses: crazy-max/ghaction-github-runtime@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
with: | ||
# renovate: datasource=github-releases depName=docker/buildx | ||
version: v0.18.0 | ||
- name: Build the Docker image | ||
run: .github/bin/docker-build load | ||
- name: List Docker images | ||
run: docker image ls --all | ||
- name: Generate configuration | ||
run: | | ||
cd docker-compose | ||
./test-generate 8080 http localtime | ||
- name: Startup container | ||
run: | | ||
cd docker-compose | ||
./test-boot | ||
- name: List Python packages | ||
run: | | ||
cd docker-compose | ||
./test-pip | ||
- name: Inspect container | ||
run: | | ||
cd docker-compose | ||
./test-inspect | ||
- name: Check service is running | ||
run: | | ||
cd docker-compose | ||
./test-online | ||
- name: Check service health status | ||
run: | | ||
cd docker-compose | ||
./test-health | ||
- name: Run Django Checks | ||
run: | | ||
cd docker-compose | ||
./test-checks | ||
- name: Verify supervisor | ||
run: | | ||
cd docker-compose | ||
./test-supervisor | ||
- name: Test admin creation | ||
run: | | ||
cd docker-compose | ||
./test-admin | ||
- name: Test commands | ||
run: | | ||
cd docker-compose | ||
./test-commands | ||
- name: Display logs | ||
if: always() | ||
run: | | ||
cd docker-compose | ||
./test-logs | ||
- name: Stop Weblate service | ||
run: | | ||
cd docker-compose | ||
docker compose stop weblate | ||
- name: Start Weblate service | ||
run: | | ||
cd docker-compose | ||
docker compose start weblate | ||
- name: Check service is running | ||
run: | | ||
cd docker-compose | ||
./test-online | ||
- name: Shutdown service | ||
run: | | ||
cd docker-compose | ||
./test-stop | ||
test-saml: | ||
runs-on: ubuntu-24.04 | ||
name: Test SAML, stable | ||
|
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