Skip to content

Fixes #634 - Implemented data entry date option for TS data retrieval #2479

Fixes #634 - Implemented data entry date option for TS data retrieval

Fixes #634 - Implemented data entry date option for TS data retrieval #2479

Workflow file for this run

---
name: Build And Test CWMS Data API
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
build:
name: build and test
runs-on: ubuntu-latest
outputs:
thewar: ${{steps.thebuild.outputs.WARFILE}}
steps:
- name: checkout code
uses: actions/[email protected]
- name: setup java
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '8'
cache: 'gradle'
- name: build and test
id: thebuild
run: ./gradlew build --info --init-script init.gradle
- name: integration tests
run: ./gradlew integrationtest --info --init-script init.gradle
build-docker-image:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/[email protected]
- name: Build docker image
run: docker build -t cda:build-latest .
build-schema-migration-image:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/[email protected]
- name: Build Migration image
uses: ./.github/actions/database-migration-image
with:
base-image: ghcr.io/hydrologicengineeringcenter/cwms-database/cwms/schema_installer
# TODO get current target image from build information
tag: latest-dev
# No uploads, we're just verifying that nothing broke the docker image.