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

1094 Commits

Author SHA1 Message Date
dependabot[bot]
0b952833b7
chore(deps): bump actions/setup-go from 2 to 3 (#775)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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-04-11 15:24:48 +03:00
dependabot[bot]
c3624ac417
chore(deps): bump actions/stale from 4 to 5 (#774)
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 5.
- [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/v4...v5)

---
updated-dependencies:
- dependency-name: actions/stale
  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-04-11 15:24:27 +03:00
Revant Nandgaonkar
5edac4c12a
feat: allow custom git repos (#771)
fixes #770
2022-04-11 10:30:16 +05:30
github-actions[bot]
bc915f7b34
chore(deps): Update pre-commit hooks (#766)
Co-authored-by: vrslev <vrslev@users.noreply.github.com>
2022-04-10 04:00:50 +05:30
tyt11123
700f1fafd1
Update multi-bench yaml (#767) 2022-04-10 04:00:00 +05:30
github-actions
435c9a2f2c chore: Update example.env 2022-04-09 15:22:06 +00:00
github-actions[bot]
038a8c0271
chore(deps): Update pre-commit hooks (#765)
Co-authored-by: vrslev <vrslev@users.noreply.github.com>
2022-04-07 16:12:14 +05:30
github-actions
c0b1881389 chore: Update example.env 2022-04-06 19:49:35 +00:00
github-actions
37dba7188a chore: Update example.env 2022-04-06 16:17:59 +00:00
Revant Nandgaonkar
b83938c0b8
docs: remove obsolete swarm related documentation (#763) 2022-04-06 15:33:40 +05:30
Revant Nandgaonkar
027c905355
ci: build v14 images (#759)
* ci: build v14 images

build v14* images

* fix: lint get_latest_tags.py
2022-04-06 12:44:39 +05:30
Revant Nandgaonkar
78ca6a9f8f
fix: config commands (#762) 2022-04-06 10:56:04 +05:30
Revant Nandgaonkar
149d11785a
fix: pwd assets and sites location (#760) 2022-04-06 05:49:59 +05:30
Revant Nandgaonkar
ba1902ad80
docs: use additional service during development (#758) 2022-04-06 05:08:26 +05:30
Lev
f39fe05fca
Use relative path to reusable workflow docker-build-push (#755)
Previously it was not allowed, now it is. Potentially there will be less bugs on changes.
2022-04-04 15:06:30 +05:30
Revant Nandgaonkar
fda82636b1
feat: add PWD button (#754)
* feat: add PWD button

* ci: change update versions workflow name
2022-04-04 15:02:08 +05:30
github-actions[bot]
5483abcc58
chore(deps): Update pre-commit hooks (#753)
Co-authored-by: vrslev <vrslev@users.noreply.github.com>
2022-04-04 11:01:56 +03:00
Al Majumdar
1fba893504
Add platforms to bake file to include m1 (arm64) (#733)
* add platforms to bake file to include m1 (arm64)

* add platforms to bake file to include m1 (arm64)

* rebased to latest main

* update docker/bake-action to latest version

* test action fix

* add qemu step

* revert to older version of bake

* remove arm64 from breaking build

* test with vanilla buildx

* cleanup

* added platforms directive to default args

* use build_push from current branch

* explicit build_push dependency

* use build push from current branch

* specify branch name

* experiment with syntax

* use commit id for tag

* experiment to extract branch from context

* ditto

* one more variation

* revert

* revert build push to version in current main

* added comment to force build

* force another build

* comment out build on PR

* test if event is pull request

* first test, event is "none"

* fix typo

* correct syntax

* set event name correctly

* explicit variable for multi arch build

* test multi arch build

* test negated conditional

* enable PR build

* use env variable to control multi arch

* test with env var

* revert

* revert

* try syntax variation

* check val

* try variation

* add platforms

* re-enable PR builds

* revert file

* untested but should work

* switch from env var to input for action

* test against restlessronin branch

* fix typo

* cleanups

* revert action link

* refactor to explicit platform list

* try variation

* remove env toggle

* retry

* try multi build

* ternary workaround

* cleanup

* revert action branch

* fix typo

* yat

* revert to origin CI action

* post review changes (untested)

* no arm for v12
2022-04-03 16:18:36 +03:00
Revant Nandgaonkar
832c44c8ea
fix: gunicorn config for containers (#752) 2022-04-03 15:45:39 +03:00
Lev
6fa358ca4e
Build for v12 (#750)
* Build for v12

Typo!!

* Fix Python 3.7 compatibility

* Skip assets endpoint test on v12
2022-04-03 15:57:22 +05:30
PlaidDroid
a389c3a175
Fix file name (#748)
erpnext.yaml > compose.erpnext.yaml
2022-04-03 12:29:36 +05:30
Revant Nandgaonkar
1448e46a9b
docs: single server setup example (#715)
* docs: single server setup example

* docs: lint single server setup example

* docs: LAN based setup

* docs: fix traefik ssl override

* docs: move data directory to user home

* docs: remove env-file from exec commands
2022-04-03 12:26:46 +05:30
Lev
ca9761585a
Remove git reference from install-app (#742)
* Remove git reference from install-app
Also fixed issue with missing sites/assets folder

* Update custom app guide according to changes

* Ignore apps that have no frontend code instead of failing
2022-03-30 12:09:09 +03:00
Lev
6759bebab5
Add color to pytest output in CI (#743) 2022-03-29 12:36:21 +03:00
github-actions
2407ed736f chore: Update example.env 2022-03-29 09:21:27 +00:00
github-actions[bot]
486b36ca76
chore(deps): Update pre-commit hooks (#739)
Co-authored-by: vrslev <vrslev@users.noreply.github.com>
2022-03-29 11:57:02 +03:00
dependabot[bot]
3d05f785ca
chore(deps-dev): bump black from 22.1.0 to 22.3.0 (#741)
Bumps [black](https://github.com/psf/black) from 22.1.0 to 22.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.1.0...22.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 11:56:19 +03:00
Al Majumdar
21fdeee837
add QEMU action (#737) 2022-03-28 20:53:14 +03:00
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
github-actions
c0e24f4543 chore: Update example.env 2022-03-26 05:29:40 +00:00
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
Al Majumdar
51319db0f4
update to VS Code version 1.64.2 (#675)
* update to VS Code version 1.64.2

* Make changes appropriate to refactor

Co-authored-by: Lev Vereshchagin <mail@vrslev.com>
2022-03-15 08:38:06 +03:00
Lev
1fff78ed82
Move Traefik config to appropriate override (#698)
Fixes #690
2022-03-15 05:06:46 +05:30