Commit graph

846 commits

Author SHA1 Message Date
Al Majumdar
fa0b9c97a5 comment out build on PR 2022-03-30 10:21:06 +05:30
Al Majumdar
6941c85186 force another build 2022-03-29 13:21:42 +05:30
Al Majumdar
6464fe5ff8 Merge branch 'images-for-m1-mac' of https://github.com/restlessronin/frappe_docker into images-for-m1-mac 2022-03-29 09:37:29 +05:30
Al Majumdar
f6bc1f7207 added comment to force build 2022-03-29 09:37:24 +05:30
Al Majumdar
004ff54c6c
Merge branch 'frappe:main' into images-for-m1-mac 2022-03-28 23:32:47 +05:30
Al Majumdar
21fdeee837
add QEMU action (#737) 2022-03-28 20:53:14 +03:00
Al Majumdar
56290e0c14
Merge branch 'frappe:main' into images-for-m1-mac 2022-03-28 13:19:48 +05:30
Al Majumdar
03d2747bc8 revert build push to version in current main 2022-03-28 13:17:52 +05:30
Al Majumdar
b3d4230fb0 revert 2022-03-28 13:09:43 +05:30
Al Majumdar
840ab1426e one more variation 2022-03-28 12:47:53 +05:30
Al Majumdar
faa997ec71 ditto 2022-03-28 12:41:54 +05:30
Al Majumdar
0f746361fe experiment to extract branch from context 2022-03-28 12:40:49 +05:30
Al Majumdar
ab295c0300 use commit id for tag 2022-03-28 12:35:06 +05:30
Al Majumdar
4e002685e1 experiment with syntax 2022-03-28 12:33:05 +05:30
Al Majumdar
c1ec298c87 specify branch name 2022-03-28 12:30:04 +05:30
Al Majumdar
38a6055fbd use build push from current branch 2022-03-28 12:25:11 +05:30
Al Majumdar
152060624e explicit build_push dependency 2022-03-28 12:17:11 +05:30
Al Majumdar
d5d12d06a3 use build_push from current branch 2022-03-28 12:13:37 +05:30
github-actions[bot]
94930b04be
chore(deps): Update pre-commit hooks (#734)
Co-authored-by: vrslev <vrslev@users.noreply.github.com>
2022-03-26 19:14:58 +03:00
Al Majumdar
4ff9a62b16 added platforms directive to default args 2022-03-26 14:03:38 +05:30
github-actions
c0e24f4543 chore: Update example.env 2022-03-26 05:29:40 +00:00
Al Majumdar
1945aa0257 cleanup 2022-03-25 09:01:20 +05:30
Al Majumdar
f6f554b55b test with vanilla buildx 2022-03-25 08:43:54 +05:30
Al Majumdar
83e61630d9 remove arm64 from breaking build 2022-03-25 08:36:36 +05:30
Al Majumdar
b2fe39b942 revert to older version of bake 2022-03-25 06:31:33 +05:30
Al Majumdar
bf05a18394 add qemu step 2022-03-25 06:23:14 +05:30
Al Majumdar
6458a9b9e8 test action fix 2022-03-24 21:12:23 +05:30
Al Majumdar
68d17bba44 update docker/bake-action to latest version 2022-03-24 20:53:38 +05:30
Al Majumdar
296d26e2ad Merge branch 'images-for-m1-mac' of https://github.com/restlessronin/frappe_docker into images-for-m1-mac 2022-03-24 20:37:18 +05:30
Al Majumdar
0e821a212e rebased to latest main 2022-03-24 20:33:06 +05:30
Al Majumdar
0a7ddb5b4b add platforms to bake file to include m1 (arm64) 2022-03-24 20:30:30 +05:30
Al Majumdar
4dc5fcf314 add platforms to bake file to include m1 (arm64) 2022-03-24 19:12:15 +05:30
dependabot[bot]
d8cbaa5e4a
chore(deps): bump pytest from 7.1.0 to 7.1.1 (#732)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.0...7.1.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 11:38:47 +03:00
Lev
269156ff7d
Fix develop build (#731)
* Prevent tests from modifying $GITHUB_ENV

This fixes develop build.

* Update frappe git url in dev requirements

* Update
2022-03-24 11:30:19 +03:00
Lev Vereshchagin
144baf9239 Fix CI tests 2022-03-24 10:56:10 +03:00
Lev
57d273c512
Update contributing guide (#730) 2022-03-24 10:42:00 +03:00
Lev
41ba718b21
Use pytest (#705)
* Use pytest for tests

* Pin black

* Update CI

* Rename test_main to test_frappe_docker

* Force project name "test"
2022-03-24 10:40:56 +03:00
Lev
1d5a0859a8
Add install-app script in final backend image (#729) 2022-03-24 10:38:45 +03:00
Lev
28a588b402
Fix example.env workflow failures (#728) 2022-03-24 10:11:48 +03:00
github-actions
ceab853dab chore: Update example.env 2022-03-23 09:10:26 +00:00
dependabot[bot]
6f2e48d3e8
chore(deps): bump peter-evans/create-pull-request from 3 to 4 (#725)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 11:56:40 +03:00
Lev
f86b389466
Simplify Dockerfiles and custom app guide (#714)
* Add assets builder image

* Use assets builder in custom_app tutorial

* Use erpnext in custom app tutorial

* Add info about base images (frappe or erpnext)

* Add assets-builder image to frappe group so it is built in CI

* Update backend image:
- Fix mounted caching
- Uncomplicate ERPNext build
- Fix root-frappe permissions

* Add build-assets script for simpler frontend build

* Add install-app script for backend build

* Rename build-assets to install-app for frontend build

* Update custom app builds according to new main dockerfiles

* Cache pip packages in custom app example backend dockerfile

* Update custom app guide

* Fix typo in backend dockerfile

* Add info about install-app scripts in readme
2022-03-23 11:43:47 +03:00
dependabot[bot]
2ef5c41420
chore(deps): bump actions/cache from 2 to 3 (#723)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 11:09:07 +03:00
github-actions
f28072722a chore: Update example.env 2022-03-21 05:31:45 +00:00
Jonas Weigand
4e1a5641c6
Update docs to advise for docker-compose v2 (#712)
This change is to inform users to use docker-compose v2. Using v1 can cause problems when parsing the final docker-compose.yaml. Mitigates #701
2022-03-19 11:03:11 +05:30
Lev
d4469cfb64
fix: Letterheads missing (#704)
* fix: Letterheads missing
Fixes #703

* empty
2022-03-18 16:20:39 +05:30
RashiqAzhan
10d2172bd8
Fix broken link in docs. (#710) 2022-03-17 16:21:10 +03:00
github-actions[bot]
1dd6e08b47
chore(deps): Update pre-commit hooks (#708)
Co-authored-by: vrslev <vrslev@users.noreply.github.com>
2022-03-17 10:22:40 +03:00
github-actions
3b4b539607 chore: Update example.env 2022-03-17 04:05:55 +00:00
Revant Nandgaonkar
79760daf9b
fix: link frappe node_modules to make Website Theme work (#702)
* fix: link frappe node_modules to make Website Theme work

* Add website theme test

* Fix failing test

Co-authored-by: Lev Vereshchagin <mail@vrslev.com>
2022-03-16 13:39:16 +03:00