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
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
CC-IN2P3 Applications team
TMS
Commits
e816dac6
Commit
e816dac6
authored
5 years ago
by
Benjamin Guillon
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
752c6f77
No related branches found
No related tags found
3 merge requests
!5
Module Tapes : Try fixing bug 'Mixed Content The page at was loaded over...
,
!3
Openshift deployment
,
!2
Openshift deployment
Pipeline
#64630
failed
5 years ago
Stage: build
Stage: images
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-3
4 additions, 3 deletions
.gitlab-ci.yml
with
4 additions
and
3 deletions
.gitlab-ci.yml
+
4
−
3
View file @
e816dac6
...
@@ -15,11 +15,12 @@ build:
...
@@ -15,11 +15,12 @@ build:
script
:
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE/php-build:$CI_COMMIT_REF_SLUG" -f ./docker/php-build/Dockerfile .
-
docker build --pull -t "$CI_REGISTRY_IMAGE/php-build:$CI_COMMIT_REF_SLUG" -f ./docker/php-build/Dockerfile .
-
docker create --name php-build-tmp "$CI_REGISTRY_IMAGE/php-build:$CI_COMMIT_REF_SLUG"
-
docker create --name php-build-tmp "$CI_REGISTRY_IMAGE/php-build:$CI_COMMIT_REF_SLUG"
-
docker cp php-build-tmp:/var/www/html $CI_BUILD_DIR/php-build
-
docker cp php-build-tmp:/var/www/html "$CI_BUILD_DIR/php-build"
-
ls -la "$CI_BUILD_DIR/php-build"
-
docker rm -f php-build-tmp
-
docker rm -f php-build-tmp
artifacts
:
artifacts
:
paths
:
paths
:
-
$CI_BUILD_DIR/php-build
-
"
$CI_BUILD_DIR/php-build
"
php-image-build
:
php-image-build
:
stage
:
images
stage
:
images
...
@@ -46,6 +47,6 @@ test:
...
@@ -46,6 +47,6 @@ test:
dependencies
:
[]
dependencies
:
[]
script
:
script
:
-
pwd && ls -la .
-
pwd && ls -la .
-
sh .tms/vendor/bin/simple-phpunit --configuration phpunit.xml.dist
-
sh .
/
tms/vendor/bin/simple-phpunit --configuration phpunit.xml.dist
## TODO: Define unit tests
## TODO: Define unit tests
## TODO: Add unit tests report as job artifact
## TODO: Add unit tests report as job artifact
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