Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2-giiant
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
yii2-giiant
Commits
cc73b483
Commit
cc73b483
authored
Dec 28, 2015
by
Tobias Munk
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved test script environment
parent
028f4673
Pipeline
#6241
passed with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
4 deletions
+5
-4
.gitlab-ci.yml
.gitlab-ci.yml
+1
-0
bash.sh
tests/bash.sh
+1
-1
env.sh
tests/env.sh
+1
-1
init.sh
tests/init.sh
+1
-1
run.sh
tests/run.sh
+1
-1
No files found.
.gitlab-ci.yml
View file @
cc73b483
...
...
@@ -4,6 +4,7 @@ before_script:
-
export COMPOSE_PROJECT_NAME=buildref${CI_BUILD_REF}${CI_BUILD_REF_NAME_NORMALIZED}
-
mv tests/docker-compose.ci.override.yml tests/docker-compose.override.yml
-
cd tests
-
sh ./env.sh
build
:
stage
:
build
...
...
tests/bash.sh
View file @
cc73b483
...
...
@@ -2,6 +2,6 @@
set
-e
.
"env.sh"
.
./env.sh
${
DOCKER_COMPOSE
}
run
--rm
php bash
tests/env.sh
View file @
cc73b483
...
...
@@ -5,7 +5,7 @@ echo "Setting ENV variables..."
export
GIIANT_TEST_DB
=
${
GIIANT_TEST_DB
-sakila
}
export
CI_APP_VOLUME
=
${
CI_APP_VOLUME
-..
}
export
COMPOSE_PROJECT_NAME
=
${
COMPOSE_PROJECT_NAME
-giiant
}
DOCKER_COMPOSE
=
"docker-compose --x-networking"
export
DOCKER_COMPOSE
=
"docker-compose --x-networking"
# replace the stack name in the yml configuration for isolated CI stacks
sed
-i
.bak s/giiant_/
${
COMPOSE_PROJECT_NAME
}
_/ acceptance.suite.yml
tests/init.sh
View file @
cc73b483
...
...
@@ -2,7 +2,7 @@
set
-e
.
"env.sh"
.
./env.sh
${
DOCKER_COMPOSE
}
kill
${
DOCKER_COMPOSE
}
rm
-fv
...
...
tests/run.sh
View file @
cc73b483
...
...
@@ -2,7 +2,7 @@
set
-e
.
"env.sh"
.
./env.sh
# replace the stack name in the yml configuration for isolated CI stacks
sed
-i
.bak s/giiant_/
${
COMPOSE_PROJECT_NAME
}
_/ acceptance.suite.yml
...
...
Tobias Munk
@t.munk
mentioned in commit
f8097fe6
·
Jan 24, 2016
mentioned in commit
f8097fe6
mentioned in commit f8097fe6dbc7afc556dcd4fff1c5273c171e4f63
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment