Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b33bb1a8
Commit
b33bb1a8
authored
Dec 04, 2013
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1848 from edx/db/remove-deploy-rake
Removed unused rake tasks
parents
bbcd8aff
6baf195a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
rakelib/deploy.rake
+0
-16
No files found.
rakelib/deploy.rake
deleted
100644 → 0
View file @
bbcd8aff
# Packaging constants
COMMIT
=
(
ENV
[
"GIT_COMMIT"
]
||
`git rev-parse HEAD`
).
chomp
()[
0
,
10
]
PACKAGE_NAME
=
"mitx"
BRANCH
=
(
ENV
[
"GIT_BRANCH"
]
||
`git symbolic-ref -q HEAD`
).
chomp
().
gsub
(
'refs/heads/'
,
''
).
gsub
(
'origin/'
,
''
)
desc
"Build a properties file used to trigger autodeploy builds"
task
:autodeploy_properties
do
File
.
open
(
"autodeploy.properties"
,
"w"
)
do
|
file
|
file
.
puts
(
"UPSTREAM_NOOP=false"
)
file
.
puts
(
"UPSTREAM_BRANCH=
#{
BRANCH
}
"
)
file
.
puts
(
"UPSTREAM_JOB=
#{
PACKAGE_NAME
}
"
)
file
.
puts
(
"UPSTREAM_REVISION=
#{
COMMIT
}
"
)
end
end
\ No newline at end of file
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