2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-09 23:00:56 +00:00
Commit Graph

62 Commits

Author SHA1 Message Date
Lev Vereshchagin
290aafb140 Fix docker compose in tests when not running on TTY 2022-02-08 12:32:44 +03:00
Revant Nandgaonkar
73f3d453c4 ci: fix tests as per changes to compose.yaml 2021-12-28 11:46:53 +05:30
Lev Vereshchagin
22d317637a Fix S3 test 2021-12-19 16:50:56 +03:00
Lev Vereshchagin
5e16ed89b6 Change variables MINIO_ACCESS_KEY and MINIO_SECRET_KEY to S3_ACCESS_KEY, S3_SECRET_KEY in tests 2021-12-19 14:39:20 +03:00
Lev
f45620bae0
Update tests/_check_backup_files.py
Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>
2021-12-19 14:36:53 +03:00
Lev Vereshchagin
1aeaddf1ca Use file that consistent in v12, v13 and develop to check /assets 2021-12-17 15:20:41 +03:00
Lev Vereshchagin
d496f328d5 Fix CI? 2021-12-17 12:45:13 +03:00
Lev Vereshchagin
bfbf19058b Uncomment tests 2021-12-17 12:24:38 +03:00
Lev Vereshchagin
40381efa71 Fix env setup 2021-12-17 12:17:26 +03:00
Lev Vereshchagin
50d569ba27 Print .env in tests, if version is develop, change to latest (for tag) 2021-12-17 12:02:40 +03:00
Lev Vereshchagin
28c0a2d564 Remove unused compose.ci-postgres.yml 2021-12-15 12:41:47 +03:00
Lev Vereshchagin
9ab2547623 Add configurator service to dynamically set common config 2021-12-15 12:41:35 +03:00
Lev Vereshchagin
a1075c27c1 Remove unused quiet-pull in tests 2021-12-15 12:37:47 +03:00
Lev Vereshchagin
439114bf28 Fix postgres ci override in tests 2021-12-15 09:28:53 +03:00
Lev Vereshchagin
364bec2872 Don't fail ping on URLError 2021-12-15 09:03:32 +03:00
Lev Vereshchagin
95070db85d Don't depend on boto3 while testing (do it in backend) 2021-12-15 08:55:20 +03:00
Lev Vereshchagin
2f58e621a5 Change .yml to .yaml in compose file to follow compose-spec 2021-12-15 08:41:25 +03:00
Lev Vereshchagin
5d3e7883f1 Fix postgres CI test 2021-12-15 08:32:17 +03:00
Lev Vereshchagin
37878f4342 Add push-backup 2021-12-15 08:30:00 +03:00
Lev Vereshchagin
e6aaed9e79 Drop version: in compose files 2021-12-14 16:16:47 +03:00
Lev Vereshchagin
435e0f462b Fix image name in CI 2021-12-14 15:37:32 +03:00
Lev Vereshchagin
8b58205149 Move requirements-dev.txt 2021-12-14 15:36:15 +03:00
Lev Vereshchagin
756152b5cb Fix ci image versions 2021-12-14 15:27:09 +03:00
Lev Vereshchagin
13265fe926 Revert "Show tests/.env"
This reverts commit 4bc3bdebaf.
2021-12-14 15:26:44 +03:00
Lev Vereshchagin
4bc3bdebaf Show tests/.env 2021-12-14 15:25:58 +03:00
Lev Vereshchagin
7d5f65c775 Print configuration before running tests 2021-12-13 20:22:18 +03:00
Lev Vereshchagin
3e7adbf361 Setup and remove .env on tests 2021-12-13 20:03:40 +03:00
Lev Vereshchagin
5408c586e8 Fix image names 2021-12-13 19:39:45 +03:00
Lev Vereshchagin
666fa9a61f Update tests 2021-12-13 19:37:03 +03:00
Lev Vereshchagin
0b861de117 chore(lint): Run shfmt 2021-12-10 11:56:18 +03:00
Lev
e629dd313e
chore: Fix pwd url and move pwd.yml away from tests directory (#603) 2021-12-05 18:56:21 +03:00
Lev
399414bcab
fix: Remove --log.level=DEBUG from traefik command to reduce log verbosity (#600) 2021-12-05 16:49:02 +05:30
Lev
81ec8da94f
feat: Upgrade mariadb and use command instead of copying config file (#597) 2021-12-05 14:32:08 +05:30
Lev
5aae67117c
Build ERPNext images on top fresh Frappe images (#582)
Update build_stable.yml
2021-11-24 05:10:27 +05:30
Revant Nandgaonkar
1427907a82 ci: revert shell script functions 2021-11-22 13:22:09 +05:30
Revant Nandgaonkar
91648299ba ci: fix test and revert yamls 2021-11-22 13:17:17 +05:30
Revant Nandgaonkar
d68bcdc8bd ci: output erpnext-nginx container logs 2021-11-22 06:14:30 +05:30
Revant Nandgaonkar
8fc3fbb27e ci: fix lint 2021-11-22 05:36:59 +05:30
Revant Nandgaonkar
4f7108c3a8 ci: check connections before curl 2021-11-22 05:22:12 +05:30
Revant Nandgaonkar
cb2943bdf7 ci: reload volume permissions 2021-11-21 22:37:22 +05:30
Revant Nandgaonkar
3295c8070e fix: change unpriviliged nginx port from 80 to 8080 2021-11-21 16:23:32 +05:30
Lev
5254e2aad3
fix: Improve CI, fix builds (#554)
* ci(Test): Add `workflow_dispatch` trigger

* ci(Test): Build and run on push and pr

* test: Set failfast, remove ERPNext reference

* test: Reveal .env file for logs

* ci(Test): Rename step

* ci(Test): Fix git tag

* test: Add -x flag for debugging

* test: Fix failing test

* ci(Test): Check if built images are used

* ci(Test): Configure trigger paths, don't build on schedule

* test: Remove bug

* ci: Build and test stable images on PR

* fix(frappe-nginx): Get back to `ls` from `find`

* check if test passes with erpnext images

* fix(frappe-worker): Default sites in backup command

* get integration test changes back

* chore: Fix linting
2021-11-09 15:15:33 +03:00
Lev
f74f730b5e
chore: Fix lint issues (#553)
* ci(Lint): Temporarily disable branch contraint

* chore(erpnext-nginx): Fix linting

* chore: Fix linting issues

* ci(Lint): Add -x flag

* ci(Lint): Fix push trigger

* chore: Fix linting and formatting

* fix: Gunicorn server start

* chore(frappe-worker): Fix linting

* chore(frappe-nginx): Fix linting

* fix(erpnext-nginx): App installation

* fix(erpnext-nginx): App installation

* refactor(frappe-nginx): Use `find` instead of `ls`
2021-11-09 13:05:29 +03:00
Lev
d2b18a3b48 update 2021-11-05 18:58:02 +03:00
Lev
1cbb845af1 ci: Use GitHub Actions to build images 2021-10-27 16:07:43 +03:00
Revant Nandgaonkar
f0399fa389 ci: fix check format script
[skip travis]
2021-06-24 17:43:25 +05:30
Revant Nandgaonkar
86a2fcc1fa ci: check shell script format 2021-06-24 16:54:17 +05:30
pratikbalar
12eb5c92e4 refactor: bash scripts [stip travis]
- shellchecke and shfmt checked and formatted
- indentation 2 spaces
- redirect errors to stderr
- short if where possible
- add function string to clarify visuaally identify its a funtion
- make [ ... ] to [[ ... ]]
- use == for comparision
- use cat based notes
- remove unecessary spaces
- double quotes where needed
2021-06-23 09:13:24 +05:30
pratikbalar
e6a5209001 refactor: style as per google style guide (tried)
- https://google.github.io/styleguide/
2021-06-22 15:44:25 +05:30
Revant Nandgaonkar
24ba1cd551 chore: change ci script to build v13 2021-04-02 07:26:44 +05:30