Skip to content

Commit

Permalink
Merge pull request INTER-Mediator#1859 from matsuo/update-dot-gitlab-…
Browse files Browse the repository at this point in the history
…ci-yml

Update .gitlab-ci.yml for GitLab CI
  • Loading branch information
msyk authored Feb 4, 2024
2 parents 54e0853 + 3d1816e commit 1706ce1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ pages:
- mkdir public
- ls -al
- ls -al /
- docker run -v "/builds/INTER-Mediator/INTER-Mediator/public:/public" -e "container=docker" --privileged -d --name php73-alpine php:7.3.19-fpm-alpine /sbin/init
- docker exec --privileged -i php73-alpine sh -c "apk update"
- docker exec --privileged -i php73-alpine sh -c "docker-php-ext-install bcmath"
- docker exec --privileged -i php73-alpine sh -c "apk add --no-cache curl"
- docker exec --privileged -i php73-alpine sh -c "curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer && chmod +x /usr/local/bin/composer"
- docker exec --privileged -i php73-alpine sh -c "apk add --no-cache git bash zip nodejs-npm"
- docker exec --privileged -i php73-alpine sh -c "ls minify || git clone https://github.com/matthiasmullie/minify"
- docker exec --privileged -i php73-alpine sh -c "git clone https://github.com/INTER-Mediator/INTER-Mediator && cd INTER-Mediator && composer update && ./dist-docs/buildup.sh --core && cd ../im_build/ && zip -r INTER-Mediator-master.zip ./INTER-Mediator/ && mv INTER-Mediator-master.zip /public/"
- docker exec --privileged -i php73-alpine sh -c "ls -al; ls -al /; ls -al /public/"
- docker run -v "/builds/INTER-Mediator/INTER-Mediator/public:/public" -e "container=docker" --privileged -d --name php81-alpine php:8.1-fpm-alpine /sbin/init
- docker exec --privileged -i php81-alpine sh -c "apk update"
- docker exec --privileged -i php81-alpine sh -c "apk add --no-cache git bash zip nodejs zlib-dev libpng-dev icu-dev"
- docker exec --privileged -i php81-alpine sh -c "docker-php-ext-install bcmath exif gd intl"
- docker exec --privileged -i php81-alpine sh -c "apk add --no-cache curl"
- docker exec --privileged -i php81-alpine sh -c "curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer && chmod +x /usr/local/bin/composer"
- docker exec --privileged -i php81-alpine sh -c "ls minify || git clone https://github.com/matthiasmullie/minify"
- docker exec --privileged -i php81-alpine sh -c "git clone https://github.com/INTER-Mediator/INTER-Mediator && cd INTER-Mediator && composer update && ./dist-docs/buildup.sh --core && cd ../im_build/ && zip -r INTER-Mediator-master.zip ./INTER-Mediator/ && mv INTER-Mediator-master.zip /public/"
- docker exec --privileged -i php81-alpine sh -c "ls -al; ls -al /; ls -al /public/"
- ls -al
- ls -al public
artifacts:
Expand Down

0 comments on commit 1706ce1

Please sign in to comment.