-
-
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.
- the wheel no longer includes test dependencies - we might eventually discard even the test data - faster publishing of docker image
- Loading branch information
Showing
3 changed files
with
1 addition
and
104 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 |
---|---|---|
|
@@ -83,56 +83,6 @@ jobs: | |
- name: Build the Docker image | ||
run: .github/bin/docker-build | ||
|
||
test: | ||
runs-on: ubuntu-24.04 | ||
name: Test, bleeding | ||
needs: | ||
- bleeding | ||
- build | ||
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: Adjust bleeding edge image | ||
run: .github/bin/bleeding ${{needs.bleeding.outputs.weblate_sha}} ${{needs.bleeding.outputs.weblate_date}} | ||
- 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 | ||
- name: Startup container | ||
run: | | ||
cd docker-compose | ||
./test-boot | ||
- name: Run tests | ||
run: | | ||
cd docker-compose | ||
./test-tests | ||
- name: Display logs | ||
if: always() | ||
run: | | ||
cd docker-compose | ||
./test-logs | ||
- name: Shutdown service | ||
run: | | ||
cd docker-compose | ||
./test-stop | ||
test-basic: | ||
runs-on: ubuntu-24.04 | ||
name: Test basic, bleeding | ||
|
@@ -745,7 +695,6 @@ jobs: | |
runs-on: ubuntu-24.04 | ||
name: Publish to Docker Hub, stable | ||
needs: | ||
- test | ||
- test-basic | ||
- test-saml | ||
- test-split | ||
|
@@ -787,7 +736,6 @@ jobs: | |
permissions: | ||
packages: write | ||
needs: | ||
- test | ||
- test-basic | ||
- test-saml | ||
- test-split | ||
|
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 |
---|---|---|
|
@@ -65,53 +65,6 @@ jobs: | |
- name: Build the Docker image | ||
run: .github/bin/docker-build | ||
|
||
test: | ||
runs-on: ubuntu-24.04 | ||
name: Test, stable | ||
needs: | ||
- build | ||
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 | ||
- name: Startup container | ||
run: | | ||
cd docker-compose | ||
./test-boot | ||
- name: Run tests | ||
run: | | ||
cd docker-compose | ||
./test-tests | ||
- name: Display logs | ||
if: always() | ||
run: | | ||
cd docker-compose | ||
./test-logs | ||
- name: Shutdown service | ||
run: | | ||
cd docker-compose | ||
./test-stop | ||
test-basic: | ||
runs-on: ubuntu-24.04 | ||
name: Test basic, stable | ||
|
@@ -697,7 +650,6 @@ jobs: | |
runs-on: ubuntu-24.04 | ||
name: Publish to Docker Hub, stable | ||
needs: | ||
- test | ||
- test-basic | ||
- test-saml | ||
- test-split | ||
|
@@ -736,7 +688,6 @@ jobs: | |
permissions: | ||
packages: write | ||
needs: | ||
- test | ||
- test-basic | ||
- test-saml | ||
- test-split | ||
|
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