Skip to content

Commit 5b45014

Browse files
authored
Merge pull request #3161 from VOLTTRON/releases/9.0rc0
Releases/9.0
2 parents f69e876 + 28e7f07 commit 5b45014

File tree

659 files changed

+34153
-87816
lines changed

Some content is hidden

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

659 files changed

+34153
-87816
lines changed

.github/workflows/code_analysis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ on:
2020
schedule:
2121
- cron: '25 18 * * 2'
2222

23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
25+
cancel-in-progress: true
26+
2327
jobs:
2428
analyze:
2529
name: Analyze
@@ -38,11 +42,11 @@ jobs:
3842

3943
steps:
4044
- name: Checkout repository
41-
uses: actions/checkout@v2
45+
uses: actions/checkout@v4
4246

4347
# Initializes the CodeQL tools for scanning.
4448
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v1
49+
uses: github/codeql-action/init@v2
4650
with:
4751
languages: ${{ matrix.language }}
4852
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +57,7 @@ jobs:
5357
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5458
# If this step fails, then you should remove it and run the build manually (see below)
5559
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v1
60+
uses: github/codeql-action/autobuild@v2
5761

5862
# ℹ️ Command-line programs to run using the OS shell.
5963
# 📚 https://git.io/JvXDl
@@ -67,4 +71,4 @@ jobs:
6771
# make release
6872

6973
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v1
74+
uses: github/codeql-action/analyze@v2

.github/workflows/pytest-auth.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,21 @@
1414
name: Testing platform auth
1515

1616
# Determine what events are going to trigger a running of the workflow
17-
on: [pull_request]
17+
on:
18+
workflow_dispatch:
19+
push:
20+
branches:
21+
- develop
22+
- releases/**
23+
pull_request:
24+
branches:
25+
- main
26+
- develop
27+
- releases/**
28+
29+
concurrency:
30+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
31+
cancel-in-progress: true
1832

1933
jobs:
2034
# The job named build
@@ -36,17 +50,17 @@ jobs:
3650
# Each step will be run in order of listing.
3751
steps:
3852
# checkout the volttron repository and set current direectory to it
39-
- uses: actions/checkout@v2
53+
- uses: actions/checkout@v4
4054

4155
# setup the python environment for the operating system
4256
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
43-
uses: actions/setup-python@v2
57+
uses: actions/setup-python@v5
4458
with:
4559
python-version: ${{ matrix.python-version }}
4660

4761
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
4862
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
49-
uses: volttron/volttron-build-action@v4
63+
uses: volttron/volttron-build-action@v6
5064
with:
5165
python_version: ${{ matrix.python-version }}
5266
os: ${{ matrix.os }}
@@ -55,20 +69,20 @@ jobs:
5569

5670
# Archive the results from the pytest to storage.
5771
- name: Archive test results
58-
uses: actions/upload-artifact@v2
72+
uses: actions/upload-artifact@v4
5973
if: always()
6074
with:
6175
name: pytest-report
6276
path: output/test-auth-${{matrix.os}}-${{ matrix.python-version }}-results.xml
63-
77+
6478
# - name: Publish Unit Test Results
6579
# uses: EnricoMi/publish-unit-test-result-action@v1.5
6680
# if: always()
6781
# with:
6882
# github_token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}
6983
# files: output/test-testutils*.xml
70-
71-
84+
85+
7286
#-cov=com --cov-report=xml --cov-report=html
7387
# pytest tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
7488
# - name: Lint with flake8

.github/workflows/pytest-dbutils-backup_db.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,20 @@ name: Testing BackupDatabase
1515

1616
# Determine what events are going to trigger a running of the workflow
1717
on:
18+
workflow_dispatch:
1819
push:
1920
branches:
2021
- develop
2122
- releases/**
2223
pull_request:
2324
branches:
24-
- main
25-
- develop
26-
- releases/**
25+
- main
26+
- develop
27+
- releases/**
28+
29+
concurrency:
30+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
31+
cancel-in-progress: true
2732

2833
jobs:
2934
build:
@@ -46,11 +51,11 @@ jobs:
4651

4752
steps:
4853
# checkout the volttron repository and set current directory to it
49-
- uses: actions/checkout@v2
54+
- uses: actions/checkout@v4
5055

5156
# setup the python environment for the operating system
5257
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
53-
uses: actions/setup-python@v2
58+
uses: actions/setup-python@v5
5459
with:
5560
python-version: ${{ matrix.python-version }}
5661

@@ -60,7 +65,7 @@ jobs:
6065
6166
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
6267
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
63-
uses: volttron/volttron-build-action@v4
68+
uses: volttron/volttron-build-action@v6
6469
timeout-minutes: 600
6570
with:
6671
python_version: ${{ matrix.python-version }}
@@ -70,7 +75,7 @@ jobs:
7075

7176
# Archive the results from the pytest to storage.
7277
- name: Archive test results
73-
uses: actions/upload-artifact@v2
78+
uses: actions/upload-artifact@v4
7479
if: always()
7580
with:
7681
name: pytest-report

.github/workflows/pytest-dbutils-influxdbfuncts.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@
77

88
name: Testing influxdbutils
99
on:
10+
workflow_dispatch:
1011
push:
1112
branches:
1213
- develop
1314
- releases/**
1415
pull_request:
1516
branches:
16-
- main
17-
- develop
18-
- releases/**
17+
- main
18+
- develop
19+
- releases/**
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
22+
cancel-in-progress: true
1923

2024
jobs:
2125
build:
@@ -35,12 +39,12 @@ jobs:
3539

3640
steps:
3741
# checkout the volttron repository and set current directory to it
38-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v4
3943

4044
# Attempt to restore the cache from the build-dependency-cache workflow if present then
4145
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
4246
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
43-
uses: actions/setup-python@v2
47+
uses: actions/setup-python@v5
4448
with:
4549
python-version: ${{ matrix.python-version }}
4650

@@ -50,7 +54,7 @@ jobs:
5054
5155
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
5256
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
53-
uses: volttron/volttron-build-action@v4
57+
uses: volttron/volttron-build-action@v6
5458
timeout-minutes: 600
5559
with:
5660
python_version: ${{ matrix.python-version }}
@@ -60,7 +64,7 @@ jobs:
6064

6165
# Archive the results from the pytest to storage.
6266
- name: Archive test results
63-
uses: actions/upload-artifact@v2
67+
uses: actions/upload-artifact@v4
6468
if: always()
6569
with:
6670
name: pytest-report

.github/workflows/pytest-dbutils-mysqlfuncts.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@
77

88
name: Testing mysqlfuncts
99
on:
10+
workflow_dispatch:
1011
push:
1112
branches:
1213
- develop
1314
- releases/**
1415
pull_request:
1516
branches:
16-
- main
17-
- develop
18-
- releases/**
17+
- main
18+
- develop
19+
- releases/**
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
22+
cancel-in-progress: true
1923

2024
jobs:
2125
build:
@@ -35,12 +39,12 @@ jobs:
3539

3640
steps:
3741
# checkout the volttron repository and set current directory to it
38-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v4
3943

4044
# Attempt to restore the cache from the build-dependency-cache workflow if present then
4145
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
4246
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
43-
uses: actions/setup-python@v2
47+
uses: actions/setup-python@v5
4448
with:
4549
python-version: ${{ matrix.python-version }}
4650

@@ -50,7 +54,7 @@ jobs:
5054
5155
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
5256
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
53-
uses: volttron/volttron-build-action@v4
57+
uses: volttron/volttron-build-action@v6
5458
timeout-minutes: 600
5559
with:
5660
python_version: ${{ matrix.python-version }}
@@ -60,7 +64,7 @@ jobs:
6064

6165
# Archive the results from the pytest to storage.
6266
- name: Archive test results
63-
uses: actions/upload-artifact@v2
67+
uses: actions/upload-artifact@v4
6468
if: always()
6569
with:
6670
name: pytest-report

.github/workflows/pytest-dbutils-postgresqlfuncts.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@
77

88
name: Testing postgresqlfuncts
99
on:
10+
workflow_dispatch:
1011
push:
1112
branches:
1213
- develop
1314
- releases/**
1415
pull_request:
1516
branches:
16-
- main
17-
- develop
18-
- releases/**
17+
- main
18+
- develop
19+
- releases/**
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
22+
cancel-in-progress: true
1923

2024
jobs:
2125
build:
@@ -35,12 +39,12 @@ jobs:
3539

3640
steps:
3741
# checkout the volttron repository and set current directory to it
38-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v4
3943

4044
# Attempt to restore the cache from the build-dependency-cache workflow if present then
4145
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
4246
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
43-
uses: actions/setup-python@v2
47+
uses: actions/setup-python@v5
4448
with:
4549
python-version: ${{ matrix.python-version }}
4650

@@ -50,7 +54,7 @@ jobs:
5054
5155
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
5256
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
53-
uses: volttron/volttron-build-action@v4
57+
uses: volttron/volttron-build-action@v6
5458
timeout-minutes: 600
5559
with:
5660
python_version: ${{ matrix.python-version }}
@@ -60,7 +64,7 @@ jobs:
6064

6165
# Archive the results from the pytest to storage.
6266
- name: Archive test results
63-
uses: actions/upload-artifact@v2
67+
uses: actions/upload-artifact@v4
6468
if: always()
6569
with:
6670
name: pytest-report

.github/workflows/pytest-dbutils-sqlitefuncts.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,19 @@
77

88
name: Testing sqlitefuncts
99
on:
10+
workflow_dispatch:
1011
push:
1112
branches:
1213
- develop
1314
- releases/**
1415
pull_request:
1516
branches:
16-
- main
17-
- develop
18-
- releases/**
19-
17+
- main
18+
- develop
19+
- releases/**
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
22+
cancel-in-progress: true
2023
jobs:
2124
build:
2225
env:
@@ -35,12 +38,12 @@ jobs:
3538

3639
steps:
3740
# checkout the volttron repository and set current directory to it
38-
- uses: actions/checkout@v2
41+
- uses: actions/checkout@v4
3942

4043
# Attempt to restore the cache from the build-dependency-cache workflow if present then
4144
# the output value steps.check_files.outputs.files_exists will be set (see the next step for usage)
4245
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
43-
uses: actions/setup-python@v2
46+
uses: actions/setup-python@v5
4447
with:
4548
python-version: ${{ matrix.python-version }}
4649

@@ -51,7 +54,7 @@ jobs:
5154
5255
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
5356
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
54-
uses: volttron/volttron-build-action@v4
57+
uses: volttron/volttron-build-action@v6
5558
timeout-minutes: 600
5659
with:
5760
python_version: ${{ matrix.python-version }}
@@ -60,7 +63,7 @@ jobs:
6063
test_output_suffix: ${{ env.OUTPUT_SUFFIX }}
6164

6265
- name: Archive test results
63-
uses: actions/upload-artifact@v2
66+
uses: actions/upload-artifact@v4
6467
if: always()
6568
with:
6669
name: pytest-report

0 commit comments

Comments
 (0)