Commit Graph

13 Commits

Author SHA1 Message Date
dal f7bb098ba9 Enhance GitHub Actions workflows and Dependabot configuration
- Added new Dependabot configurations for npm packages in the /api and /web directories, scheduled for weekly updates with a limit of 10 open pull requests.
- Updated the GitHub Actions workflows for both main and staging deployments to trigger on changes within the api directory, specifically for migrations, improving deployment reliability.

These changes streamline dependency management and enhance the deployment process for the application.
2025-01-06 12:10:42 -07:00
dal 488bc596dc Refactor GitHub Actions workflow for enhanced deployment process
- Added a new job for database deployment, including steps for installing Rust, configuring AWS credentials, downloading the Postgres certificate from S3, and running migrations.
- Updated the existing porter-deploy job to include AWS credentials configuration and SSL certificate download from S3.
- Improved organization and reliability of the deployment process by ensuring all steps are correctly defined and executed in the appropriate context.

These changes streamline the deployment workflow and enhance the overall reliability of the application deployment process.
2025-01-03 16:49:28 -07:00
porter-deployment-app[bot] a34312f64f
Create porter_app_main_3155.yml file 2025-01-03 23:46:52 +00:00
dal c23ca4c36e Update GitHub Actions workflow to set working directory for migrations
- Added a working-directory specification for the 'Run migrations' step in the GitHub Actions workflow, ensuring that Diesel migrations are executed in the correct context within the './api' directory. This change enhances the reliability of the migration process during deployment.
2025-01-03 16:39:26 -07:00
dal 501b8031a4 Update GitHub Actions workflow to use new S3 URL for Postgres SSL certificate
- Changed the S3 URL variable for downloading the Postgres SSL certificate in the GitHub Actions workflow from `PG_CERT_S3_URL` to `CERT_S3_URL`.
- This update ensures the workflow correctly references the updated secret for SSL certificate retrieval, improving the reliability of the deployment process.
2025-01-03 16:29:21 -07:00
dal 5f6792484a Enhance GitHub Actions workflow and Dockerfile for SSL certificate management
- Added steps to configure AWS credentials and download the Postgres SSL certificate from S3 in the GitHub Actions workflow.
- Updated the Dockerfile to reflect the new path for the SSL certificate, ensuring it is correctly copied to the container.

These changes improve the security and organization of SSL certificate handling during the deployment process.
2025-01-03 16:25:39 -07:00
dal 0ef11c1971 Update SSL certificate handling in GitHub Actions workflow and Dockerfile
- Changed the directory structure for SSL certificates in the GitHub Actions workflow, creating a new path `certs/cert` for better organization.
- Updated the Dockerfile to reference the new certificate path, ensuring the SSL certificate is correctly installed in the container.

These changes improve the clarity and maintainability of the deployment process.
2025-01-03 16:19:02 -07:00
dal 11ee658d39 Fix Ubuntu version format in GitHub Actions workflow for staging deployment 2025-01-03 16:18:07 -07:00
dal 78da6550d1 Fix GitHub Actions workflow configuration for staging deployment
- Updated the runner specification for the database-deploy job to correct the Ubuntu version format.
- Ensured consistency in the runner configuration for the porter-deploy job by reverting to the previous Ubuntu version.

These changes enhance the accuracy of the workflow configuration, ensuring proper execution of deployment jobs.
2025-01-03 16:17:24 -07:00
dal 31bfaaeecf Update GitHub Actions workflow and Dockerfile for SSL certificate handling
- Added steps to create a directory for SSL certificates and copy the downloaded certificate to the new location in the GitHub Actions workflow.
- Updated the Dockerfile to reference the new certificate path, ensuring proper installation of the SSL certificate in the container.

These changes improve the organization of SSL certificates and enhance the deployment process.
2025-01-03 16:12:31 -07:00
dal fe6cf9d945 Enhance GitHub Actions workflow for staging deployment
- Added support for pull requests targeting the staging branch to the existing workflow.
- This change improves the deployment process by ensuring that pull requests are also considered for staging deployments.
2025-01-03 15:59:25 -07:00
dal 03f522dddb Refactor GitHub Actions workflow for staging deployment
- Introduced a new job for database deployment, including steps to install Rust, cache dependencies, and run Diesel migrations.
- Updated the existing porter-deploy job to include AWS credentials configuration and SSL certificate retrieval from S3.
- Enhanced the overall structure and organization of the workflow for improved clarity and maintainability.
2025-01-03 15:56:44 -07:00
porter-deployment-app[bot] 8ac228cca6
Create porter_app_staging_3155.yml file 2025-01-03 22:28:53 +00:00