Skip to content

Commit

Permalink
[#4874] Added missing fix_selectboxes_component_default_values script…
Browse files Browse the repository at this point in the history
… to Dockerfile
  • Loading branch information
vaszig committed Dec 12, 2024
1 parent e776c7b commit dcce330
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Check off the items that are completed or not relevant.
- [ ] Ran `./bin/makemessages_js.sh`
- [ ] Ran `./bin/compilemessages_js.sh`

- Dockerfile/scripts

- [ ] Updated the Dockerfile with the necessary scripts from the `./bin` folder

- Commit hygiene

- [ ] Commit messages refer to the relevant Github issue
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ COPY \
./bin/check_celery_worker_liveness.py \
./bin/report_component_problems.py \
./bin/check_temporary_uploads.py \
./bin/fix_selectboxes_component_default_values.py \
./bin/

# prevent writing to the container layer, which would degrade performance.
Expand Down
23 changes: 23 additions & 0 deletions docs/installation/additional_scipts.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.. _installation_additional_scripts:

=========================================
Update Open Forms with additional scripts
=========================================

Sometimes, upgrading from a specific version of Open Forms to another one requires an extra
script which is necessary for additional operations. In case this script is missing in your
container you can follow the instructions to copy it from the project source.

1. Visit the source code of Open Forms in github and download the raw file:

.. code-block:: bash
$ wget https://github.com/open-formulieren/open-forms/blob/master/<name_of_the_file>
2. Copy the downloaded file to the `/app/bin` folder in the container

.. code-block:: bash
$ docker cp <file_name> <container_id_or_name>:/app/bin
3. Run the script
1 change: 1 addition & 0 deletions docs/installation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ After installation, follow the :ref:`configuration_index` instructions to enable
self_signed
form_hosting
redis
additional_scipts
issues/index
upgrade-300
upgrade-250
Expand Down

0 comments on commit dcce330

Please sign in to comment.