Smith Ellis
8e57e3164d
Remove es7/elasticsearch7 references
...
Replace es7 and ES7 references with es and ES
Make name in docker version agnostic
Replace name in circle
2022-12-01 21:14:25 +00:00
Tasos Katsoulas
debae9bd6a
Fix file permissions.
2022-03-14 12:01:20 +02:00
Tasos Katsoulas
bb9a367076
Restore uploading to S3.
2022-03-10 15:08:23 +02:00
Tasos Katsoulas
1d86a3d7ce
Whitenoise configuration.
...
* Upgrade to Whitenoise 5.3
* Remove S3 uploads for static assets
2022-03-10 15:08:21 +02:00
Leo McArdle
ea9418f9e8
seperate hashed webpack files in upload-staticfiles script
...
for now we still need the unhashed files for the admin interface
2021-12-17 16:53:38 +00:00
Leo McArdle
2871ee4cb4
move build pipeline to circleci ( #4923 )
2021-12-07 11:57:44 +00:00
Tasos Katsoulas
6d5a5dfade
Rename old references to main branch
2021-11-24 12:25:51 +02:00
Ben Spaulding
c2d7e32634
Remove `__future__` imports that are no longer needed
2020-06-01 12:29:16 +03:00
Ben Spaulding
cac79793ad
2to3 dict fix.
2020-05-27 15:28:59 +03:00
eziegenhorn
3afaaf08b7
Reflect new dockerfile location
2019-05-14 15:10:18 -05:00
Keegan Ferrando
1ac715d3ee
Updating S3 bucket naming for SRE
2019-05-14 09:34:50 -07:00
eziegenhorn
d6f420be88
Initial switch from mozmeao dockerhub and github repos to IT SRE repos
2019-05-10 17:28:20 -05:00
Paul McLanahan
c20dfd8d3c
Fix build issues
...
* Ensure docker environment is setup for l10n linting (use make)
* Ensure docker build args are passed to docker (GIT_SHA, and LOCALE_ENV)
* Make git commands for locale repo cleaner with -C
2019-01-03 19:38:38 -05:00
Paul McLanahan
84840e1681
Lint and push l10n files during docker build ( #3435 )
...
Also move prod l10n strings repo from "production" branch on the
l10n team's repo to github.com/mozmeao/sumo-l10n-prod.
Fix #3434
2019-01-02 11:11:00 -06:00
Paul McLanahan
3d3a14ed70
Move to a single Dockerfile and docker-compose file
...
Use make to create easy to use and remember commands for building
and running things.
* Remove Jenkins IRC notifications
* Update the README for the new commands
2018-11-12 11:22:56 -05:00
Paul McLanahan
d280031d6e
Upgrade node version on dev image to match that on prod
...
The staticfiles image node version was updated to 6.x some time ago
but apparently the dev version was overlooked. This is the real
source of the errors in #3380
2018-10-23 15:37:47 -04:00
Paul McLanahan
383b126ccc
Fix issues associated with broken bower config
...
Also add a run-dev.sh script to ensure DB is ready
2018-10-23 14:43:13 -04:00
Paul McLanahan
09ab357742
Upgrade Node to 6.x and use Yarn for install ( #3323 )
...
Fix #3322
2018-09-18 15:27:17 -05:00
Paul McLanahan
c1c1179f97
Upgrade Nodejs to 4.x ( #3319 )
2018-09-17 17:12:46 -05:00
Paul McLanahan
33ebf7d8c7
Fix #3271 : Upload static assets to s3
...
* Switch to manifest storage; cached storage has to recalculate the hash every cache miss
* Use file separator script instead of include and exclude flags
2018-07-20 16:49:19 -04:00
Giorgos Logiotatidis
b66834b087
Tag using GIT_SHA_SHORT
2018-06-11 13:02:47 -07:00
Giorgos Logiotatidis
a42f27e14a
[Issue #2967 ] Update Jenkinsfile. ( #3245 )
...
- Build images
- Run mocha and unit tests
- Push images to docker hub.
2018-06-07 16:56:22 +03:00
Giorgos Logiotatidis
63dfc05b41
Add mariadb-client to prod image.
...
Add mariadb client to easier debugging of deployments.
2018-05-07 11:04:18 +03:00
Giorgos Logiotatidis
f8d5ea81fe
Use production branch for locale.
2018-03-22 07:10:31 -05:00
Giorgos Logiotatidis
7066907c07
Copy bower_components to final image.
2018-02-22 10:19:37 -05:00
Giorgos Logiotatidis
c9e3930845
Use docker-compose 'run' instead of 'up' to
...
Docker compose up does not echo the exit code of the command run inside the
container to the host. i.e. if tests fail the exit code of docker-compose is
still 0.
2018-02-15 01:27:01 -06:00
Giorgos Logiotatidis
f38deadc5f
Copy jsi18n directory to final image.
2018-02-14 10:43:34 -05:00
Giorgos Logiotatidis
e42ea57ccc
Set env variables in .env only.
...
Removes loading of env variables with docker-compose which complicates things:
- docker-compose loads .env-dist file and sets as real env variables
- python-decouple loads .env file which overrides with the real env variables
set from docker-compose
Practically means that dev have to modify .env-dist to make changes. This change
instructs users to copy .env-dist to .env and we only load variables using
python-decouple.
2018-02-08 10:26:35 -05:00
Giorgos Logiotatidis
89d9b4521f
Chown venv to user kitsune for easier debugging.
2018-02-05 12:20:57 +02:00
Giorgos Logiotatidis
df1832930b
Merge pull request #2994 from pmac/use-path-instead-of-entrypoint
...
Use PATH instead of ENTRYPOINT for virtualenv activation
2017-12-08 10:07:41 +02:00
Paul McLanahan
8465c0f07c
Use PATH instead of ENTRYPOINT for virtualenv activation
2017-12-07 16:55:17 -05:00
Benjamin Sternthal
84c895c57d
Add cache to app volume to improve performance on OSX. See:
...
https://docs.docker.com/docker-for-mac/osxfs-caching/
and
https://docs.docker.com/compose/compose-file/#caching-options-for-volume-mounts-docker-for-mac
2017-12-07 13:54:42 -08:00
Giorgos Logiotatidis
0839e86cc3
Create base-dev docker image with npm installed. Add dev instructions.
2017-12-04 10:37:46 -05:00
Giorgos Logiotatidis
48c1d5ebf2
Add entyrpoint in base image.
...
Since the virtualenv gets built in base and base is used for development,
entrypoint to enable it should be here too.
2017-12-04 10:37:46 -05:00
Giorgos Logiotatidis
35d8d2bc13
Set users home dir to /app.
...
This works best with npm install as user when run in a dev environment.
2017-12-04 10:37:46 -05:00
Paul McLanahan
a6c38aaed6
Hopefully improve python requirement docker cache
2017-12-01 15:51:03 -05:00
Giorgos Logiotatidis
f1eafd82a1
Add circleci.
2017-12-01 09:45:59 +02:00
Giorgos Logiotatidis
e40cb0ecc2
Docker compose for dev and testing.
2017-11-30 15:39:49 +02:00
Giorgos Logiotatidis
cfd23868a1
Split dockerfiles.
2017-11-30 15:39:49 +02:00