File tree Expand file tree Collapse file tree 3 files changed +7
-15
lines changed
actions/start-hashtopolis Expand file tree Collapse file tree 3 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 11name : Start Hashtopolis server
2+ description : Starts application containers and waits for Hashtopolis to be ready.
23
3- on :
4- workflow_call :
5-
6- jobs :
7- start-hashtopolis :
8- runs-on : ubuntu-latest
9-
4+ runs :
5+ using : " composite"
106 steps :
11- - name : Checkout repository
12- uses : actions/checkout@v3
137 - name : Start application containers
148 working-directory : .devcontainer
159 run : docker compose up -d
Original file line number Diff line number Diff line change 1111 - dev
1212
1313jobs :
14- start-hashtopolis :
15- uses : ./.github/workflows/start_server.yml
1614 build :
17- needs : start-hashtopolis
1815 runs-on : ubuntu-latest
1916 steps :
2017 - name : Checkout repository
2118 uses : actions/checkout@v3
19+ - name : Start Hashtopolis server
20+ uses : ./.github/actions/start-hashtopolis
2221 - name : Give Apache permissions on necessary directories # for the tests, only src/files and src/inc/utils/locks seem necessary
2322 run : docker exec -u root hashtopolis-server-dev bash -c "chown -R www-data:www-data /var/www/html/src && chmod -R g+w /var/www/html/src"
2423 - name : Run test suite
Original file line number Diff line number Diff line change 55 branches :
66 - docs
77jobs :
8- start-hashtopolis :
9- uses : ./.github/workflows/start_server.yml
108 build :
11- needs : start-hashtopolis
129 runs-on : ubuntu-latest
1310
1411 steps :
2825 sudo apt-get install nodejs
2926 sudo apt-get install npm
3027 sudo npm i openapi-to-md -g
28+ - name : Start Hashtopolis server
29+ uses : ./.github/actions/start-hashtopolis
3130 - name : Download newest apiv2 spec
3231 run : |
3332 wget http://localhost:8080/api/v2/openapi.json -P /tmp/
You can’t perform that action at this time.
0 commit comments