Skip to content

Commit a72d2d6

Browse files
authored
chore(docker): bump next release to 810, create 811 dev (#615)
* docker bump release * move script to utilities dir * Bump release 8.0.1 -> 8.1.0, add bump-release.sh tool * Remove 8.0.1 files and update all references to 8.1.0 * Update build-810.yml: track rel-810 branch, tags 8.1.0 and next * fix build-800 to use rel-800 * Add build-811.yml: track master branch, tags 8.1.1 and dev * adjust script for copying * Add 8.1.1 docker and test directories copied from 8.1.0 * advance fsupgrade * shellcheck for bump script * shellcheck for bump script * builds run from devops master * shellcheck for bump script * Add fsupgrade-10 to Dockerfiles, set 8.1.0 to track rel-810, fix OVERVIEW.md tags * Fix shellcheck warnings in bump-release.sh and workflow files
1 parent 3034984 commit a72d2d6

91 files changed

Lines changed: 6538 additions & 180 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ updates:
1818
schedule:
1919
interval: "daily"
2020

21-
# Docker - docker/openemr/8.0.1
21+
# Docker - docker/openemr/8.1.0
2222
- package-ecosystem: "docker"
23-
directory: "/docker/openemr/8.0.1"
23+
directory: "/docker/openemr/8.1.0"
2424
schedule:
2525
interval: "daily"
2626

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Development 8.0.1 Docker Nightly Build
1+
name: Development 8.1.0 Docker Nightly Build
22

33
on:
44
workflow_dispatch:
@@ -22,12 +22,12 @@ jobs:
2222
password: ${{ secrets.DOCKERHUB_TOKEN }}
2323
- name: Get build date
2424
id: build_date
25-
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
26-
- name: Build and push 8.0.1 docker
25+
run: echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
26+
- name: Build and push 8.1.0 docker
2727
uses: docker/build-push-action@v7
2828
with:
29-
context: "{{defaultContext}}:docker/openemr/8.0.1"
30-
tags: openemr/openemr:8.0.1, openemr/openemr:next, openemr/openemr:dev
29+
context: "{{defaultContext}}:docker/openemr/8.1.0"
30+
tags: openemr/openemr:8.1.0, openemr/openemr:next
3131
platforms: linux/amd64,linux/arm64
3232
push: true
3333
no-cache: true

.github/workflows/build-811.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Development 8.1.1 Docker Nightly Build
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 2 * * *' # run at 2 AM UTC
7+
8+
jobs:
9+
build:
10+
# Only run from master branch on the main repository
11+
if: github.repository_owner == 'openemr' && github.repository == 'openemr/openemr-devops' && github.ref == 'refs/heads/master'
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- name: Set up QEMU
15+
uses: docker/setup-qemu-action@v4
16+
- name: Set up Docker Buildx
17+
uses: docker/setup-buildx-action@v4
18+
- name: Login to Docker Hub
19+
uses: docker/login-action@v4
20+
with:
21+
username: ${{ secrets.DOCKERHUB_USERNAME }}
22+
password: ${{ secrets.DOCKERHUB_TOKEN }}
23+
- name: Get build date
24+
id: build_date
25+
run: echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
26+
- name: Build and push 8.1.1 docker
27+
uses: docker/build-push-action@v7
28+
with:
29+
context: "{{defaultContext}}:docker/openemr/8.1.1"
30+
tags: openemr/openemr:8.1.1, openemr/openemr:dev
31+
platforms: linux/amd64,linux/arm64
32+
push: true
33+
no-cache: true

.github/workflows/test-bats.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
# Run BATS tests for bash scripts in 8.0.1, binary, and flex Docker contexts.
1+
# Run BATS tests for bash scripts in 8.1.0, binary, and flex Docker contexts.
22
# Ensures all scripts have valid syntax and expected structure.
33

4-
name: BATS Tests (8.0.1, binary, flex)
4+
name: BATS Tests (8.1.0, binary, flex)
55

66
on:
77
push:
88
branches: [master]
99
paths:
1010
- '.github/workflows/test-bats.yml'
1111
- 'tests/bats/**'
12-
- 'docker/openemr/8.0.1/**'
12+
- 'docker/openemr/8.1.0/**'
1313
- 'docker/openemr/binary/**'
1414
- 'docker/openemr/flex/**'
1515
pull_request:
1616
branches: [master]
1717
paths:
1818
- '.github/workflows/test-bats.yml'
1919
- 'tests/bats/**'
20-
- 'docker/openemr/8.0.1/**'
20+
- 'docker/openemr/8.1.0/**'
2121
- 'docker/openemr/binary/**'
2222
- 'docker/openemr/flex/**'
2323

2424
jobs:
25-
bats-801:
26-
name: BATS 8.0.1
25+
bats-810:
26+
name: BATS 8.1.0
2727
runs-on: ubuntu-22.04
2828
steps:
2929
- uses: actions/checkout@v6
@@ -37,8 +37,8 @@ jobs:
3737
run: |
3838
git clone --depth 1 https://github.com/bats-core/bats-support.git tests/bats/test_helper/bats-support
3939
git clone --depth 1 https://github.com/bats-core/bats-assert.git tests/bats/test_helper/bats-assert
40-
- name: Run BATS tests (8.0.1)
41-
run: bats tests/bats/8.0.1/
40+
- name: Run BATS tests (8.1.0)
41+
run: bats tests/bats/8.1.0/
4242

4343
bats-binary:
4444
name: BATS binary

.github/workflows/test-container-functionality.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# Run container_benchmarking test_functionality.sh for 8.0.1, binary, and flex.
1+
# Run container_benchmarking test_functionality.sh for 8.1.0, binary, and flex.
22
# Uses the test_suite.sh inside container_benchmarking to verify containers perform as expected.
33
# By default runs the full test suite per variant. Use workflow_dispatch with test_name to run a single test.
44

5-
name: Container Functionality (8.0.1, binary, flex)
5+
name: Container Functionality (8.1.0, binary, flex)
66

77
on:
88
push:
99
branches: [master]
1010
paths:
1111
- '.github/workflows/test-container-functionality.yml'
1212
- 'utilities/container_benchmarking/**'
13-
- 'docker/openemr/8.0.1/**'
13+
- 'docker/openemr/8.1.0/**'
1414
- 'docker/openemr/binary/**'
1515
- 'docker/openemr/flex/**'
1616
pull_request:
1717
branches: [master]
1818
paths:
1919
- '.github/workflows/test-container-functionality.yml'
2020
- 'utilities/container_benchmarking/**'
21-
- 'docker/openemr/8.0.1/**'
21+
- 'docker/openemr/8.1.0/**'
2222
- 'docker/openemr/binary/**'
2323
- 'docker/openemr/flex/**'
2424
workflow_dispatch:
@@ -33,8 +33,8 @@ env:
3333
TEST_SUITE_ARGS: ''
3434

3535
jobs:
36-
functionality-801:
37-
name: Functionality 8.0.1
36+
functionality-810:
37+
name: Functionality 8.1.0
3838
runs-on: ubuntu-22.04
3939
steps:
4040
- uses: actions/checkout@v6
@@ -48,10 +48,10 @@ jobs:
4848
else
4949
echo "args=${{ env.TEST_SUITE_ARGS }}" >> "$GITHUB_OUTPUT"
5050
fi
51-
- name: Run container functionality tests (8.0.1)
51+
- name: Run container functionality tests (8.1.0)
5252
run: |
5353
cd utilities/container_benchmarking
54-
./test_functionality.sh 8.0.1 ${{ steps.args.outputs.args }}
54+
./test_functionality.sh 8.1.0 ${{ steps.args.outputs.args }}
5555
5656
functionality-binary:
5757
name: Functionality binary

docker/openemr/8.0.1/upgrade/docker-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)