Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
heroku-buildpack-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Service Desk
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
Evili del Rio i Silvan
heroku-buildpack-python
Commits
12c1d0b1
Commit
12c1d0b1
authored
8 years ago
by
Kenneth Reitz
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
38dbb173
0c26eae2
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.travis.yml
+14
-16
14 additions, 16 deletions
.travis.yml
bin/steps/pip-install
+2
-2
2 additions, 2 deletions
bin/steps/pip-install
bin/steps/pipenv
+1
-1
1 addition, 1 deletion
bin/steps/pipenv
bin/utils
+1
-1
1 addition, 1 deletion
bin/utils
vendor/WEB_CONCURRENCY.sh
+6
-6
6 additions, 6 deletions
vendor/WEB_CONCURRENCY.sh
with
24 additions
and
26 deletions
.travis.yml
+
14
−
16
View file @
12c1d0b1
language
:
bash
# sudo: required
addons
:
apt
:
sources
:
-
debian-sid
# Grab shellcheck from the Debian repo (o_O)
packages
:
-
shellcheck
services
:
-
docker
# install: docker pull heroku/cedar:14
dist
:
trusty
jobs
:
include
:
-
stage
:
"
Bash
linting
(shellcheck)"
sudo
:
false
addons
:
apt
:
sources
:
-
debian-sid
# Grab shellcheck from the Debian repo (o_O)
packages
:
-
shellcheck
script
:
make check
-
stage
:
"
Heroku-16
Stack
Tests"
-
stage
:
"
Stack
Tests"
services
:
docker
env
:
STACK=heroku-16
script
:
./tests.sh
env
:
-
STACK=heroku-16
-
stage
:
"
Cedar-14
Stack
Tests"
-
stage
:
"
Stack
Tests"
services
:
docker
env
:
STACK=cedar-14
script
:
./tests.sh
env
:
-
STACK=cedar-14
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bin/steps/pip-install
+
2
−
2
View file @
12c1d0b1
...
...
@@ -6,7 +6,7 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
puts-step
"Installing requirements with pip"
set
+e
/app/.heroku/python/bin/pip
install
-r
"
$BUILD_DIR
/requirements.txt"
--exists-action
=
w
--src
=
/app/.heroku/src
--disable-pip-version-check
--no-cache-dir
2>&1 |
tee
"
$WARNINGS_LOG
"
| cleanup | indent
sub-env
/app/.heroku/python/bin/pip
install
-r
"
$BUILD_DIR
/requirements.txt"
--exists-action
=
w
--src
=
/app/.heroku/src
--disable-pip-version-check
--no-cache-dir
2>&1 |
tee
"
$WARNINGS_LOG
"
| cleanup | indent
PIP_STATUS
=
"
${
PIPESTATUS
[0]
}
"
set
-e
...
...
@@ -22,4 +22,4 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
/app/.heroku/python/bin/pip freeze
--disable-pip-version-check
>
.heroku/python/requirements-installed.txt
echo
fi
\ No newline at end of file
fi
This diff is collapsed.
Click to expand it.
bin/steps/pipenv
+
1
−
1
View file @
12c1d0b1
...
...
@@ -18,4 +18,4 @@ if [[ -f Pipfile ]]; then
/app/.heroku/python/bin/pip freeze
>
requirements.txt
fi
fi
\ No newline at end of file
fi
This diff is collapsed.
Click to expand it.
bin/utils
+
1
−
1
View file @
12c1d0b1
...
...
@@ -72,7 +72,7 @@ sub-env() {
done
fi
$1
"
$@
"
)
}
...
...
This diff is collapsed.
Click to expand it.
vendor/WEB_CONCURRENCY.sh
+
6
−
6
View file @
12c1d0b1
...
...
@@ -5,25 +5,25 @@ case $(ulimit -u) in
# Standard-1X (+Free, +Hobby) Dyno
256
)
export
DYNO_RAM
=
512
export
WEB_CONCURRENCY
=
${
WEB_CONCURRENCY
:-
0
2
}
export
WEB_CONCURRENCY
=
${
WEB_CONCURRENCY
:-
2
}
;;
# Standard-2X Dyno
512
)
export
DYNO_RAM
=
1024
export
WEB_CONCURRENCY
=
${
WEB_CONCURRENCY
:-
0
4
}
export
WEB_CONCURRENCY
=
${
WEB_CONCURRENCY
:-
4
}
;;
# Performance-M Dyno
16384
)
export
DYNO_RAM
=
2560
export
WEB_CONCURRENCY
=
${
WEB_CONCURRENCY
:-
0
8
}
export
WEB_CONCURRENCY
=
${
WEB_CONCURRENCY
:-
8
}
;;
# Performance-L Dyno
32768
)
export
DYNO_RAM
=
665
6
export
WEB_CONCURRENCY
=
${
WEB_CONCURRENCY
:-
0
11
}
export
DYNO_RAM
=
1433
6
export
WEB_CONCURRENCY
=
${
WEB_CONCURRENCY
:-
11
}
;;
esac
\ No newline at end of file
esac
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