Commit Graph

7967 Commits

Author SHA1 Message Date
wotnak eb8a77607b
Split dev stage into two separate ones to improve dev image cacheability 2024-01-01 08:30:57 +01:00
wotnak e54d689376
Add GIT_COMMIT build arg to ensure cache invalidation between different commits on the same branch 2024-01-01 08:29:28 +01:00
wotnak 778de46e31
Use Buildx to build and cache docker images 2024-01-01 08:28:51 +01:00
AlMaVizca 3774afee32
Merge development image into a single Dockerfile
Changes based on PR review
2023-12-29 23:15:10 +07:00
AlMaVizca 53fd5ebbbb
Relocate php unit configuration 2023-12-23 14:00:19 +07:00
AlMaVizca 635adf1a04
Refactor composer dependencies to create the production image
Use docker stages to install dependencies and simplify the building script.
Prepare production image while keeping compatibility with the development image.

Fix typo

Relocate arguments to improve cache

Make single line for each env definition

Remove composer home path

Avoid installing recommended packages
2023-12-23 14:00:19 +07:00
AlMaVizca 3a25ca5d71
Avoid repeating common path
Use common path on entrypoint
2023-12-23 14:00:19 +07:00
AlMaVizca 4803e40043
Define baseimage with arguments required in multiple stages
Change versions, add common paths

Keep drupal path

Fix comment
2023-12-23 14:00:19 +07:00
wotnak a2bd7136cf Configure www service to wait for db service to be healthy instead of only started #758 2023-12-22 06:17:47 -05:00
wotnak 1773a2eae5 Add healthcheck to MariaDB container to ensure it is ready to accept external connections before reporting as ready #758 2023-12-22 06:17:37 -05:00
Paul Weidner 0e211cb33c Increase weight of Asset and Log tasks on canonical user route #757
The current weight of these menu items is 0 and makes it challenging to
place other menu tasks between Edit and Asset. I would like to add a
Notifications task item and keep it closer to the edit task.
2023-12-09 07:08:03 -08:00
Michael Stenta 8147d47c88 Move quick form Kernel tests directory into src directory. 2023-12-07 14:32:13 -05:00
Paul Weidner d16bc107ad Use strict identical operator when checking geometry format #756 2023-11-30 14:02:13 -05:00
Paul Weidner 56b3b4de95 Correct alter hook to add password grant to static scopes #755 2023-11-30 13:55:52 -05:00
Michael Stenta a07a491903 farmOS 3.0.0-beta3 2023-11-27 14:42:12 -05:00
Michael Stenta 845ee7f6cb Update drupal/state_machine to ^1.9 and remove merged patch. 2023-11-27 13:59:03 -05:00
Michael Stenta 9d8dc8dd1f Only create releases on tag pushes to the official repository. 2023-11-27 13:40:49 -05:00
Michael Stenta 485908beb0 Fix composer require farmos/farmos version constraint in build-farmOS.sh. 2023-11-27 13:40:49 -05:00
Michael Stenta c0804bb22d Only add farmOS repository to composer.json for non-tag versions. 2023-11-27 13:40:23 -05:00
Michael Stenta 19f227a8f6 Fix KML serialization #753 2023-11-27 11:47:09 -05:00
Michael Stenta 7e3422cd4d Add CHANGELOG.md line for #753. 2023-11-27 11:44:53 -05:00
Paul Weidner b97184d165 Use ContentEntityInterface as type when normalizing to geometry_* formats 2023-11-27 11:44:53 -05:00
Paul Weidner 94c9fe9ed0 Use GeometryWrapper as type when normalizing to geometry_kml format 2023-11-27 11:44:53 -05:00
Michael Stenta 8f2efe2724 Add default view_builder handler for plan type, for consistency.
Both asset type and plan type use a "canonical" link.
2023-11-27 11:44:31 -05:00
Paul Weidner 808a6abb58 Add default view_builder handler for asset type #752
This fixes a potential bug where the canonical route is not created if a view_builder is not provided.
2023-11-27 10:28:55 -05:00
Michael Stenta 97cf31b5bd Remove unnecessary/incorrect consumer owner_id/user_id lines. 2023-11-06 11:51:21 -05:00
Michael Stenta 0df3970683 Create multi-stage dockerfile #734 2023-11-06 11:47:49 -05:00
AlMaVizca 9d5f8244ed Build PHP dependencies in one stage. 2023-11-06 09:55:22 -05:00
AlMaVizca e7774c5321 Use a multi-stage Docker image build process and clean up dependencies. 2023-11-06 09:55:09 -05:00
AlMaVizca eb52d4ff2d Move configuration to separate files to improve Dockerfile legibility. 2023-11-06 09:55:09 -05:00
AlMaVizca 949f69269d Use docker-php-ext-enable to enable XDebug extension. 2023-11-06 09:55:09 -05:00
AlMaVizca 3ffeabf862 Change mode of docker-entrypoint.sh to 755 in repo instead of using chown in Dockerfile. 2023-11-06 09:55:09 -05:00
AlMaVizca bd85806f5b No longer necessary to make /usr/share/man directories for postgresql-client. 2023-11-06 09:55:09 -05:00
Petru Paler a15521abe7
Minor typo fix. 2023-11-06 05:57:24 +00:00
Michael Stenta de889ac391 farmOS 3.0.0-beta2 2023-11-03 14:19:41 -04:00
Michael Stenta 89db531dab Fix warning message when rendering link to birth log #746 2023-11-03 14:16:55 -04:00
Michael Stenta a7bf168746 Add CHANGELOG.md line for #746. 2023-11-03 14:14:13 -04:00
Paul Weidner 51d943478d Build url from route instead of loading log entity 2023-11-03 14:13:28 -04:00
Paul Weidner ee6a7fb57c Use a link element to render link to birth log
The timestamp formatter changed and no longer uses #markup but
#text in the render array for the formatted timestamp. This causes
the following warning message:

Warning: Undefined array key "#markup" in farm_birth_asset_view_alter() (line 67 of profiles/farm/modules/log/birth/farm_birth.module).
2023-11-03 14:13:28 -04:00
Paul Weidner 6921832d25 Update csv_serialization dependency to ^4.0 #745 2023-11-03 14:12:01 -04:00
Michael Stenta 3d1f5ba984 Rearrange build-farmOS.js ${FARMOS_COMPOSER_VERSION} assignment logic.
There is no functional change. This just rearranges the if/elif/else
logic into a more intuitive order.
2023-11-03 13:13:38 -04:00
Michael Stenta a74ec6ad0c Fix issue with build-farmOS.sh tagged releases.
Previously ${FARMOS_COMPOSER_VERSION} was not being set for
tagged releases, causing `composer require farmos/farmos`
to run without a version constraint. This worked for 2.x
releases because it would default to the latest stable release.

This does not work for 3.0.0-betaX releases, because they are
not considered "stable" by Composer, so it falls back on the
latest stable 2.x release (2.2.2).
2023-11-03 11:18:17 -04:00
Michael Stenta 8d90aec7f2 farmOS 3.0.0-beta1 2023-11-01 15:16:46 -04:00
Michael Stenta 60c96013d3 Update Drupal core to 10.1.6. 2023-11-01 15:15:46 -04:00
Michael Stenta 413c7e24ae Patch jsonapi_schema for Issue #3397275: Use OptionsProviderInterface::getPossibleOptions() for allowed field values (anyOf / oneOf) 2023-11-01 15:04:09 -04:00
Michael Stenta 50f6a8cb8b Require log ^2.2 for Issue #3396419: Make timestamp required 2023-11-01 14:58:47 -04:00
Michael Stenta 28dcba091e Add some separation to 3.x API changes doc between OAuth2 changes and others. 2023-11-01 14:54:53 -04:00
Michael Stenta 69b36c065f Update Simple OAuth module to v6 #743 2023-11-01 14:41:47 -04:00
Michael Stenta 01a31518be Add CHANGELOG.md lines for #743. 2023-11-01 14:41:11 -04:00
Paul Weidner 04566c2010 Update API OAuth changes doc 2023-11-01 14:41:11 -04:00