Skip to content
Snippets Groups Projects

Add detailed instructions how to update GDK with webpack

Merged Achilleas Pipinellis requested to merge docs/webpack-changelog into master
3 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
8 8
9 9 - Add webpack process to Procfile configure it within gitlab.yml !237
10 10
11 For existing GDK installations, manual action is required to update GDK.
12 Assuming `origin` is the upstream repo, do the following:
13
14 1. First, update the CE/EE repo:
15
16 ```
17 cd <gitlab-ce-dir>
18 git pull origin master
19 bundle install && npm purge && npm install
20 bundle exec rake webpack:compile
  • 20 bundle exec rake webpack:compile
    21 ```
    22
    23 1. Pull the new GDK changes:
    24
    25 ```
    26 cd <gdk-dir>
    27 git pull origin master
    28 ```
    29
    30 1. Make sure postgres is running:
    31
    32 ```
    33 cd <gdk-dir>
    34 gdk run db
    35 ```
  • @axil @mikegreiling I left only two questions! Thanks for documenting that! :purple_heart:

  • assigned to @axil

  • 28 ```
    29
    30 1. Make sure postgres is running:
    31
    32 ```
    33 cd <gdk-dir>
    34 gdk run db
    35 ```
    36
    37 1. Then, **open a separate terminal window** and update GDK along with all its
    38 components:
    39
    40 ```
    41 cd <gdk-dir>
    42 gdk reconfigure
    43 gdk update
  • Proposed changes:

    1. Make sure postgres is running:
    
        ```
        cd <gdk-dir>
        gdk run db
        ```
    
    1. Then, **open a separate terminal window** and update gdk along with all its
        components:
    
        ```
        cd <gdk-dir>
        git pull origin master
        gdk update
        gdk reconfigure
        ```
  • ^ that should be all that is needed. gdk update will download the latest CE/EE master, and purge/install npm so no need to do that manually.

  • maybe we should also have:

    1. Then stop the `gdk run db` process running in the first tab.  It must be restarted once `gdk reconfigure` has been run.
    Edited by username-removed-636429
  • added 1 commit

    • 9cdd0a9e - Split info on GDK update and webpack troubleshooting

    Compare with previous version

  • added 1 commit

    • 19b2cb0d - Split info on GDK update and webpack troubleshooting

    Compare with previous version

  • mentioned in commit 5fc1b28b

  • Please register or sign in to reply
    Loading