Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
piphone-sip
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
piphone
piphone-sip
Commits
2ab0e314
Commit
2ab0e314
authored
Aug 04, 2016
by
okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI_PROJECT_NAME doesn't exist yet
parent
aece5f19
Pipeline
#70
failed with stage
in 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
.gitlab-ci.yml
.gitlab-ci.yml
+0
-3
ci/install.sh
ci/install.sh
+4
-2
No files found.
.gitlab-ci.yml
View file @
2ab0e314
...
...
@@ -8,9 +8,6 @@ stages:
job install
:
script
:
-
chmod a+x ci/install.sh
-
export CI_PROJECT_NAME
-
export CI_BUILD_REPO
-
export
-
./ci/install.sh
-
deactivate
stage
:
install
...
...
ci/install.sh
View file @
2ab0e314
...
...
@@ -2,12 +2,14 @@
# This schript is used to setup what needs to be (virtualenv and stuff)
# before running the pthon setup.py part
# We need those variables
if
[
-z
"
$CI_PROJECT_
NAME
"
]
if
[
-z
"
$CI_PROJECT_
DIR
"
]
then
echo
"CI_PROJECT_
NAME
undefined"
echo
"CI_PROJECT_
DIR
undefined"
exit
1
fi
export
CI_PROJECT_NAME
=
$(
basename
$CI_PROJECT_DIR
)
if
[
-z
"
$CI_BUILD_REPO
"
]
then
echo
"CI_BUILD_REPO undefined"
...
...
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