Skip to content

Conversation

@RajNilkar
Copy link
Collaborator

Created a workflow for building and running two jobs based on project requirements in the rubric

Created a workflow for building and running two jobs based on project requirements in the rubric
RajNilkar and others added 13 commits November 24, 2025 09:09
There were some indentation errors in the yaml file, that caused the workflow in actions to fail.
testing update for deploy job in the .yaml
made devtest environment to hold AWS secrets for testing
changed wrong job to devtest environment. corrected
had error with docker not being installed on the aws server. got instructions on how to install docker on ubuntu from docker website and included in script

changed 8000:8000 to 80:8000 to match online examples, will need reexamined

included command to stop docker after successfully running the container because I don't understand AWS and am worried about racking up a bill, but this will have to be removed before the aws deployment is functional
I guess all docker commands must be sudo? Seems sketchy.
docker was not installing correctly, so trying this alternative and much simpler command using apt-get instead of apt
updated logic to stop and then remove all docker containers before pulling and running the updated image
changed cleanup logic to stop the running weather_planner_app container, remove the container, and then remove the old image before pulling the newest
added || True statements to the cleanup logic to avoid breaking the script if the container/images are not there
Resolves #10 and #8, deploy to AWS. No review was provided. Merging due to lack of time. Work will continue on the gh_actions_api branch
testing improvement in deployment with a seperate job to set up the server
went back to -p 8000:8000 rather than 80:8000
added one line to see if we can verify with github actions that at least one endpoint is functional
changed to port 80
sethreec and others added 2 commits December 4, 2025 13:03
@sethreec sethreec merged commit 004c04a into main Dec 4, 2025
5 checks passed
@sethreec sethreec deleted the gh_actions_api branch December 4, 2025 20:52
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.

5 participants