Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Develop into incremental-sim #1375

Closed
wants to merge 194 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
ddb7fb8
Add missing Scheduler Relationships
Mythicaeda Jan 3, 2024
9f8f87a
Merge pull request #1272 from NASA-AMMOS/feat/add-scheduler-relations…
Mythicaeda Jan 10, 2024
4153f0e
Replace temp table in validate_anchors with stable function
Mythicaeda Dec 22, 2023
a64792e
Update test setup
Mythicaeda Dec 22, 2023
cc2f53a
Update existing load tests
Mythicaeda Jan 2, 2024
45c32cd
Add new Load Test file for DB lockups
Mythicaeda Jan 2, 2024
fb1f43f
Merge pull request #1271 from NASA-AMMOS/fix/db-lockup-plan-branch
Mythicaeda Jan 10, 2024
24e3459
Include JPL Specific Reference Support
goetzrrGit Dec 18, 2023
a26fa9f
Expose the REF function to the user.
goetzrrGit Dec 18, 2023
47d7b08
update the e2e test
goetzrrGit Dec 19, 2023
cdfeecb
Update the jest snapshot
goetzrrGit Dec 19, 2023
f6dd79f
Merge pull request #1261 from NASA-AMMOS/eDSL_variable_reference
goetzrrGit Jan 17, 2024
18f8827
run release workflows on dev-a.b.c
joswig Jan 18, 2024
a636850
Merge pull request #1285 from NASA-AMMOS/feat/release_branches
dandelany Jan 18, 2024
012d9bd
Add core resource interfaces
Dec 18, 2023
d9a4012
Add scripts to generate function interfaces and monad methods.
Dec 18, 2023
dc61793
Generate function interfaces
Dec 18, 2023
3386e6f
Add monads for core interfaces
Dec 18, 2023
97edd7a
Add MutableResource
Dec 19, 2023
545602e
Add debugging tools
Dec 19, 2023
e77d81c
Add streamline Registrar
Dec 19, 2023
1b9f13b
Add general Resource utilities
Dec 19, 2023
b75f6ab
Add Reaction utilities
Dec 19, 2023
22a4623
Add Discrete resources
Dec 19, 2023
4ffd89e
Add the Linear dynamics type
Dec 19, 2023
95ef136
Add clock dynamics types
Dec 19, 2023
8048e00
Add polynomial resources.
Dec 19, 2023
50964d7
Add LinearBoundaryConsistencySolver
Dec 19, 2023
7fa327a
Add unit-awareness
Dec 19, 2023
f294683
Add Unstructured and Differentiable resources.
Dec 19, 2023
1653ed3
Add approximation utilities
Dec 19, 2023
8c864a9
Add Demo.java
Dec 19, 2023
943cb88
Add the streamline-demo example model
Dec 19, 2023
5c85883
Add unit tests
Dec 19, 2023
8097fff
Rename applicator to cellType in allocate
mattdailis Jan 29, 2024
5ab58ac
Rename constraintsLeft to remainingConstraints
mattdailis Jan 29, 2024
d0a1b2c
Return thing from name
mattdailis Jan 29, 2024
a23b503
Fix typo in Tracing
mattdailis Jan 29, 2024
6bbb77f
Shift check interval sign
mattdailis Jan 29, 2024
fb15cda
Add javadocs and remove unused imports
mattdailis Jan 29, 2024
7c9ae5f
Merge pull request #1253 from NASA-AMMOS/contrib-streamline-framework
mattdailis Jan 29, 2024
882d131
Add Updated_At column to Merge Requests
Mythicaeda Jan 22, 2024
02d06a5
Merge pull request #1292 from NASA-AMMOS/feat/add-merge-rq-updated-at
Mythicaeda Jan 30, 2024
59c5303
Fixed an issue where constraint runs would fail against activities wi…
cohansen Jan 31, 2024
f49294b
Fixed the new constraint test
cohansen Jan 31, 2024
795b547
Added the new metadata to fix our activity upload test
cohansen Jan 31, 2024
1a0b9a8
Merge pull request #1310 from NASA-AMMOS/bug/unit-annotation-crashing…
cohansen Feb 1, 2024
f44e2c1
Release v2.3.0
Feb 2, 2024
bdcc6b0
Merge pull request #1319 from NASA-AMMOS/release/v2-3-0
joswig Feb 3, 2024
990edf5
Use skip-list multi-map to speed up job queue
Oct 23, 2023
7a3b8ff
Clarify "add job" expression
DavidLegg Nov 14, 2023
8adac55
Merge pull request #1212 from DavidLegg/feature--job-schedule-speedup
mattdailis Feb 12, 2024
6fb2e12
Fix filters in Upsert Preset in Commit Merge
Mythicaeda Feb 13, 2024
514f089
Update DB Tests
Mythicaeda Feb 13, 2024
100c0b5
Merge pull request #1328 from NASA-AMMOS/fix/commit-merge-missing-filter
Mythicaeda Feb 16, 2024
d48a0d7
update dev docs w/ new JDK version
skovati Nov 30, 2023
6256a45
update to gradle 8.6
skovati Feb 12, 2024
0b6a3c7
update to jdk 21
skovati Nov 7, 2023
95080d0
Remove thread lifecycle tests in lieu of loom
skovati Feb 12, 2024
b82dd7d
Merge pull request #1237 from NASA-AMMOS/build/update-jdk-21
dandelany Feb 17, 2024
11bd508
Release v2.4.0
Feb 17, 2024
3300429
Merge pull request #1338 from NASA-AMMOS/release/v2-4-0
joswig Feb 17, 2024
161443b
Fixed an issue where extraneous expansions were being saved in an exp…
cohansen Feb 20, 2024
f5a8863
Merge pull request #1342 from NASA-AMMOS/bug/extraneous-expansions-in…
cohansen Feb 21, 2024
3dfccf5
update java version to 21 in CI
skovati Feb 20, 2024
5ed6a26
Merge pull request #1341 from NASA-AMMOS/ci/update-jdk-21
skovati Feb 21, 2024
4d12705
update pgjdbc to fix SQL injection vuln
skovati Feb 21, 2024
ea5fa81
Merge pull request #1345 from NASA-AMMOS/security/update-pgjdbc-46.2.1
skovati Feb 21, 2024
b642b93
Update GH actions to use Node20 versions
Mythicaeda Feb 17, 2024
55a35b0
Resolve upload-artifact breaking changes
Mythicaeda Feb 20, 2024
6762389
Replace `Gradle Dependency Submission` with `Setup Gradle`
Mythicaeda Feb 21, 2024
a83b1ef
Tweak db-lockup-test numbers for GH Workflow
Mythicaeda Feb 21, 2024
af5e597
Merge pull request #1339 from NASA-AMMOS/ci/upgrade-workflow-actions
Mythicaeda Feb 22, 2024
aa18df3
Expose Work Options for the Sequencing Server
goetzrrGit Feb 6, 2024
aaf2252
Added the Worker Options to the docker-compose.yml
goetzrrGit Feb 6, 2024
3f9609c
Enhance worker management with Piscina worker options
goetzrrGit Feb 6, 2024
f281d43
Added Dylan's PromisThrottler.
goetzrrGit Feb 14, 2024
b991ca4
Optimize Performance: Cache TS transpiling, enhance worker management
goetzrrGit Feb 6, 2024
3b39cd4
Added helpful logging messages to the workers for troubleshooting.
goetzrrGit Feb 6, 2024
6deb94f
Merge pull request #1324 from NASA-AMMOS/improve-large-expansion-sets
goetzrrGit Feb 28, 2024
4be8a55
Reorganize Triggers in Plan.sql
Mythicaeda Jan 4, 2024
b89ae8f
Split constraints table into definition and metadata
Mythicaeda Jan 5, 2024
f5100c5
Add Plan and Model Constraint Specifications
Mythicaeda Jan 5, 2024
9cc5df2
DB Migration
Mythicaeda Jan 11, 2024
e30efee
Update DBTests
Mythicaeda Jan 10, 2024
15d92c7
Update Hasura Metadata
Mythicaeda Jan 10, 2024
8afa305
Update ConstraintsResults
Mythicaeda Jan 10, 2024
421cbc3
Update Postgres Actions
Mythicaeda Jan 10, 2024
f5fbcbd
Remove Mission Model Service from ConstraintAction
Mythicaeda Jan 10, 2024
a22e725
Update e2eTests
Mythicaeda Jan 10, 2024
df597af
Merge pull request #1278 from NASA-AMMOS/feat/version-constraint-goals
Mythicaeda Feb 29, 2024
32da262
Update JNISpice Jar to JDK 21-compiled version
Mythicaeda Feb 28, 2024
2fc7204
Merge pull request #1351 from NASA-AMMOS/ci/update-jni-spice-jdk21
Mythicaeda Feb 29, 2024
f388aba
Allow for the passing of 'null' value
goetzrrGit Feb 28, 2024
c137793
Merge pull request #1352 from NASA-AMMOS/pass_through_null_expansion
mattdailis Mar 1, 2024
70d1aff
Make Expiry comparable
Feb 6, 2024
06e840c
Account for expiry in dynamicsChange condition
Feb 6, 2024
c783a86
Take expiry into account for approximation interval
Feb 6, 2024
8f9ebbd
Prevent overflow in Polynomial root-finding
Feb 6, 2024
762a534
Improve performance and stability for Polynomial root-finding
Feb 6, 2024
fac6582
Pass expiry through LBCS and clampedIntegrate
Feb 6, 2024
e8bfb35
Merge pull request #1322 from NASA-AMMOS/bugfix--polynomial-rootfindi…
mattdailis Mar 1, 2024
27525c7
Add more utilities for profiling resources.
Feb 1, 2024
dfc88d8
Connect new resource profiling to streamline example model.
Feb 1, 2024
c4d4d76
Merge pull request #1314 from NASA-AMMOS/feature--streamline-resource…
mattdailis Mar 1, 2024
62b4dbb
Added an option to turn off the transpiler.
goetzrrGit Feb 21, 2024
18f8f2b
Expose the transpiler option in the docker-compose.yml
goetzrrGit Feb 21, 2024
717ac54
Implement background transpiler for faster expansion set and sequence…
goetzrrGit Feb 15, 2024
3743ba7
Hook up the background transpiler.
goetzrrGit Feb 15, 2024
b683cfe
Merge pull request #1332 from NASA-AMMOS/sequence_background_transpiler
goetzrrGit Mar 1, 2024
592f1c2
add test for validations without mission models
skovati Mar 1, 2024
2cd63a4
serialize `NoSuchMissionModel` exception out in activity validations
skovati Mar 1, 2024
57ea272
remove `NoSuchMissionModel` exception catch in `workerLoop`
skovati Mar 1, 2024
e72a50a
catch `MissionModelLoadException` within validation model batch
skovati Mar 1, 2024
126a2e6
reorder `NoSuchMissionModelError` JSON entry insert order to match ex…
skovati Mar 1, 2024
c5400a3
Merge pull request #1354 from NASA-AMMOS/fix/directive-validations-wi…
skovati Mar 1, 2024
2347c83
Release v2.5.0
Mar 4, 2024
8b9c794
Merge pull request #1356 from NASA-AMMOS/release/v2-5-0
joswig Mar 4, 2024
7bde422
Update array `scheduling_specifications` relationship to object relat…
Mythicaeda Mar 4, 2024
8977a4f
Update GQL query in E2E Tests
Mythicaeda Mar 4, 2024
7674100
Merge pull request #1355 from NASA-AMMOS/refactor/update-plan-metadata
Mythicaeda Mar 6, 2024
2ee8276
update env vars
skovati Mar 14, 2024
9005f45
Merge pull request #1361 from NASA-AMMOS/update-env-vars-in-compose
skovati Mar 14, 2024
69a73f9
Timeline package build infrastructure
JoelCourtney Feb 29, 2024
83a1828
Lowest level data structures (BaseTimeline, Interval, etc)
JoelCourtney Feb 29, 2024
5f3cf21
Low level list utility functions
JoelCourtney Feb 29, 2024
3fd16ee
General operations that apply to all timelines
JoelCourtney Feb 29, 2024
4e64ad6
Implement Intervals (most general timeline type)
JoelCourtney Feb 29, 2024
76c8a9b
Activity Instances and Directives
JoelCourtney Feb 29, 2024
15efd4d
Serial profile infrastructure and operations
JoelCourtney Feb 29, 2024
5127c6c
Piecewise constant profiles
JoelCourtney Feb 29, 2024
b81ead1
Boolean profiles
JoelCourtney Feb 29, 2024
1e25adf
General numeric profile interfaces
JoelCourtney Feb 29, 2024
8a5389b
Real profiles
JoelCourtney Feb 29, 2024
bcb25fc
Primitive numbers profiles
JoelCourtney Feb 29, 2024
e675090
Implement database queries for plans and sim results
JoelCourtney Feb 29, 2024
2ce4295
Add module documentation and README
JoelCourtney Feb 29, 2024
cb40fca
Add non-optional binary map operations
JoelCourtney Mar 1, 2024
9293e3d
Query activity IDs and fix computed attributes
JoelCourtney Mar 2, 2024
388ac3f
Allow filtering activities by type
JoelCourtney Mar 2, 2024
da53a11
Simplify reduce number of applied mixins
JoelCourtney Mar 2, 2024
99a8705
Implement Windows; a serial coalescing interval timeline
JoelCourtney Mar 2, 2024
811494a
Remove unnecessary operations mixins
JoelCourtney Mar 2, 2024
073e124
Add NonZeroDurationOps to instances
JoelCourtney Mar 6, 2024
cd974fd
Add recursive IntervalLike generic requirement
JoelCourtney Mar 6, 2024
d89f45b
Make preprocessList coalesce argument explicit
JoelCourtney Mar 6, 2024
3f679fc
Remove unnecessary generic arguments
JoelCourtney Mar 6, 2024
d76c5f9
Refactor return types for numeric operations
JoelCourtney Mar 6, 2024
99f3b9e
More unit tests
JoelCourtney Mar 6, 2024
e87af11
Apply JvmField annotations
JoelCourtney Mar 7, 2024
f77c800
Fix overloads for Java
JoelCourtney Mar 7, 2024
c28bf44
Reduce Duration extremes to MIN/2 and MAX/2
JoelCourtney Mar 7, 2024
dac1deb
e2e tests for remote plan query
JoelCourtney Mar 7, 2024
9e627be
Filter activity queries by type
JoelCourtney Mar 8, 2024
e554673
Rename numeric conversion functions
JoelCourtney Mar 8, 2024
f3bd48a
Merge pull request #1304 from NASA-AMMOS/feat/java-timeline-library
JoelCourtney Mar 14, 2024
ad33810
Add optional `force` parameter to Simulate action
Mythicaeda Mar 7, 2024
3da63cb
Pass `force resim` to SimulationService
Mythicaeda Mar 8, 2024
c6c1516
Add `forceAllocate` to ResultsCellRepository
Mythicaeda Mar 8, 2024
b2ee901
Add new e2eTests
Mythicaeda Mar 11, 2024
3d4cf13
Merge pull request #1359 from NASA-AMMOS/feat/force-resim
Mythicaeda Mar 18, 2024
249266d
Fix background transpiler check for latest command dict/mission model
Mythicaeda Mar 16, 2024
98cd503
Tine Bug fix that I noticed.
goetzrrGit Mar 18, 2024
c442a41
Merge pull request #1366 from NASA-AMMOS/fix/background-transpiler-la…
Mythicaeda Mar 18, 2024
1dd4370
Improve Hasura Queries used in `simulatedActivityBatchLoader.ts`
Mythicaeda Mar 16, 2024
eec561b
Improve DB Queries in `seqJson.ts`
Mythicaeda Mar 16, 2024
0895a6a
Adding time calculation and minor tweaks.
goetzrrGit Mar 18, 2024
423034f
Add error if too many spans found
Mythicaeda Mar 18, 2024
b10c72a
Merge pull request #1368 from NASA-AMMOS/refactor/improve-sequencing-…
Mythicaeda Mar 18, 2024
4b165f8
Split Scheduling Conditions into Metadata and Definition
Mythicaeda Jan 29, 2024
5e495b7
Split Scheduling Goals into Metadata and Definition
Mythicaeda Jan 30, 2024
663cbc5
Update Scheduling Request Tables
Mythicaeda Feb 2, 2024
f41e20c
Update Scheduler DB init code
Mythicaeda Jan 29, 2024
fa64348
Hasura Metadata
Mythicaeda Jan 30, 2024
65bb1ee
Update DBTests
Mythicaeda Jan 25, 2024
2f136be
Remove `InMemoryStore` option
Mythicaeda Jan 25, 2024
f7cac71
Simplify Scheduler Services
Mythicaeda Jan 25, 2024
d302c56
Update Postgres Actions
Mythicaeda Jan 25, 2024
4fe7e3d
Retrieve Plan Revision from Request Notifications
Mythicaeda Jan 25, 2024
4de3b48
Expand `SpecificationRevisionData` to include Plan Revision data
Mythicaeda Jan 25, 2024
71a784d
Have `claim` use analysisId instead of SpecificationId
Mythicaeda Jan 25, 2024
733e581
Have `lookup` use SchedulingRequest instead of SpecificationId
Mythicaeda Jan 25, 2024
f77708c
Avoid needlessly reobtaining specification data
Mythicaeda Jan 25, 2024
3ef94c6
Add E2E Tests
Mythicaeda Jan 31, 2024
d4e422f
Restore dropped relationship "analyses" from scheduling goal tables
Mythicaeda Mar 1, 2024
ca5ecf9
Restore dropped permission to insert/update "simulate_after" in the s…
Mythicaeda Mar 5, 2024
a4e6105
Merge pull request #1315 from NASA-AMMOS/feat/version-scheduling-goals
dandelany Mar 19, 2024
156b173
enable continuous validation thread by default
skovati Mar 19, 2024
53c20bd
remove `ENABLE_CONTINUOUS_VALIDATION_THREAD: true` from docker-compos…
skovati Mar 19, 2024
590dc21
Merge pull request #1369 from NASA-AMMOS/feat/enable-automatic-direct…
skovati Mar 20, 2024
ea4ab70
Use dynamics in LBCS, not resources
Feb 1, 2024
4a0d2dd
Merge pull request #1313 from NASA-AMMOS/contrib-streamline-framework…
dandelany Mar 20, 2024
f719c32
Release v2.6.0
Mar 20, 2024
2930bf9
Merge pull request #1370 from NASA-AMMOS/release/v2-6-0
joswig Mar 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .github/workflows/cloc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@ on:
pull_request:
branches:
- develop
- dev-[0-9]+.[0-9]+.[0-9]+
push:
branches:
- develop
tags:
- v*
workflow_dispatch:

jobs:
cloc:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install cloc
run: |
sudo apt-get update
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/create_jnispice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
7z x JNISpice.zip
echo "JNISpice unpacked"
- name: Upload DLL
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Windows Spice
path: JNISpice/lib/JNISpice.dll
Expand All @@ -39,7 +39,7 @@ jobs:
run: mv libJNISpice.so libJNISpice_Intel.so
working-directory: JNISpice/lib
- name: Upload .so
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: x86 Linux Spice
path: JNISpice/lib/libJNISpice_Intel.so
Expand All @@ -64,7 +64,7 @@ jobs:
working-directory: JNISpice/src/JNISpice
shell: csh {0}
- name: Upload Intel Mac .jnilib
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: x86 Mac Spice
path: JNISpice/lib/libJNISpice_Intel.jnilib
Expand All @@ -74,10 +74,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "19"
java-version: "21"
- name: Download and Unpack JNISpice TAR
run: |
curl https://naif.jpl.nasa.gov/pub/naif/misc/JNISpice/PC_Linux_GCC_Java1.8_64bit/packages/JNISpice.tar.Z -o JNISpice.tar.Z
Expand All @@ -104,7 +104,7 @@ jobs:
working-directory: JNISpice/src/JNISpice
- name: Upload JAR
if: success()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: JNISpice Jar
path: JNISpice/src/JNISpice/JNISpice-*.jar
12 changes: 6 additions & 6 deletions .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 19
- uses: gradle/gradle-build-action@v2
java-version: "21"
- uses: gradle/actions/setup-gradle@v3
- name: Create Pages Build Directories
run: mkdir -p build/javadoc/examples
- name: Build EDSL API Docs
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
cp -a ./scheduler-server/build/docs/javadoc ./build/javadoc/scheduler-server
cp -a ./scheduler-worker/build/docs/javadoc ./build/javadoc/scheduler-worker
- name: Upload Artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: build/

Expand All @@ -64,4 +64,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
12 changes: 6 additions & 6 deletions .github/workflows/load-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
environment: load-test
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "19"
java-version: "21"
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v2
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
- name: Assemble
run: ./gradlew assemble --parallel
- name: Start Services
Expand All @@ -43,7 +43,7 @@ jobs:
./load-test.sh
- name: Upload Load Test Results
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Load Test Results
path: "**/load-tests/load-report.*"
Expand Down
53 changes: 27 additions & 26 deletions .github/workflows/pgcmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- "deployment/postgres-init-db/sql/**"
branches:
- develop
- dev-[0-9]+.[0-9]+.[0-9]+
tags:
- v*
workflow_dispatch:
Expand All @@ -27,16 +28,16 @@ jobs:
environment: e2e-test
steps:
- name: Checkout v1.0.1
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: "v1.0.1"
- name: Clone PGCMP
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: cbbrowne/pgcmp
path: pgcmp
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Setup Postgres Client (psql)
Expand All @@ -46,9 +47,9 @@ jobs:
- name: Setup Hasura CLI
run: sudo curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v2
- name: Distribute SQL and Assemble Java
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: distributeSQL
- name: Start Postgres
Expand Down Expand Up @@ -78,13 +79,13 @@ jobs:
PGURI=postgres://"${AERIE_USERNAME}":"${AERIE_PASSWORD}"@localhost:5432/aerie_ui PGCMPOUTPUT=./pgdumpv1_0_1/AerieUIV1_0_1 PGCLABEL=AerieUIV1_0_1 PGBINDIR=/usr/bin ./pgcmp/pgcmp-dump
shell: bash
- name: Share Database Dump
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: v1_0_1-db-dump
path: pgdumpv1_0_1
retention-days: 1
- name: Checkout Latest
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Restart Hasura
run: |
docker compose down
Expand Down Expand Up @@ -115,7 +116,7 @@ jobs:
AERIE_USERNAME: "${{secrets.AERIE_USERNAME}}"
AERIE_PASSWORD: "${{secrets.AERIE_PASSWORD}}"
- name: Clone PGCMP
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: cbbrowne/pgcmp
path: pgcmp
Expand All @@ -131,7 +132,7 @@ jobs:
PGURI=postgres://"${AERIE_USERNAME}":"${AERIE_PASSWORD}"@localhost:5432/aerie_ui PGCMPOUTPUT=./pgdumpmigrated/AerieUIMigrated PGCLABEL=AerieUIMigrated PGBINDIR=/usr/bin ./pgcmp/pgcmp-dump
shell: bash
- name: Share Database Dump
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: migrated-db-dump
path: pgdumpmigrated
Expand All @@ -152,19 +153,19 @@ jobs:
environment: e2e-test
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Postgres Client (psql)
run: |
sudo apt-get update
sudo apt-get install --yes postgresql-client
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v2
- name: Distribute SQL
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: distributeSQL
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Setup Hasura CLI
Expand All @@ -185,7 +186,7 @@ jobs:
run: sleep 60s
shell: bash
- name: Clone PGCMP
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: cbbrowne/pgcmp
path: pgcmp
Expand All @@ -201,7 +202,7 @@ jobs:
PGURI=postgres://"${AERIE_USERNAME}":"${AERIE_PASSWORD}"@localhost:5432/aerie_ui PGCMPOUTPUT=./pgdumpraw/AerieUIRaw PGCLABEL=AerieUIRaw PGBINDIR=/usr/bin ./pgcmp/pgcmp-dump
shell: bash
- name: Share Database Dump
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: raw-sql-db-dump
path: pgdumpraw
Expand Down Expand Up @@ -231,7 +232,7 @@ jobs:
PGURI=postgres://"${AERIE_USERNAME}":"${AERIE_PASSWORD}"@localhost:5432/aerie_ui PGCMPOUTPUT=./pgdumpmigrateddown/AerieUIMigratedDown PGCLABEL=AerieUIMigratedDown PGBINDIR=/usr/bin ./pgcmp/pgcmp-dump
shell: bash
- name: Share Database Dump
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: migrated-down-db-dump
path: pgdumpmigrateddown
Expand All @@ -251,9 +252,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Clone PGCMP
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: cbbrowne/pgcmp
path: pgcmp
Expand All @@ -267,11 +268,11 @@ jobs:
run: sleep 5s
shell: bash
- name: Download Shared Dumps
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: migrated-db-dump
path: pgcmp/pgdumpmigrated
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: raw-sql-db-dump
path: pgcmp/pgdumpraw
Expand All @@ -284,7 +285,7 @@ jobs:
shell: bash
- name: Upload Invalid
if: ${{ failure() && steps.dbcmp.conclusion == 'failure' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pgcmpresultsup
path: "**/results/"
Expand All @@ -304,9 +305,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Clone PGCMP
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: cbbrowne/pgcmp
path: pgcmp
Expand All @@ -320,11 +321,11 @@ jobs:
run: sleep 5s
shell: bash
- name: Download Shared Dumps
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: v1_0_1-db-dump
path: pgcmp/pgdumpv1_0_1
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: migrated-down-db-dump
path: pgcmp/pgdumpmigrateddown
Expand All @@ -339,7 +340,7 @@ jobs:
shell: bash
- name: Upload Invalid
if: ${{ failure() && steps.dbcmp.conclusion == 'failure' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pgcmpresultsdown
path: "**/results/"
Expand Down
Loading