Skip to content

Commit

Permalink
Directrories restructure fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
uniuuu committed Oct 22, 2023
1 parent d21f234 commit 84d9854
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-all-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
- uses: actions/checkout@v4
- name: Checkout submodules
run: |
git submodule update --init dataserver
git submodule update --init stream-server
git submodule update --init tinymce-clean-server
git submodule update --init stack/dataserver/dataserver
git submodule update --init stack/stream-server/stream-server
git submodule update --init stack/tinymce-clean-server/tinymce-clean-server
- name: Bootstrap config
run: cp .env_example .env
- name: Build the stack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-dataserver-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
run: git submodule update --init dataserver
run: git submodule update --init stack/dataserver/dataserver
-
name: Build the Dataserver Docker image
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-streamserver-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
run: git submodule update --init stream-server
run: git submodule update --init stack/stream-server/stream-server
- name: Build the Streamserver Docker Image
# working-directory: ./stream-server
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-client-build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on:
push:
paths:
- client/**
- clientbuildtest.Dockerfile
- client/clientbuildtest.Dockerfile
- .github/workflows/test-client-build-docker.yml
branches: [ "development" ]

pull_request:
branches: [ "development" ]
paths:
- client/**
- clientbuildtest.Dockerfile
- client/clientbuildtest.Dockerfile
- .github/workflows/test-client-build-docker.yml
workflow_dispatch:
jobs:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test-dataserver-php-composer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
push:
branches: [ "development" ]
paths:
- dataserver/**
- stack/dataserver/**
- .github/workflows/test-dataserver-php-composer.yml
pull_request:
branches: [ "development" ]
paths:
- dataserver/**
- stack/dataserver/**
- .github/workflows/test-dataserver-php-composer.yml
workflow_dispatch:
permissions:
Expand Down Expand Up @@ -44,21 +44,21 @@ jobs:
php-version: ${{ matrix.php-version }}

- name: Checkout submodules
run: git submodule update --init dataserver
run: git submodule update --init stack/dataserver/dataserver

- name: Update composer.json AGPL version
working-directory: ./dataserver
working-directory: .stack/dataserver/dataserver
run: sed -i 's/AGPL-3.0/AGPL-3.0-only/g' composer.json


- name: Validate composer.json and composer.lock
working-directory: ./dataserver
working-directory: .stack/dataserver/dataserver
run: composer validate --strict


- name: "Determine composer cache directory"
id: "determine-composer-cache-directory"
working-directory: ./dataserver
working-directory: .stack/dataserver/dataserver
run: "echo \"::set-output name=directory::$(composer config cache-dir)\""

- name: "Cache dependencies installed with composer"
Expand All @@ -79,7 +79,7 @@ jobs:
# ${{ runner.os }}-php-

- name: Install dependencies
working-directory: ./dataserver
working-directory: .stack/dataserver/dataserver
run: composer install --prefer-dist --no-progress

# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- uses: fregante/setup-git-user@v2
- name: Checkout submodules
run: |
git submodule update --init --recursive --remote dataserver
git submodule update --init --recursive --remote stack/dataserver/dataserver
git add .
git commit -m 'Github Actions Update Submodule dataserver'
git push origin development
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- uses: fregante/setup-git-user@v2
- name: Checkout submodules
run: |
git submodule update --init --recursive --remote stream-server
git submodule update --init --recursive --remote stack/stream-server/stream-server
git add .
git commit -m 'Github Actions Update Submodule stream-server'
git push origin development
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- uses: fregante/setup-git-user@v2
- name: Checkout submodules
run: |
git submodule update --init --recursive --remote tinymce-clean-server
git submodule update --init --recursive --remote stack/tinymce-clean-server/tinymce-clean-server
git add .
git commit -m 'Github Actions Update Submodule tinymce-clean-server'
git push origin development
Expand Down

0 comments on commit 84d9854

Please sign in to comment.