Skip to content

Commit

Permalink
Merge pull request #1001 from OasisLMF/release/1.27.9
Browse files Browse the repository at this point in the history
Release 1.27.9
  • Loading branch information
sambles authored Mar 27, 2024
2 parents 440a998 + c883a0e commit baee38b
Show file tree
Hide file tree
Showing 14 changed files with 484 additions and 389 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
branches:
- main-platform1
- stable**
- release**
pull_request:
branches:
- main-platform1
- stable**
- release**
workflow_dispatch:
inputs:
ods_branch:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
branches:
- main-platform1
- stable**
- release**
pull_request:
branches:
- main-platform1
- stable**
- release**
schedule:
- cron: '0 */6 * * *' # Run scan every 6 hours

Expand Down
19 changes: 6 additions & 13 deletions .github/workflows/test-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
branches:
- main-platform1
- stable**
- release**
pull_request:
branches:
- main-platform1
- stable**
- release**
workflow_dispatch:
inputs:
last_release:
Expand Down Expand Up @@ -44,8 +46,8 @@ jobs:
docker_push: true
ignore_unfixed: true
cve_severity: ${{ github.event_name != 'workflow_dispatch' && 'CRITICAL,HIGH' || inputs.cve_severity }}
oasislmf_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.oasislmf_branch }}
ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.ods_branch }}
oasislmf_branch: ${{ github.event_name != 'workflow_dispatch' && 'stable/1.27.x' || inputs.oasislmf_branch }}
ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'stable/3.0.x' || inputs.ods_branch }}

setup:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -86,22 +88,13 @@ jobs:
- name: Select PiWind branch
id: piwind
run: |
# Select matching base branch on piwind
if [[ "${{ github.event_name }}" = "pull_request" ]]; then
BRANCH=${{ github.base_ref }}
elif [[ "${{ github.event_name }}" = "push" ]]; then
BRANCH=${{ github.ref_name }}
if [[ -z "${{ inputs.piwind_branch }}" ]]; then
BRANCH='stable/1.27.x'
else
BRANCH=${{ inputs.piwind_branch }}
fi
#override 'main-platform1' -> 'main'
if [[ "$BRANCH" = 'main-platform1' ]]; then
BRANCH=main
fi
echo "branch=$BRANCH" >> $GITHUB_OUTPUT
- name: Select Pytest Options
id: pytest
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ on:
branches:
- main-platform1
- stable**
- release**
pull_request:
branches:
- main-platform1
- stable**
- release**

workflow_dispatch:
inputs:
ods_branch:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
OasisPlatform Changelog
=======================

`1.27.9`_
---------
* [#993, #971, #784, #664, #798](https://github.com/OasisLMF/OasisPlatform/pull/994) - Logging fixes for workers
* [#798](https://github.com/OasisLMF/OasisPlatform/pull/998) - Lost analyses logs when a task fails from exit code - v1 workers
* [#1004](https://github.com/OasisLMF/OasisPlatform/pull/1004) - Fixes for task Cancellation Handling
* [#984](https://github.com/OasisLMF/OasisPlatform/pull/984) - Release 1.27.8
* [#988](https://github.com/OasisLMF/OasisPlatform/pull/988) - Fixed CVE issues 1.27.8
.. _`1.27.9`: https://github.com/OasisLMF/OasisPlatform/compare/1.27.8...1.27.9

.. _`1.27.8`: https://github.com/OasisLMF/OasisPlatform/compare/1.27.7...1.27.8

.. _`1.27.7`: https://github.com/OasisLMF/OasisPlatform/compare/1.27.6...1.27.7
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.model_worker
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ COPY ./tests/integration /home/worker/tests/integration
# Add required directories
RUN mkdir -p /var/oasis && \
mkdir -p /home/worker/model && \
mkdir -p /var/log/oasis && \
mkdir -p /var/log/oasis/tasks && \
mkdir -p /shared-fs && \
touch /var/log/oasis/worker.log && \
chmod 777 /var/log/oasis/worker.log
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.model_worker_debian
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ COPY ./VERSION ./

RUN mkdir -p /var/oasis && \
mkdir -p /home/worker/model && \
mkdir -p /var/log/oasis && \
mkdir -p /var/log/oasis/tasks && \
mkdir -p /shared-fs && \
touch /var/log/oasis/worker.log && \
chmod 777 /var/log/oasis/worker.log
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.27.8
1.27.9
2 changes: 1 addition & 1 deletion requirements-worker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ numpy==1.23.5
# scikit-learn
# scipy
# shapely
oasislmf[extra]==1.27.8
oasislmf[extra]==1.27.9
# via -r requirements-worker.in
ods-tools==3.0.8
# via oasislmf
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ numpy==1.23.5
# scikit-learn
# scipy
# shapely
oasislmf[extra]==1.27.8
oasislmf[extra]==1.27.9
# via -r ./requirements-worker.in
ods-tools==3.0.8
# via
Expand Down
Loading

0 comments on commit baee38b

Please sign in to comment.