Henrik Levkowetz
9cdd9adbc6
Fixed a problem with writing to /dev/stderr in some environments, in docker/updatedb.
...
- Legacy-Id: 18251
2020-07-24 13:27:53 +00:00
Henrik Levkowetz
ea7b2e7b7f
Added yang/catalogmod to the yang module directories created by docker-init.sh.
...
- Legacy-Id: 18245
2020-07-23 19:10:58 +00:00
Henrik Levkowetz
e73eb358f0
Reformulated a filter step in docker/updatedb to use a more commonly available command.
...
- Legacy-Id: 18244
2020-07-23 19:09:57 +00:00
Henrik Levkowetz
9f8bdfd40a
Updated the yanglint command settings in settings.py and docker/settings_local.py
...
- Legacy-Id: 18176
2020-07-15 14:51:17 +00:00
Henrik Levkowetz
73a0627bf1
Changed the settings_local.py for the docker image to use the database type enforced in docker/updatedb
...
- Legacy-Id: 17952
2020-06-09 18:55:59 +00:00
Henrik Levkowetz
a3bc062952
Added cleanout of local tables missing from db dump (assuming they have been created by migrations) and added new switches --no-load and --no-zap to docker/updatedb
...
- Legacy-Id: 17924
2020-06-07 11:45:47 +00:00
Henrik Levkowetz
4e79500df8
Added a download-only switch to docker/updatedb
...
- Legacy-Id: 17909
2020-06-05 11:54:51 +00:00
Henrik Levkowetz
8d5d61c13c
Utility script to populate a dev instance with drafts, rfcs, slides, etc.
...
- Legacy-Id: 17862
2020-05-21 11:58:11 +00:00
Henrik Levkowetz
afdfd8f0d6
Merged in a patch from mark@painless-security.com to add caching options to docker/run
...
- Legacy-Id: 17860
2020-05-20 21:38:53 +00:00
Henrik Levkowetz
42995fadea
Merged in ^/branch/iola/meeting-improvement-r17214@17617, which provides a new meeting schedule editor.
...
- Legacy-Id: 17701
2020-04-28 14:34:34 +00:00
Henrik Levkowetz
2e1e2b7ad1
Fixed an issue with error reporting of bad script switches for docker/updatedb.
...
- Legacy-Id: 17681
2020-04-23 18:53:07 +00:00
Henrik Levkowetz
9a3f1059e1
Gave docker/updatedb a --quiet flag for use with buildbot.
...
- Legacy-Id: 17676
2020-04-23 04:14:18 +00:00
Henrik Levkowetz
e01d41169a
Changed the use of requirements3.txt in docker files back to requirements.txt
...
- Legacy-Id: 17634
2020-04-15 12:08:27 +00:00
Ole Laursen
e5943f814d
Add support for displaying constraint hints when scheduling a task and
...
for displaying violated constraints in the new schedule editor, with
the old of a new field, ConstraintName.editor_label.
Add support for displaying room capacity violations.
Add support for selecting a session and displaying information about
it similar to the existing scheduling editor.
Add support for sorting unassigned sessions.
Clean up markup and styles a bit, and fix some bugs.
Expand HTML-based test and add JS test that exercises the
Javascript-based functionality.
Switch to using Chrome driver instead of PhantomJS since the HTML
engine in PhantomJS is apparently too old to support the constructs in
the new schema editor.
Add a workaround for LiveServerTestCase clashing with IetfTestRunner
fixture loading.
- Legacy-Id: 17519
2020-03-23 17:55:36 +00:00
Henrik Levkowetz
ff7571f6e8
Merged in [17486] from valery@smyslov.net:
...
Add docker/run modifications to support Cygwin.
- Legacy-Id: 17506
Note: SVN reference [17486] has been migrated to Git commit f89dd2da7b
2020-03-22 16:29:11 +00:00
Valery Smyslov
f89dd2da7b
Add modifications to support Cygwin.
...
I don't know while FILEDIR includes "..", so I removed it...
Otherwise the changes should not affect Linux users, but please review.
- Legacy-Id: 17486
2020-03-21 17:41:20 +00:00
Henrik Levkowetz
71883dae63
Added an OPTIONS settings to the DATABASES setting in docker/settings_local.py, to make some migration operations work under docker.
...
- Legacy-Id: 17141
2019-12-08 19:20:56 +00:00
Henrik Levkowetz
91606bd733
Tweaked the docker-init script.
...
- Legacy-Id: 17054
2019-11-19 09:16:15 +00:00
Henrik Levkowetz
873494b2d7
Tweaked docker-init.sh to create a needed GID entry before using it when creating a new user.
...
- Legacy-Id: 17030
2019-11-16 06:26:40 +00:00
Henrik Levkowetz
f18be77bb8
Various docker environment fixes.
...
- Legacy-Id: 17026
2019-11-16 05:08:34 +00:00
Henrik Levkowetz
6e31552b7c
Updated docker files to build and run an image based on devuan:ascii instead of debian:jessie.
...
- Legacy-Id: 16784
2019-09-30 20:25:40 +00:00
Henrik Levkowetz
e03784132d
Merged changes from current trunk to Py3 branch.
...
- Legacy-Id: 16468
2019-07-16 15:36:16 +00:00
Henrik Levkowetz
ea8c84d2f6
Python2/3 compatibility: used @python_2_unicode_compatible to provide __unicode__() versions of __str__() methods.
...
- Legacy-Id: 16455
2019-07-15 18:01:26 +00:00
Robert Sparks
c70ee277c4
Only look for ietf/datatracker-env images when extracting the most recent build to tag as latest. Commit ready for merge.
...
- Legacy-Id: 16404
2019-07-05 18:10:58 +00:00
Henrik Levkowetz
82a5c83a5d
Added creation of a group with the user's GID inside the docker container, if it's missing.
...
- Legacy-Id: 16098
2019-03-24 15:27:15 +00:00
Henrik Levkowetz
34d6fa41d1
Changed docker/updatedb to use https:// as cloudflare doesn't do the right thing for our http:// any more.
...
- Legacy-Id: 16084
2019-03-23 09:20:56 +00:00
Henrik Levkowetz
a99ca1584a
Merged in [15688] from mahoney@nostrum.com:
...
Fixed bad variable in title of requests.html. Fixes issue #2608 .
- Legacy-Id: 15707
Note: SVN reference [15688] has been migrated to Git commit 47e3ba8ba4
2018-11-03 11:46:40 +00:00
Henrik Levkowetz
13ff7229ba
Fixed a problem with fetching the mysql release signing key from a gpg keyserver.
...
- Legacy-Id: 15439
2018-08-16 16:04:30 +00:00
Henrik Levkowetz
9e71882e81
Rewrote docker/run to work around a missing switch in BSD xargs.
...
- Legacy-Id: 15437
2018-08-16 16:02:16 +00:00
Henrik Levkowetz
7bb8ce55a6
Fixed an issue with the image cleanup at the end of docker/run
...
- Legacy-Id: 14992
2018-04-02 09:25:14 +00:00
Henrik Levkowetz
eaea7d4324
Updated docker build and config files.
...
- Legacy-Id: 14503
2018-01-10 16:52:36 +00:00
Henrik Levkowetz
21c0a8ef2e
Updated the Dockerfile to use more modern constructs in a couple of places.
...
- Legacy-Id: 14321
2017-11-07 23:00:43 +00:00
Henrik Levkowetz
d6c1c969ce
Updated docker-init with a new directory to be created.
...
- Legacy-Id: 14320
2017-11-07 22:02:50 +00:00
Henrik Levkowetz
4f8f9d5c3f
Added a check for proper API key settings in production, and added workable default API key settings for development.
...
- Legacy-Id: 14319
2017-11-07 15:49:15 +00:00
Henrik Levkowetz
1fb050c24e
Added an additional docker-specific setting.
...
- Legacy-Id: 13921
2017-07-16 11:53:38 +00:00
Henrik Levkowetz
691ce0c176
Set docker-internal UID and GID to match the external values for the user. Makes life easier when running docker under linux.
...
- Legacy-Id: 13907
2017-07-15 15:15:13 +00:00
Henrik Levkowetz
4385d4ba80
Set docker/settings_local.py to use yanglint.
...
- Legacy-Id: 13882
2017-07-13 19:43:23 +00:00
Henrik Levkowetz
744097bffe
Added libyang (with yanglint) to the Dockerfile
...
- Legacy-Id: 13881
2017-07-13 19:42:32 +00:00
Henrik Levkowetz
52f0e084b5
Tweaked the docker settings_local.py file.
...
- Legacy-Id: 13879
2017-07-13 15:39:06 +00:00
Henrik Levkowetz
28f0efb9d3
Fixed an issue with the docker/settings_local settings for yang module directories.
...
- Legacy-Id: 13820
2017-07-09 15:26:00 +00:00
Henrik Levkowetz
ad6f18fbf3
Fixed a docker/run current directory issue when invoked with a command to run.
...
- Legacy-Id: 13819
2017-07-09 15:24:34 +00:00
Henrik Levkowetz
1ce487a271
Added the debian security updates to apt sources for the docker image.
...
- Legacy-Id: 13771
2017-07-03 21:37:06 +00:00
Henrik Levkowetz
a8db9e74c7
Updated docker/settings_local.py with new needed settings. Added a lot of quotes to docker/run in order to work better with paths containsing spaces. Touched a file during setup to be more debian compatible.
...
- Legacy-Id: 13703
2017-06-21 17:22:27 +00:00
Henrik Levkowetz
e730f3cb59
Upgraded phantomjs in the docker image to 1.9.8.
...
- Legacy-Id: 13164
2017-03-28 19:28:58 +00:00
Henrik Levkowetz
605fa26ec3
Made relative paths work for the create_group_wikis commnand. Added wiki and svn dir patterns to docker/settings_local.py.
...
- Legacy-Id: 13150
2017-03-27 17:07:48 +00:00
Henrik Levkowetz
00d5ff8bfe
Tweaked docker/run slightly. Added 2 utility scripts docker/mailserver and docker/devserver, to start a debug smtp server and a development webserver in separate terminal windws. These assume that the docker image already is running. Tweaked the settings_local in docker/ to send email to the debug smtp server.
...
- Legacy-Id: 13139
2017-03-26 19:28:38 +00:00
Henrik Levkowetz
ce3b904b07
Changed docker/run in order to more easily be able to run multiple terminals against the docker enviroment, and also start the dev server and a debug smtp server in separate terminal windows.
...
- Legacy-Id: 13138
2017-03-26 19:14:29 +00:00
Henrik Levkowetz
16f067fa8e
Tweaks to docker/copydb.
...
- Legacy-Id: 13055
2017-03-21 22:42:42 +00:00
Henrik Levkowetz
4219315e35
Upgraded the Dockerfile to use debian:jessie as a base, and use mysql-server 5.6.
...
- Legacy-Id: 12567
2016-12-17 21:48:04 +00:00
Henrik Levkowetz
4d34be2bec
Made the docker/build script behave better when trying to remove non-existent previous builds of the datatracker-environment docker image.
...
- Legacy-Id: 12566
2016-12-17 21:12:30 +00:00
Henrik Levkowetz
50c784eb7a
Made docker/updatedb less verbose when downloading a new database dump.
...
- Legacy-Id: 12565
2016-12-17 21:10:26 +00:00
Henrik Levkowetz
359a2683c8
Added a tiny script to be run from within docker, to install the extra packages needed to run the dependency-graph and htpasswd tests.
...
- Legacy-Id: 12564
2016-12-17 21:09:39 +00:00
Henrik Levkowetz
0ca8e45985
Added a script which creates a tarball of binary mysql database files, and uploads the tarball to the developer area at www.ietf.org, for use with the datatracker environment docker image.
...
- Legacy-Id: 12563
2016-12-17 21:08:40 +00:00
Henrik Levkowetz
ff89873566
Added support for Docker for Mac, which uses hypervisor virtualisation. The older VirtualBox based docker-machine should still work.
...
- Legacy-Id: 12389
2016-11-20 14:41:16 +00:00
Henrik Levkowetz
8019623898
Added the man viewer to the Dockerfile, hence the docker image.
...
- Legacy-Id: 12324
2016-11-12 05:33:26 +00:00
Henrik Levkowetz
99fde987b0
Added a --no-download option to docker/updatedb
...
- Legacy-Id: 12323
2016-11-12 05:31:32 +00:00
Henrik Levkowetz
b650356850
Use rsync instead of wget to pull down the datatracker database image, since wget isn't available on macs by default.
...
- Legacy-Id: 12321
2016-11-12 05:26:33 +00:00
Henrik Levkowetz
77738fcc78
Updated dockerfile, docker-init.sh, updatedb script, and a new docker/build script.
...
- Legacy-Id: 12282
2016-11-08 16:09:08 +00:00
Henrik Levkowetz
10fa4af493
Updated dockerfile, docker-init.sh, updatedb script, and a new docker/build script.
...
- Legacy-Id: 12281
2016-11-08 16:08:27 +00:00
Henrik Levkowetz
b301ffeba4
Added the vim editor, for vi people.
...
- Legacy-Id: 11669
2016-07-16 12:37:03 +00:00
Henrik Levkowetz
176dbdeb18
Fixed a typo in the Dockerfile
...
- Legacy-Id: 11665
2016-07-16 11:43:13 +00:00
Henrik Levkowetz
95bb23328c
Updated docker/settings_local.py
...
- Legacy-Id: 11428
2016-06-20 21:57:19 +00:00
Henrik Levkowetz
c83dae57fb
Added setting for MEDIA_ROOT, and changed the setting for MEDIA_URL; introduced a setting for the IETF main site URL, for use where MEDIA_URL had been used (incorrectly) earlier.
...
- Legacy-Id: 11263
2016-06-02 19:17:38 +00:00
Henrik Levkowetz
c5d2a67d66
Updated requirements.txt to include Pillow (Python Imaging Lib wrapper). Requires libjpeg on system; libjpeg8-dev added to Docker file.
...
- Legacy-Id: 11260
2016-06-01 16:39:41 +00:00
Henrik Levkowetz
e4552c4b2f
Added ipython to the docker image.
...
- Legacy-Id: 11077
2016-04-02 20:35:06 +00:00
Henrik Levkowetz
39abc8945e
Added colordiff to the docker/Dockerfile
...
- Legacy-Id: 11029
2016-03-30 11:21:47 +00:00
Henrik Levkowetz
0d0aff855b
Fixed a few issues with the docker/run script.
...
- Legacy-Id: 11022
2016-03-28 21:46:34 +00:00
Henrik Levkowetz
02d341cae5
Updated docker-related files based on 6.17.0
...
- Legacy-Id: 10967
2016-03-22 21:10:33 +00:00
Henrik Levkowetz
bfdacef1c0
Updated docker README and a docker-init tweak.
...
- Legacy-Id: 10500
2015-11-16 20:22:14 +00:00
Henrik Levkowetz
10f2bc053d
Minor tweaks to the docker files.
...
- Legacy-Id: 10491
2015-11-15 16:18:22 +00:00
Henrik Levkowetz
41124d73e2
Added a utility file used in Dockerfile to augment /etc/bash.bashrc to set a prompt which won't use the whole commandline width under virtualenv.
...
- Legacy-Id: 10486
2015-11-14 23:36:24 +00:00
Henrik Levkowetz
56f791a2fd
Fix permission trouble writing to /dev/stderr when running within docker. Exit if running in an unexpected environment. Fixed a typo in an informational message. Refined the hanling of ~/.docker-info files. Improved the permission mods on the unpacked mysql files (matching the permissions mysql prefers).
...
- Legacy-Id: 10484
2015-11-14 23:06:40 +00:00
Henrik Levkowetz
c8b534ffc9
Give the mysql user suitable group membership. Give the developer sudo rights.
...
- Legacy-Id: 10483
2015-11-14 23:03:31 +00:00
Henrik Levkowetz
e72cdf4114
Provide openssh and sudo in the docker-environment.
...
- Legacy-Id: 10482
2015-11-14 23:02:20 +00:00
Henrik Levkowetz
952a680305
Load database through 'manage.py dbshell'. Avoids repeating username, password, etc. in several places (DRY).
...
- Legacy-Id: 10481
2015-11-14 23:01:40 +00:00
Henrik Levkowetz
5c008f2503
Tweaked a docker/run message.
...
- Legacy-Id: 10477
2015-11-14 16:16:24 +00:00
Henrik Levkowetz
e8992007b6
Code refactoring.
...
- Legacy-Id: 10475
2015-11-14 10:32:07 +00:00
Henrik Levkowetz
f8008a7ed1
Corrected the switched external:internal port mapping fields in docker/run.
...
- Legacy-Id: 10472
2015-11-13 18:27:20 +00:00
Henrik Levkowetz
5cd10c3152
Added support for running different containers mapping internal port 8000 to different external ports. Added additional text explaining why we won't run multiple containers from the same svn branch. Did som default value code refactoring.
...
- Legacy-Id: 10471
2015-11-13 17:59:30 +00:00
Henrik Levkowetz
99d6ce5710
Added a couple of progress messages.
...
- Legacy-Id: 10470
2015-11-13 17:49:43 +00:00
Henrik Levkowetz
51f78aa044
Fixed a typo
...
- Legacy-Id: 10469
2015-11-13 17:34:42 +00:00
Henrik Levkowetz
5ad8db39e9
Additional docker tweaks
...
- Legacy-Id: 10468
2015-11-13 17:33:00 +00:00
Henrik Levkowetz
d7595e506b
A little script to pull down and unpack a copy of the datatracker's mysql database files.
...
- Legacy-Id: 10467
2015-11-13 08:06:28 +00:00
Henrik Levkowetz
a5435449cd
Tweaks to the docker setup to make it work nicely to run different docker containers for different SVN branches.
...
- Legacy-Id: 10466
2015-11-12 22:40:42 +00:00
Henrik Levkowetz
07eb5d9b21
Minor tweak to docker-init
...
- Legacy-Id: 10462
2015-11-09 22:44:30 +00:00
Henrik Levkowetz
2664ef3039
Updated the docker init-script to not re-install MySQL; it can cause more trouble than it might save; added a guard against trying to set up the ietf database if MySQL isn't running; and changed the final working directory to be the same as where the user invoked the 'docker/run' command. If not started via docker/run, drop into the home directory.
...
- Legacy-Id: 10461
2015-11-09 22:34:56 +00:00
Henrik Levkowetz
bfc42ae7bc
Updated docker/run with options to select a non-default docker-repository and docker image tag (which now defaults to the svn branch basename); added handling for missing docker environment variables, and for the docker virtual machine not running.
...
- Legacy-Id: 10460
2015-11-09 22:21:55 +00:00
Henrik Levkowetz
30c538790a
Removed parts of Dockerfile, simplifying it and reducing the image size. Modified and simplified the docker entrypoint script. Tweaked the cleanup actions of docker/run.
...
- Legacy-Id: 10455
2015-11-08 18:44:41 +00:00
Henrik Levkowetz
f8872fd3dd
Tweaked docker/run
...
- Legacy-Id: 10443
2015-11-07 22:14:22 +00:00
Henrik Levkowetz
95a001333b
Added more cleanup to the docker/run command
...
- Legacy-Id: 10439
2015-11-07 21:22:55 +00:00
Henrik Levkowetz
81d87f5584
Updated docker/README
...
- Legacy-Id: 10438
2015-11-07 21:14:04 +00:00
Henrik Levkowetz
5d6128eded
Added a README file for the docker image.
...
- Legacy-Id: 10437
2015-11-07 20:26:53 +00:00
Henrik Levkowetz
c2432107a3
Updated Dockerfile and the default settings_local for the docker image. Added docker-init.sh which is used in the docker image, and docker/run which is a wrapper which runs the docker image with suitable settings.
...
- Legacy-Id: 10436
2015-11-07 20:25:37 +00:00
Henrik Levkowetz
a17b3c62f5
Added a default settings_local for use in the docker image. Tweaked the dockerfile some.
...
- Legacy-Id: 10435
2015-11-06 18:28:43 +00:00
Henrik Levkowetz
d9e2354aa2
A first version of a Dockerfile, to build a docker image suitable for hosting a development version of the datatracker. This version runs the test suite successfully, but does not set up the database and does not contain supporting drafts, charters, etc.
...
- Legacy-Id: 10434
2015-11-06 17:30:23 +00:00