Commit graph

14 commits

Author SHA1 Message Date
Jakob Ackermann
2e2415c56e [server-pro] move revision from /var/www/revisions.txt into label (#27071)
Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: d760498b50006a23f446a91647954d00fa22f2f2
2025-07-15 08:05:57 +00:00
Antoine Clausse
fe03d8d7fd Add shellcheck to web, server-pro, server-ce (#23823)
* Update shellcheck files to include non ".sh" files having the sh shebang

* Add shellcheck to root Makefile

* `make shellcheck_fix`

* Add shellcheck to server-ce and server-pro

* Exclude SC1091 (Not following) in SP/CE

* Fix errors in SP

* Fix errors in CE

* Update root shellcheck to ignore all failing rules. We can later remove rules one by one.

* Add shellcheck to web

* Add shellcheck step for server-ce and server-pro in cloudbuild.yaml

* Revert "Add shellcheck to root Makefile"

This reverts commit e0fa56f2

* Revert "`make shellcheck_fix`"

This reverts commit eb179245c109a9e742a7fdeeb75a4bdd03963587.

* `make shellcheck_fix` in server-ce

* Fix: Use $(...) notation instead of legacy backticked

```
In init_scripts/100_set_docker_host_ipaddress.sh line 5:
echo "`route -n | awk '/UG[ \t]/{print $2}'` dockerhost" >> /etc/hosts
      ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
echo "$(route -n | awk '/UG[ \t]/{print $2}') dockerhost" >> /etc/hosts

For more information:
  https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...
```

* `make shellcheck_fix` in web

* Manual corrections on autofix

* Update SHELLCHECK_FILES to Perl regex so it matches at start of file

GitOrigin-RevId: 815d53f319a3792efa22703beb75570de5977450
2025-02-26 09:05:02 +00:00
Jakob Ackermann
399e834e36 Merge pull request #19764 from overleaf/jpa-server-pro-cache
[server-pro] faster local build

GitOrigin-RevId: d71abde37253e4c0398afa6935290af79a1204be
2024-08-07 08:04:24 +00:00
Jakob Ackermann
32b74f1471 Merge pull request #18708 from overleaf/jpa-fix-local-server-ce-build
[server-ce] fix local build

GitOrigin-RevId: 437f598792efbf3546f275feb94a2393ef794256
2024-06-12 08:04:57 +00:00
Jakob Ackermann
f5701b67eb Merge pull request #18559 from overleaf/jpa-server-ce-caching
[server-ce] docker image caching

GitOrigin-RevId: 161d775485d6b8f994d1a6e53440a586fb9a5058
2024-05-30 08:05:34 +00:00
Alf Eaton
29abca700c Only pull cached base image for x86_64 (#17043)
GitOrigin-RevId: a45325ffece66288fc1d53e60622ad4ec432f53b
2024-02-16 09:04:40 +00:00
Christopher Hoskin
df06b3562d Merge pull request #16734 from overleaf/csh-issue-15655-ce
Move CE build to AR

GitOrigin-RevId: 3fe6ca5115547a2f85e8f0ef419eea4b8a8f34aa
2024-01-29 09:03:34 +00:00
Alf Eaton
51a068b707 Merge pull request #12603 from overleaf/ae-make-all
Add "all" target to server-ce Makefile

GitOrigin-RevId: 9ca8fac603e28793490cc9b8dc3f86b96719e520
2023-04-19 08:02:59 +00:00
CNOCycle
fb51388f71 correct PHONY target in Makefile (#5434)
COPYBARA_INTEGRATE_REVIEW=https://github.com/overleaf/overleaf/pull/967 from CNOCycle:CNOCycle-patch-1 d5278c9b7188ebd94cd0a7b0316af5514ae6f22f

Co-authored-by: CNOCycle <github@marginalman.org>
GitOrigin-RevId: 8aa48e4f617c2fdd689442fb959c9a856fc3b859
2021-10-14 08:03:30 +00:00
Jakob Ackermann
2ce94153d4 Merge pull request #4734 from overleaf/jpa-server-ce-build
[misc] build the server-ce image from a local copybara synced repo

GitOrigin-RevId: 8e037668cdd2894e3fe909ec0da62f77e1f4c4d7
2021-08-17 08:03:11 +00:00
Jakob Ackermann
984eb3bf2d [perf] use docker layer caching from previous build 2021-07-07 14:46:13 +01:00
Christopher Hoskin
0bcb552f6f Try making the base image tag specifiable 2020-05-06 11:59:42 +01:00
Christopher Hoskin
3635e4b4f1 Use variables for Makefile tagging 2020-04-15 15:11:31 +01:00
mserranom
276281e7e4 moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
Renamed from server-ce/docker-image/Makefile (Browse further)