2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-27 03:42:39 +00:00
Commit Graph

759 Commits

Author SHA1 Message Date
Lev Vereshchagin
c4772bc5b5 chore(lint): Run pyupgrade 2021-12-10 11:51:47 +03:00
Lev Vereshchagin
3e4e66769b chore(lint): Run end-of-file-fixer 2021-12-10 11:51:11 +03:00
Lev Vereshchagin
9f0d602c72 chore(lint): Fix trailing-whitespace 2021-12-10 11:50:39 +03:00
Lev
2ac2b7ce43
chore: Use pre-commit framework (#604)
* Add pre-commit, prettier configs and editorconfig

* Remove `check-toml` hook

* Add isort config

* Add codespell config

* Update hooks

* Remove prettierignore

* Add shellcheck config

* Add lint workflow

* Add pre-commit autoupdate workflow

* Remove path constraints from lint workflow

* Fix CI

* Add guide to CONTRIBUTING.md

* Fix (probably) shfmt

* Fix (probably) shfmt

* Fix (probably) shfmt
2021-12-10 11:48:00 +03:00
Revant Nandgaonkar
65f6228be8
fix: update devcontainer mariadb (#605) 2021-12-06 17:55:24 +05:30
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
6378473c43
fix(bench): Set BENCH_DEVELOPER env var in bashrc instead of Dockerfile (#598) 2021-12-05 16:45:50 +05:30
Lev
442c767338
ci(lint): Specify paths that trigger workflow (#601) 2021-12-05 12:44:34 +03:00
Lev
a48ae2d12e
ci: Move greetings.yml to appropriate folder (#599) 2021-12-05 12:24:09 +03:00
Lev
81ec8da94f
feat: Upgrade mariadb and use command instead of copying config file (#597) 2021-12-05 14:32:08 +05:30
Lev
180b9ababc
docs: Update CONTRIBUTING.md (#594) 2021-12-03 05:06:58 +05:30
Lev
9b49391dbb
feat(bench): Don't show editable-bench warnings (#593) 2021-12-02 20:36:07 +05:30
Chinmay Pai
c87ee80a22
Merge pull request #592 from revant/feat-allow-devcont-config 2021-11-30 23:28:16 +05:30
Revant Nandgaonkar
aadb0a8139 feat: allow devcontainer vscode configuration 2021-11-30 17:27:25 +05:30
Revant Nandgaonkar
0af1302485
fix: install py 3.7 using pyenv (#590)
* fix: install py 3.7 using pyenv

* fix: set pyenv global versions

* refactor: cleaup code
2021-11-30 16:03:01 +05:30
Lev
9a986575f6
ci: Fix paths that trigger workflows (#587) 2021-11-26 19:52:17 +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
d049e33b40
Merge pull request #579 from frappe/dependabot/github_actions/webfactory/ssh-agent-0.5.4
chore(deps): bump webfactory/ssh-agent from 0.5.3 to 0.5.4
2021-11-22 19:13:42 +05:30
dependabot[bot]
a9c3f6e9b9
chore(deps): bump webfactory/ssh-agent from 0.5.3 to 0.5.4
Bumps [webfactory/ssh-agent](https://github.com/webfactory/ssh-agent) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/webfactory/ssh-agent/releases)
- [Changelog](https://github.com/webfactory/ssh-agent/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webfactory/ssh-agent/compare/v0.5.3...v0.5.4)

---
updated-dependencies:
- dependency-name: webfactory/ssh-agent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 10:06:05 +00:00
Revant Nandgaonkar
e4ab6945a4
Merge pull request #576 from revant/change-nginx-port
fix: change unpriviliged nginx port from 80 to 8080
2021-11-22 15:18:57 +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
318f65170a ci: fix test volume permissions 2021-11-21 21:39:19 +05:30
Revant Nandgaonkar
3295c8070e fix: change unpriviliged nginx port from 80 to 8080 2021-11-21 16:23:32 +05:30
Revant Nandgaonkar
6b6a1b9ad8
Merge pull request #572 from revant/fix-erpnext-build
ci: fix erpnext build
2021-11-19 22:46:58 +05:30
Revant Nandgaonkar
9bfb3abde4 ci: fix erpnext nginx build permissions 2021-11-19 22:02:50 +05:30
Revant Nandgaonkar
593dfe444a ci: fix erpnext build 2021-11-19 20:41:23 +05:30
Chinmay Pai
abe6d670c4
Merge pull request #570 from revant/unprivileged-nginx 2021-11-19 09:05:57 +05:30
Revant Nandgaonkar
56c3341d74
Merge pull request #569 from Meradoch/patch-1
Fix permission denied error
2021-11-19 04:06:08 +05:30
Revant Nandgaonkar
c04edf8b6b fix(frappe-nginx): install python2 for v12 builds 2021-11-18 23:55:02 +05:30
Revant Nandgaonkar
8634460315 fix(frappe-nginx): create /assets dir 2021-11-18 22:48:22 +05:30
Revant Nandgaonkar
ef31d8e025 feat(frappe-nginx): use nginxinc/nginx-unprivileged image 2021-11-18 22:23:54 +05:30
Meradoch
2fa61e9868 Proposed changes to fix permission errors with mkdir 2021-11-18 18:40:30 +03:00
Meradoch
ccc3fc2707
Fix permission denied error 2021-11-18 14:58:25 +03:00
Revant Nandgaonkar
b7d990b2a5
Merge pull request #566 from revant/gha-creds
ci: use git command to config git creds
2021-11-11 09:20:53 +05:30
Revant Nandgaonkar
d320db2d04 ci: use git command to config git creds 2021-11-11 06:30:33 +05:30
Revant Nandgaonkar
02d8ce6d21
Merge pull request #564 from revant/gha-creds
ci: fix steps for helm release
2021-11-11 05:21:45 +05:30
Revant Nandgaonkar
cbf646b326 ci: fix steps for helm release 2021-11-11 05:06:57 +05:30
Revant Nandgaonkar
a355d8a48f
Merge pull request #563 from revant/gha-creds
ci: change git creds action for helm release
2021-11-11 04:20:49 +05:30
Revant Nandgaonkar
6a8440be34 ci: change git creds action for helm release 2021-11-10 22:10:51 +05:30
Revant Nandgaonkar
c0a4079cdf
ci: fix git creds for helm release (#561) 2021-11-10 21:42:19 +05:30
Lev
2c97ffd579
fix: ERPNext build (#558)
* fix(erpnext-nginx): Install recommended apt packages, set DEBIAN_FRONTEND=noninteractive

* Revert "fix(erpnext-nginx): Install recommended apt packages, set DEBIAN_FRONTEND=noninteractive"

This reverts commit 652481175d.

* fix(erpnext-worker): Install gcc
2021-11-10 11:24:47 +03:00
Lev
7c157aa487
refactor: Dockerfiles (#555)
* refactor(frappe-worker): Dockerfile

* fix(frappe-worker): Cloning frappe repo

* refactor(frappe-nginx): Dockerfile

* refactor(erpnext-nginx): Dockerfile

* chore(frappe-worker): Add space in Dockerfile

* refactor(bench): Dockerfile

* refactor(frappe-socketio): Dockerfile

* ci(Test): Add `workflow_dispatch` trigger

* fix(bench): Uncomment missing package

* fix(bench): Replace legacy `libmariadbclient-dev` with `libmariadb-dev`

* refactor(erpnext-nginx): Install script

- Remove repetitive code
- Don't explicitly install production deps (they are installed via plain `yarn` with dev deps)
- Don't write to lockfiles

* fix(erpnext-nginx): use -e flag, fix installation

* fix(erpnext-nginx): Don't install unused wget

* fix(frappe-nginx): Get newest certificates

* fix: Install ca-certificates on erpnext-nginx instead of frappe-nginx

* trigger ci

* ci(test): Fix trigger duplicate

* chore: Fix linting
2021-11-10 04:43:46 +05:30
Revant Nandgaonkar
f0997dbf23
Merge pull request #556 from vrslev/fix-drop-flags
fix(frappe-worker): Drop flags
2021-11-09 22:20:20 +05:30
Lev
5a38d66a70 chore: Fix linting 2021-11-09 16:54:02 +03:00