Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

25 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Andrew Williamson 7d489fc1b6 point make to the correct file in Dockerfile.deploy (#5642)
We don't do `touch /addons-server-centos7-container` in .deploy so the Makefile can't detect we're in the container.
2017-06-15 13:51:51 +01:00
Andrew Williamson aa2f179578 use npm for just jquery (#5530) 2017-06-01 12:32:58 +01:00
Christopher Grebs e3e020d3a1 Install six before we upgrade setuptools. (#5541)
* Install six before we upgrade setuptools.

See pypa/setuptools#964 for a few more details. Currently quite a few
travis and circleci jobs are failing because of that.

* Explicitly upgrade pip and setuptools in 'make update_deps' so for travis too.

* Potentially fix circleci

* Fix setuptools and potentially docs environments

* More explicitly install six and setuptools

* Add more requirements for docs

* Add pyparsing dependency
2017-06-01 19:20:12 +08:00
Andrew Williamson 677f00a3df revert all of use npm for js libs (#5523) 2017-05-30 17:08:30 +01:00
Andrew Williamson 2af008a479 use npm for js libs (#5485) 2017-05-30 13:09:31 +01:00
Mathieu Pillard cefb50b529 Avoid relying on git commit id to generate the assets build id 2017-03-29 17:49:30 +02:00
bqbn b64c26cd05 Remove nodesource.rep. We install node 6 from EPEL. (#4984) 2017-03-20 17:13:22 -07:00
RΓ©my HUBSCHER 75f057c578 Use jingo-minify 0.6.0 release. (#4732)
* Use jingo-minify 0.6.0 release.

* Use a newer version of git.

* @EnTeQuAk review.

* @jasonthomas review.

* Too many spaces.
2017-02-28 14:35:30 +01:00
bqbn d6f9eb9ba5 Use the version.json file generated by CircleCI (#4543)
Remove the logic that pull the version tag from local git repo. This is
no longer needed now that the build pipeline is moved to pipeline v2.
2017-02-01 10:06:06 -08:00
Christopher Grebs f42f51f8b7 fix(package): update clean-css to version 4.0.2 (#4504)
* fix(package): update clean-css to version 4.0.2

With v4.0 clean-css has split it's command line tools into a separate
package.

Closes #4475

* fix paths
2017-01-30 14:18:06 +01:00
bqbn 8cbdefa01a Use CIRCLE_TAG for version when available (#4246)
CircleCI fails to pull the tag sometimes. But the tag is always passed
to CircleCI by GitHub and is recorded in the CIRCLE_TAG environment
variable.
2017-01-10 09:35:43 -08:00
bqbn 7d9c3ebbc6 Generate version.json in circle.yml for pipeline v2 (#4168)
Also copy the generated file to /app/version.json in Docker.deploy so it
complies with pipeline v2 standard.
2016-12-22 12:42:41 -08:00
Jason Thomas cee688ef06 Do not run yum update during docker build 2016-12-13 13:12:12 -05:00
Jason Thomas f811d043a7 compile locale definition files for utf-8 2016-12-13 13:00:15 -05:00
wezhou 98978435ab Remove settings_local.pyc file
Remove settings_local.pyc along with settings_local.py. Both are build
time temporary files.
2016-10-31 21:35:21 -07:00
bqbn 926761ea13 Fix syntax error in version.json file (#3734)
Should be using double quotes in JSON file instead of single quotes.
2016-10-12 09:18:00 -07:00
bqbn 1e18c7708e Fix bugzilla-1305466, wrong file ownership (#3638)
Environment variable UWSGI_GID makes uwsgi override the command line
--gid option, causing files written by the containers having wrong group
ownership of "uwsgi".

We don't need the uwsgi group specifically defined inside containers
because the containers are going to be run as olympia user and olympia
group anyways.

This change also requires that puppet-config to change the group ownership
of some shared directories such as /var/run/uwsgi to be "olympia".
2016-09-29 10:39:38 -07:00
Jason Thomas c36550074d
Fix SOURCE in Dockerfile.deploy 2016-09-27 18:35:56 -04:00
bqbn b229205f02 Disable cache when building python modules (#3628)
This helps reduce the size of the image by a couple hundred MB.
2016-09-27 15:09:20 -07:00
bqbn 2398074a67 Add mysql client so that dbshell mgmt cmd works (#3431) 2016-09-07 08:14:43 -07:00
bqbn b77b287f5b Bump uwsgi version to 2.0.13 (#3334)
EPEL replaced version 2.0.12 with 2.0.13, which broke the yum install
command.
2016-08-24 09:55:06 -07:00
bqbn 20e136ee53 Dockerfile.deploy adds EPEL repo (#3309)
This repo is needed in order to install uwsgi.
2016-08-22 12:23:17 -07:00
bqbn 0628bdc382 Use ENV instead of ARG for now (#3273)
Current docker version on jenkins server is v1.8.0. ARG is not supported
until v1.9.0. Use ENV for now until docker daemon is upgraded on jenkins
server.
2016-08-15 20:47:15 -07:00
bqbn 5e5ac96b82 Add olympia user and uwsgi group to the image (#3272)
This is needed to write files owned by olympia on the container host.
Also move the ENV varibles to the top so they are not built every time.
2016-08-15 19:41:47 -07:00
bqbn 8a61a0fc0f Add a Dockerfile suitable for prod deployment (#3254)
The file is to meant to get us started building images and test docker
deployment. We'll probably iterate on it a few times before its content
is finalized.
2016-08-12 09:09:13 -07:00