-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/docker/library/alpine-3.19.0
- Loading branch information
Showing
6 changed files
with
29 additions
and
21 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 |
---|---|---|
|
@@ -95,17 +95,17 @@ jobs: | |
- name: replace image | ||
run: sed -i "s/docker.io\/mriedmann\/humhub:latest/ghcr.io\/${GITHUB_REPOSITORY_OWNER}\/humhub:${GITHUB_REF_NAME_SLUG}-${HUMHUB_VERSION}-allinone/g" docker-compose.yml | ||
- name: Spin up services | ||
run: docker-compose -f docker-compose.yml up -d | ||
run: docker compose -f docker-compose.yml up -d | ||
- name: Wait | ||
run: sleep 60 | ||
- name: Check status | ||
run: docker ps -a | ||
- name: Logs | ||
run: docker-compose logs | ||
run: docker compose logs | ||
- name: Test | ||
run: curl http://localhost:8080/ -L --fail && curl http://localhost:8080/ -L --fail -s | grep 'Sign in</button>' -q | ||
- name: Test Email | ||
run: docker-compose exec -T humhub php /var/www/localhost/htdocs/protected/yii test/email '[email protected]' | grep 'Message successfully sent!' -q | ||
run: docker compose exec -T humhub php /var/www/localhost/htdocs/protected/yii test/email '[email protected]' | grep 'Message successfully sent!' -q | ||
test_prod: | ||
needs: build_variants | ||
runs-on: ubuntu-latest | ||
|
@@ -138,17 +138,17 @@ jobs: | |
sed -i "s/docker.io\/mriedmann\/humhub:stable-nginx/ghcr.io\/${GITHUB_REPOSITORY_OWNER}\/humhub:${GITHUB_REF_NAME_SLUG}-${HUMHUB_VERSION}-nginx/g" docker-compose.prod.yml | ||
sed -i "s/docker.io\/mriedmann\/humhub:stable-phponly/ghcr.io\/${GITHUB_REPOSITORY_OWNER}\/humhub:${GITHUB_REF_NAME_SLUG}-${HUMHUB_VERSION}-phponly/g" docker-compose.prod.yml | ||
- name: Spin up services | ||
run: docker-compose -f docker-compose.prod.yml up -d | ||
run: docker compose -f docker-compose.prod.yml up -d | ||
- name: Wait | ||
run: sleep 60 | ||
- name: Check status | ||
run: docker ps -a | ||
- name: Logs | ||
run: docker-compose logs | ||
run: docker compose logs | ||
- name: Test | ||
run: curl http://localhost:8080/ -L --fail && curl http://localhost:8080/ -L --fail -s | grep 'Sign in</button>' -q | ||
- name: Test Email | ||
run: docker-compose exec -T humhub php /var/www/localhost/htdocs/protected/yii test/email '[email protected]' | grep 'Message successfully sent!' -q | ||
run: docker compose exec -T humhub php /var/www/localhost/htdocs/protected/yii test/email '[email protected]' | grep 'Message successfully sent!' -q | ||
push_ghcr: | ||
needs: ["test_aio", "test_prod"] | ||
runs-on: ubuntu-latest | ||
|
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
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
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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
1.15.0 1.15 latest | ||
1.14.5 1.14 stable | ||
1.13.2 1.13 legacy | ||
1.16.1 1.16 latest | ||
1.15.6 1.15 stable | ||
1.14.5 1.14 legacy |