Skip to content

Added new staging/prod deployment workflow including database testing#244

Open
m-messer wants to merge 19 commits intomainfrom
feature/new_workflow
Open

Added new staging/prod deployment workflow including database testing#244
m-messer wants to merge 19 commits intomainfrom
feature/new_workflow

Conversation

@m-messer
Copy link
Member

Problem:
Unable to test changes to compareExpressions on staging without also deploying to prod.

Fix:
Implement the new workflows we have been trying on different evaluation functions.

@m-messer m-messer removed the request for review from peterbjohnson March 2, 2026 16:35
@m-messer m-messer assigned m-messer and unassigned peterbjohnson Mar 2, 2026
@m-messer m-messer requested a review from neagualexa March 3, 2026 15:52
Copy link

@neagualexa neagualexa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments regarding the secrets passed on to the workflows in the other repo and some other small bits

.venv/bin/pip install pytest
.venv/bin/pip install -r app/requirements.txt

# TODO: add linting / black / flake8

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this still a valid todo? or is it old code from shimmy (as i remember linting check was removed at some point)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linting check was removed, and we can either remove it or enable it here, I don't have a preference.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then leave it for now commented if they do not pass, just to keep the notice

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enabled and flxed the errors

build-context: "./app"
build-platforms: "aws"
environment: "staging"
lfs: false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why doesn't staging also have the run-tests : true?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run-tests here, means databases tests. I will rename this.

Database tests is where we have a LambdaFunction call the data analysis database and call the staging deployment,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renaming would be helpful thanks

Copy link
Member Author

@m-messer m-messer Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed to run-database-tests

@m-messer m-messer assigned neagualexa and unassigned m-messer Mar 4, 2026
@m-messer m-messer requested a review from neagualexa March 4, 2026 13:16
@neagualexa neagualexa assigned m-messer and unassigned neagualexa Mar 4, 2026
@m-messer m-messer assigned neagualexa and unassigned m-messer Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants