Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
TMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CC-IN2P3 Applications team
TMS
Commits
67129424
Commit
67129424
authored
1 year ago
by
ZZZ[GONE] PERRIER Guillaume
Browse files
Options
Downloads
Patches
Plain Diff
[PHP-UNIT] Try fixing test failure 'The current node list is empty' (v1.7).
parent
4fb0cfdc
No related branches found
Branches containing commit
No related tags found
1 merge request
!6
[PHP-UNIT] Complete performing CI test within the container and use it for...
Pipeline
#233335
canceled
1 year ago
Stage: php
Stage: nginx
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-2
6 additions, 2 deletions
.gitlab-ci.yml
with
6 additions
and
2 deletions
.gitlab-ci.yml
+
6
−
2
View file @
67129424
...
...
@@ -20,8 +20,12 @@ php-image-build:
script
:
-
docker build --pull -t "$IMAGE_PHP" -f ./docker/php-fpm/Dockerfile .
-
cat ${phpunit} > phpunit.xml
-
docker cp phpunit.xml $(docker create "$IMAGE_PHP"):/var/www/tms/phpunit.xml
-
docker run "$IMAGE_PHP" sh -c "cd /var/www/tms/ ; vendor/bin/phpunit --configuration phpunit.xml"
-
docker volume create phpunit_volume
#- docker run "$IMAGE_PHP" -v phpunit_volume:/var/www/tms/
-
docker run "$IMAGE_PHP"
-
docker cp phpunit.xml "$IMAGE_PHP":/var/www/tms/phpunit.xml
#- docker exec -v phpunit_volume sh -c "cd /var/www/tms/ ; vendor/bin/phpunit --configuration phpunit.xml"
-
docker exec -it "$IMAGE_PHP" sh -c "cd /var/www/tms/ ; vendor/bin/phpunit --configuration phpunit.xml"
-
docker exec -it "$IMAGE_PHP" rm /var/www/tms/phpunit.xml
-
docker cp -a $(docker create "$IMAGE_PHP"):/var/www/tms/. php-build
-
docker push "$IMAGE_PHP"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment