Skip to content

Commit 9a8831c

Browse files
committed
Merge branch 'release-v1.6.0' into release-v1.6.1
2 parents 7ecbae2 + 3ee08d8 commit 9a8831c

File tree

2 files changed

+64
-8
lines changed

2 files changed

+64
-8
lines changed

.github/workflows/publish-release.yml

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,37 @@ jobs:
4848
- name: Get list of services
4949
id: get-services
5050
run: |
51-
services=$(grep "^ [^ ]" docker-compose.yml | grep -v '#' | awk -F: '{print $1}' | sed -e 's/^ *//')
51+
services=$(grep "^ [^ ]" docker-compose.yml | grep -v base| grep -v '#' | awk -F: '{print $1}' | sed -e 's/^ *//')
5252
services_json=$(echo $services | tr '\n' ',' | sed 's/,$//' | jq -R 'split(" ")' | tr -d '\n')
5353
# Set the list of service names as an output variable
5454
echo "services=$services_json" >> $GITHUB_OUTPUT
5555
echo "services=$services_json"
5656
57+
- name: Login to DockerHub
58+
uses: docker/login-action@v3
59+
with:
60+
username: ${{ secrets.DOCKER_USERNAME }}
61+
password: ${{ secrets.DOCKER_PASSWORD }}
62+
63+
- name: Build and push base image
64+
uses: docker/build-push-action@v6
65+
with:
66+
file: packages/Dockerfile.base
67+
context: .
68+
push: true
69+
tags: |
70+
opencrvs/ocrvs-base:${{ steps.set-version.outputs.version }}
71+
cache-from: type=registry,ref=opencrvs/ocrvs-base:${{ steps.set-version.outputs.version }}
72+
cache-to: type=inline
73+
5774
outputs:
5875
services: ${{ steps.get-services.outputs.services }}
5976
version: ${{ steps.set-version.outputs.version }}
6077

6178
build:
6279
needs: base
6380
strategy:
81+
fail-fast: false
6482
matrix:
6583
service: ${{ fromJSON(needs.base.outputs.services) }}
6684
runs-on: ubuntu-22.04
@@ -74,17 +92,23 @@ jobs:
7492
if: github.event_name == 'push'
7593

7694
- name: Login to DockerHub
77-
uses: docker/login-action@v1
95+
uses: docker/login-action@v3
7896
with:
7997
username: ${{ secrets.DOCKER_USERNAME }}
8098
password: ${{ secrets.DOCKER_PASSWORD }}
8199

82-
- name: Build ${{ matrix.service }}
83-
run: |
84-
echo ${{ matrix.service }}
85-
export VERSION=${{ github.event.inputs.release_version }}
86-
docker compose build ${{ matrix.service }}
87-
docker compose push ${{ matrix.service }}
100+
- name: Build and push
101+
uses: docker/build-push-action@v6
102+
with:
103+
file: packages/${{ matrix.service }}/Dockerfile
104+
build-args: |
105+
VERSION=${{ needs.base.outputs.version }}
106+
push: true
107+
context: .
108+
tags: |
109+
opencrvs/ocrvs-${{ matrix.service }}:${{ needs.base.outputs.version }}
110+
cache-from: type=registry,ref=opencrvs/ocrvs-${{ matrix.service }}:${{ needs.base.outputs.version}}
111+
cache-to: type=inline
88112

89113
security-scans:
90114
needs: [base, build]

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,38 @@
1313

1414
## [1.6.0](https://github.com/opencrvs/opencrvs-core/compare/v1.5.1...v1.6.0)
1515

16+
#### ElasticSearch reindexing
17+
18+
Allows reindexing ElasticSearch via a new search-service endpoint `reindex`. We're replacing the original `ocrvs` index with timestamped ones. This is done automatically when upgrading and migrating, but this is an important architectural change that should be noted. More details in [#7033](https://github.com/opencrvs/opencrvs-core/pull/7033).
19+
20+
- Introduce a new certificate handlebar "preview" which can be used to conditionally render some svg element when previewing the certificate e.g. background image similar to security paper
21+
22+
### Improvements
23+
24+
- Internally we were storing the `family` name field as a required property which was limiting what how you could capture the name of a person in the forms. Now we are storing it as an optional property which would make more flexible.
25+
- Remove the leftover features from the application config pages, such as certificates and informant notification. [#7156](https://github.com/opencrvs/opencrvs-core/issues/7156)
26+
- **PDF page size** The generated PDF used to be defaulted to A4 size. Now it respects the SVG dimensions if specified
27+
- Support html content wrapped in `foreignObject` used in svg template in certificate PDF output
28+
29+
## Bug fixes
30+
31+
- Custom form field validators from country config will work offline. [#7478](https://github.com/opencrvs/opencrvs-core/issues/7478)
32+
- Registrar had to retry from outbox every time they corrected a record. [#7583](https://github.com/opencrvs/opencrvs-core/issues/7583)
33+
- Local environment setup command (`bash setup.sh`) could fail in machines that didn't have a unrelated `compose` binary. Fixed to check for Docker Compose. [#7609](https://github.com/opencrvs/opencrvs-core/pull/7609)
34+
- Fix date validation not working correctly in Firefox [#7615](https://github.com/opencrvs/opencrvs-core/issues/7615)
35+
- Fix layout issue that was causing the edit button on the AdvancedSearch's date range picker to not show on mobile view. [#7417](https://github.com/opencrvs/opencrvs-core/issues/7417)
36+
- Fix hardcoded placeholder copy of input when saving a query in advanced search
37+
- Handle label params used in form inputs when rendering in action details modal
38+
- Fix health facilities missing from dropdown after correcting a record address [#7528](https://github.com/opencrvs/opencrvs-core/issues/7528)
39+
- "Choose a new password" form now allows the user to submit the form using the "Enter/Return" key [#5502](https://github.com/opencrvs/opencrvs-core/issues/5502)
40+
- Dropdown options now flow to multiple rows in forms [#7653](https://github.com/opencrvs/opencrvs-core/pull/7653)
41+
- Only render units/postfix when field has a value [#7055](https://github.com/opencrvs/opencrvs-core/issues/7055)
42+
- Only show items with values in review [#5192](https://github.com/opencrvs/opencrvs-core/pull/5192)
43+
- Fix prefix text overlap issue in form text inputs
44+
- **Staged files getting reset on precommit hook failure** We were running lint-staged separately on each package using lerna which potentially created a race condition causing staged changes to get lost on failure. Now we are running lint-staged directly without depending on lerna. **_This is purely a DX improvement without affecting any functionality of the system_**
45+
- Fix `informantType` missing in template object which prevented rendering informant relationship data in the certificates [#5952](https://github.com/opencrvs/opencrvs-core/issues/5952)
46+
- Fix users hitting rate limit when multiple users authenticated the same time with different usernames [#7728](https://github.com/opencrvs/opencrvs-core/issues/7728)
47+
1648
### Breaking changes
1749

1850
- Remove informant notification configuration from the UI and read notification configuration settings from `record-notification` endpoint in countryconfig

0 commit comments

Comments
 (0)