0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 01:57:32 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
LB Johnston
570b9a410c Upgrade to Node 20 2023-11-12 08:45:58 +11:00
Storm Heg
041cdd227d
Use bakerydemo as project in Squash (#10721)
* Use bakerydemo as project in Squash

This replaces the default project created by `wagtail start`.

* Add CSRF_TRUSTED_ORIGINS to local.py

Co-authored-by: sag᠎e <laymonage@gmail.com>

---------

Co-authored-by: sag᠎e <laymonage@gmail.com>
2023-07-28 13:55:50 +02:00
LB Johnston
f362377b04 update node usage to node 18
- fixes #8499
2022-10-28 06:18:58 +10:00
Scott Cranfill
9d882b36cd
Attempting to fix SQLite errors in Squash deployments by updating Docker image (#8757) 2022-07-15 15:36:03 +01:00
Thibaud Colas
6bf0169e09 Upgrade Node tooling to Node v16 and npm v8 2022-02-01 07:36:17 +10:00
Thibaud Colas
ee15eec511 Switch all Node tooling from Gulp to Webpack, with needed code changes
- Remove gulp code and docs
- Add base CSS & SCSS processing in Webpack
- Make sure Sass files use paths that can be resolved by Webpack
- Use faster source map generation
- Clean up build scripts
- Make sure Storybook can process Sass
- Switch away from web fonts (more work needed)
2022-02-01 07:36:17 +10:00
Storm Heg
e565ecb618
Explicitly use port 80 for squash.io (#7523)
Hopefully prevents scenarios where Squash prompts for a port number and a
wrong port number is entered. This leads to the Squash deployment never finishing and eventually timing out.
2021-09-17 18:22:44 +02:00
Thibaud Colas
c58a681828
Optimise npm install in squash for speed & logs visibility (#6158)
* Optimise npm install in squash for speed & logs

- `--no-optional` prevents installing dependencies that shouldn’t be needed for a one-off build
- `--no-audit` prevents running the `npm audit`
- `--progress=false`

* Add additional --no-fund flag to npm install

* Add "CI=true" environment variable to Squash builds for Node tooling

* Move CI=true to commands that need it

* Remove options that did not work
2020-06-25 16:03:42 +01:00
Jim Jazwiecki
6ea0cc52f3 Upgrade to Gulp v4 & Node 10
* Syntax changes to get Gulp working
* Require Node 10, use node 10 in CircleCI and squash.yml
* Update docs
* resolves #5653
2020-05-01 12:01:03 +10:00
Tom Dyson
92ba2c4832 Replace welcome page for Squash instances 2020-03-03 15:20:47 +00:00
Thibaud Colas
f207b1c11f
Pin Squash docker image to a specific version (#5441)
Recent builds have been breaking due to the following error: `/post_build.sh: line 2: npm: command not found`. I’m not entirely sure this is the fix, but it looks like this `latest` tag is now resolving to `3.7.4-buster` (https://hub.docker.com/_/python). Debian Buster got released 2 weeks ago. It feels safer to have a pinned dependency, and Stretch is probably what it was resolving to before.
2019-07-19 18:50:25 +01:00
Thibaud Colas
8d10c4688e Update squash user details to be more portable
- Changes the user's email from `@myproject.com` to `@example.com`. myproject.com points to a real website, it feels better to use a domain that's definitely meant as a placeholder.
- Changes the password to `changeme`, matching the credentials used for https://github.com/wagtail/bakerydemo.
2019-06-03 22:06:15 +01:00
Anna Pershyna
b1fab70847 added --no-save option from master branch 2019-03-26 12:06:47 +00:00
Anna Pershyna
bf0ea7645a updated .squash.yml config 2019-03-26 12:06:47 +00:00
Matt Westcott
3134ffa119 Recommend npm install --no-save when setting up node toolchain (#5161)
Running `npm install` without `--no-save` can introduce spurious changes to package-lock.json due to differences in platform / node version, and these have been known to accidentally sneak into people's PRs. `npm install` without `--no-save` should only be used when actively updating node dependencies in package.json.
2019-03-21 20:41:14 +00:00
Evandro Miquelito
2a1d5b6065 update squash.yml file to run pip install for the current branch 2019-03-20 19:52:44 +00:00
Evandro Miquelito
04de2c8cb5 Remove port forwarding, not needed 2019-03-20 19:52:44 +00:00
Evandro Miquelito
e3c5d6710f Adding a .squash.yml file 2019-03-20 19:52:44 +00:00