Skip to content

Commit 4fc6ce7

Browse files
MikeNeilsonzack-rmakrowvinNobuNobuudependabot[bot]
authored
2026 04 01 test updates (#1669)
Simple git merge from develop, excluding any branch specific changes such as to the build files. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Zack Olson <zack@rmanet.com> Co-authored-by: Charles Graham <charles.r.graham@usace.army.mil> Co-authored-by: Wes Reagan <reaganwesley12@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vairav Laxman <vayiravan@gmail.com> Co-authored-by: Ryan Ripken <89810919+rma-rripken@users.noreply.github.com> Co-authored-by: Bryson Spilman <87150647+rma-bryson@users.noreply.github.com> Co-authored-by: Jorge Hassan <jhassan@solidlogix.com> Co-authored-by: rma-kayla <kayla@rmanet.com> Co-authored-by: Bryson Spilman <bryson@rmanet.com> Co-authored-by: Ryan Miles <ryanm@rmanet.com> Co-authored-by: Adam Korynta <47677856+adamkorynta@users.noreply.github.com> Co-authored-by: Daniel Osborne <Daniel.T.Osborne@usace.army.mil> Co-authored-by: Eric Novotny <eric.v.novotny@usace.army.mil> Co-authored-by: Eric Novotny <nov00002@umn.edu> Co-authored-by: Vairav Laxman <vairavan.laxman@solidlogix.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 41e617c commit 4fc6ce7

341 files changed

Lines changed: 32941 additions & 3021 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/actions/database-migration-image/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ COPY cda-user.sql /after.install.d/
1010
ENV RDS_MODE="true"
1111
ENV BUILDUSER=DBAdmin
1212

13+
# Due to the way we originally set this up it needs to always be 99.99.99-SNAPSHOT for now.
14+
RUN sed -i "s/<revision>.*<\/revision>/<revision>99.99.99-SNAPSHOT<\/revision>/" ../pom.xml
1315

1416
ENTRYPOINT [ "/entry.sh" ]
1517
CMD ["/cwmsdb/schema/docker/install.sh"]

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
image: "ghcr.io/hydrologicengineeringcenter/cwms-database/cwms/database-ready-ora-23.5:latest-dev"
2020
- env: release
2121
image: "ghcr.io/hydrologicengineeringcenter/cwms-database/cwms/database-ready-ora-23.5:25.07.01"
22+
- env: next-release
23+
image: "ghcr.io/hydrologicengineeringcenter/cwms-database/cwms/database-ready-ora-23.5:26.02.17-RC01"
2224
name: build and test (jdk ${{matrix.jdk}}, schema ${{matrix.schema.env}})
2325
runs-on: ubuntu-latest
2426
outputs:
@@ -32,7 +34,7 @@ jobs:
3234
- name: checkout code
3335
uses: actions/checkout@v5.0.0
3436
- name: setup java
35-
uses: actions/setup-java@v5.0.0
37+
uses: actions/setup-java@v5.2.0
3638
with:
3739
distribution: 'temurin'
3840
java-version: ${{matrix.jdk}}
@@ -58,7 +60,7 @@ jobs:
5860
- name: checkout code
5961
uses: actions/checkout@v5.0.0
6062
- name: setup java
61-
uses: actions/setup-java@v5.0.0
63+
uses: actions/setup-java@v5.2.0
6264
with:
6365
distribution: 'temurin'
6466
java-version: 11

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
languages: 'java'
2020
- name: setup java
21-
uses: actions/setup-java@v5.0.0
21+
uses: actions/setup-java@v5.2.0
2222
with:
2323
java-version: '11'
2424
java-package: jdk

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
contents: read # This is required for actions/checkout
2828
steps:
2929
- name: Configure AWS Credentials
30-
uses: aws-actions/configure-aws-credentials@v4
30+
uses: aws-actions/configure-aws-credentials@v6
3131
with:
3232
aws-region: ${{ inputs.region }}
3333
role-to-assume: ${{ inputs.iam_role }}

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
with:
6262
ref: ${{inputs.branch}}
6363
- name: setup java
64-
uses: actions/setup-java@v5.0.0
64+
uses: actions/setup-java@v5.2.0
6565
with:
6666
distribution: 'temurin'
6767
java-version: '11'
@@ -83,15 +83,15 @@ jobs:
8383
- name: Create GitHub Release
8484
id: create_release
8585
# Allow testing without creating a release
86-
if: github.event_name != 'pull_request' && (github.event.ref == 'refs/heads/test' || startsWith(github.event.ref, 'refs/tags'))
87-
uses: softprops/action-gh-release@v2.3.2
86+
if: github.event_name != 'pull_request' && (github.event.ref == 'refs/heads/develop' || startsWith(github.event.ref, 'refs/tags'))
87+
uses: softprops/action-gh-release@v2.6.1
8888
with:
8989
files: cwms-data-api/build/libs/cwms-data-api-${{env.VERSION}}.war
9090
tag_name: ${{env.VERSION}}
9191
generate_release_notes: true
9292
token: ${{ secrets.token != null && secrets.token || secrets.GITHUB_TOKEN }}
9393
- name: Set up Docker Buildx
94-
uses: docker/setup-buildx-action@v3.11.1
94+
uses: docker/setup-buildx-action@v4.0.0
9595
- name: Docker meta
9696
id: meta
9797
uses: docker/metadata-action@v5.8.0
@@ -110,13 +110,13 @@ jobs:
110110
type=schedule,pattern=${{inputs.branch}}-{{date 'YYYY.MM.DD-hhmmss'}}
111111
- name: Log in to the Container registry
112112
id: login-ghcr
113-
uses: docker/login-action@v3.5.0
113+
uses: docker/login-action@v4.0.0
114114
with:
115115
registry: ghcr.io
116116
username: ${{ github.actor }}
117117
password: ${{ secrets.token != null && secrets.token || secrets.GITHUB_TOKEN }}
118118
- name: Login to HEC Public Registry
119-
uses: docker/login-action@v3.5.0
119+
uses: docker/login-action@v4.0.0
120120
id: login-hec
121121
with:
122122
registry: ${{ secrets.registry != null && secrets.registry ||secrets.HEC_PUB_REGISTRY }}

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ ENV cwms.dataapi.access.providers="KeyAccessManager,OpenID"
5656
ENV cwms.dataapi.access.openid.wellKnownUrl="https://<prefix>/.well-known/openid-configuration"
5757
ENV cwms.dataapi.access.openid.issuer="<issuer>"
5858
ENV cwms.dataapi.access.openid.timeout="604800"
59+
# Putting default values here to easy configuration
60+
ENV cwms.dataapi.access.openid.clientId=cwms
61+
ENV cwms.dataapi.access.openid.idpHint=federation-eams
5962
#ENV cwms.dataapi.access.openid.altAuthUrl="https://identityc-test.cwbi.us/auth/realms/cwbi"
6063

6164
# used to simplify redeploy in certain contexts. Update to match -<marker> in image label

cda-gui/.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CDA_API_ROOT=https://water.dev.cwbi.us/cwms-data
1+
VITE_CDA_API_ROOT=https://water.dev.cwbi.us/cwms-data

cda-gui/.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CDA_API_ROOT=https://cwms-data.usace.army.mil/cwms-data
1+
VITE_CDA_API_ROOT=https://cwms-data.usace.army.mil/cwms-data

cda-gui/.env.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CDA_API_ROOT=https://cwms-data-test.cwbi.us/cwms-data
1+
VITE_CDA_API_ROOT=https://cwms-data-test.cwbi.us/cwms-data

cda-gui/package-lock.json

Lines changed: 36 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)