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

866 Commits

Author SHA1 Message Date
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
Lev
a2db23e68e fix(frappe-worker): Drop flags 2021-11-09 16:49:40 +03:00
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
b57371edf3
chore: Add version constraint for lint action 2021-11-09 14:52:44 +03:00
Lev
fe47a4b165
ci: Fix docker dependabot config 2021-11-09 14:29:06 +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
Revant Nandgaonkar
358293afc9
Merge pull request #549 from vrslev/refactor-worker-commands
refactor(frappe-worker): Replace basic commands with bench
2021-11-09 04:12:58 +05:30
Lev
d1ed880c78 ci(Dependabot): Add config for docker and npm 2021-11-08 19:44:10 +03:00
Revant Nandgaonkar
5aa6e4ec4a
Merge pull request #548 from vrslev/fix-socketio-cmd
fix(frappe-socketio): Remove dead `doctor` command
2021-11-08 21:21:18 +05:30
Lev
e4df6e5aec refactor(worker): Replace basic commands with bench 2021-11-08 16:10:26 +03:00
Lev
457ecc513b fix(frappe-socketio): Remove dead doctor command 2021-11-08 14:51:21 +03:00
Lev
9d41a6d24e Fix Python version for v12 2021-11-06 21:26:15 +03:00
Lev
de04eb032c
build: Fix develop build 2021-11-06 21:11:29 +03:00
Lev
089a2dc206
build: Fix stable builds (#546) 2021-11-06 21:07:39 +03:00
Lev
daa1926f03 Revert "update"
This reverts commit ce1ed546ab.
2021-11-06 20:02:42 +03:00
Lev
ce1ed546ab update 2021-11-06 20:01:55 +03:00
Revant Nandgaonkar
8ad84719ea
Merge pull request #544 from vrslev/improve-tests-and-fix-builds
Fix builds and tests
2021-11-06 17:10:33 +05:30
Revant Nandgaonkar
a8ab724212
Merge pull request #545 from vrslev/build-structure
chore: Move files from build/common
2021-11-06 11:22:47 +05:30
Lev
c808ad1767 chore: Move files from build/common 2021-11-05 20:00:11 +03:00
Lev
9a4aa8d226 ci: Lint on PR 2021-11-05 19:36:47 +03:00
Lev
9fa3e1b0e0
Merge branch 'main' into improve-tests-and-fix-builds 2021-11-05 19:01:18 +03:00
Lev
d2b18a3b48 update 2021-11-05 18:58:02 +03:00
Lev
38c7f1e269
Merge pull request #543 from vrslev/fix-build
ci: Fix stable build
2021-11-04 19:02:28 +03:00
Lev
de255d8052 ci: Fix stable build 2021-11-04 19:00:16 +03:00
Revant Nandgaonkar
915885bb05
Merge pull request #542 from vrslev/push-images-instantly
ci: Push images right after build
2021-11-04 21:27:45 +05:30
Lev
3c0f08652e ci: Push images right after build
This fixes the bug when ERPNext images are built upon old Frappe images and test are ran on old images
2021-11-04 15:24:08 +03:00
Revant Nandgaonkar
e685dc5ebc
Merge pull request #540 from vrslev/update-base-images
build: Update base images
2021-11-04 14:02:28 +05:30
Lev
a4c115f96d build: Update Python from 3.7 to 3.9; Debian from 10 to 11 2021-11-03 16:48:01 +03:00
Revant Nandgaonkar
33ec8cafc3
Merge pull request #537 from dtwm/develop
fix: Add missing packages for frappe:develop
2021-11-01 20:49:07 +05:30
dt
63da01c702
fix: Add missing packages for frappe:develop 2021-11-01 10:49:45 +03:00
Lev
2da9c02d58
ci: Build fixes
- Simplify builds by separating dev/stable workflows
- Fix Helm deploy key
- Remove deploy_key.env (already using deploy key in secrets)
- Fix paths matching on push and pull_request triggers
- Fix possible issues with tag difference between ERPNext and Frappe (add tag resolving step before pushing)
- Don't login, push Docker images and release Helm chart on forks
- Don't test on version 12 (there's no test for this version)
- Remove frappe-installer (from chore: use github actions #525)
- Fix badges in readme
2021-10-31 11:02:58 +05:30
Revant Nandgaonkar
37b8ccece1
Merge pull request #528 from frappe/dependabot/github_actions/actions/stale-4
chore(deps): bump actions/stale from 1 to 4
2021-10-30 18:28:17 +05:30
Revant Nandgaonkar
08a542978f
Merge pull request #533 from revant/ci-fix-workflows
ci: fixes ci steps
2021-10-30 16:26:07 +05:30
Revant Nandgaonkar
7d36be56f4 ci: fixes ci steps
helm release deploy key uses webfactory/ssh-agent@v0.5.3
test only on PR
docker login only if not PR
2021-10-30 11:47:12 +05:30
Revant Nandgaonkar
4c79d6d7c6
Merge pull request #531 from revant/fix-b64decode
ci: fix base64 decode of env variable
2021-10-29 22:48:56 +05:30
Revant Nandgaonkar
107f393277 ci: fix base64 decode of env variable 2021-10-29 22:44:30 +05:30
Revant Nandgaonkar
47b2d34dd1
Merge pull request #530 from vrslev/fix-typo-in-gha-workflow
ci(Build): Fix paths for PRs and branches
2021-10-29 16:49:23 +05:30
Lev
1daec15268 ci(Build): Fix paths for PRs and branches 2021-10-29 13:44:25 +03:00
dependabot[bot]
7518c2d374
chore(deps): bump actions/stale from 1 to 4
Bumps [actions/stale](https://github.com/actions/stale) from 1 to 4.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v1...v4)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-29 06:04:50 +00:00
Revant Nandgaonkar
20a119d7aa
Merge pull request #527 from vrslev/develop
ci: Use Docker Buildx Bake and GitHub Actions
2021-10-29 11:34:32 +05:30
Lev
b18119574b
ci: Use base64 encoded helm deploy key 2021-10-28 10:39:24 +03:00
Lev
a3cf159439 ci: Uncomment for-production code 2021-10-27 16:27:46 +03:00
Lev
078a7f5602 chore: Rename badge 2021-10-27 16:10:14 +03:00
Lev
1cbb845af1 ci: Use GitHub Actions to build images 2021-10-27 16:07:43 +03:00