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

[#427] Fix version fetching for backend and frontend on CI/CD pipeline #428

Conversation

placek
Copy link
Contributor

@placek placek commented Mar 7, 2024

This PR make significant improvements to the deployment workflow, primarily focusing on enhancing Docker image tagging accuracy and increasing visibility during the deployment process.

It ensures that all historical commits are accessible during deployment, facilitating precise Docker image tagging based on version information for both backend and frontend components.

It also refines the deployment process by incorporating logging of target indicators. This addition aims to improve the monitoring and tracking of the deployment steps, offering clearer insight into the deployment activities.

placek added 2 commits March 7, 2024 14:03
…ages tagging

This commit modifies the build-and-deploy workflow file to include
fetching the full history of the repository during deployment. This
change is essential for accurately calculating the Docker image tags for
both backend and frontend components in the CI/CD pipeline. By setting
the `fetch-depth` to 0 in the step that checks out the code, the
workflow now ensures that all historical commits are available, enabling
precise version information retrieval for tagging the Docker images.

Changes made:
- Modified: .github/workflows/build-and-deploy.yml to add `fetch-depth:
  0` parameter in the step that checks out the code, ensuring full
  repository history is fetched during deployment.
This commit adds logging of target indicators during the deployment
process to improve visibility and tracking of deployment steps.

Changed the deployment workflow in
.github/workflows/build-and-deploy.yml to include target indicators
logging when performing certain actions, such as destroying the Cardano
Node and DB sync, deploying the application, and reprovisioning Grafana.
The changes involve adding the '--debug=w' flag to the 'make' commands
for destroying Cardano Node and DB sync, deploying the application, and
reloading Grafana, allowing for more detailed logging during these
actions.
@placek placek linked an issue Mar 7, 2024 that may be closed by this pull request
4 tasks
@placek placek marked this pull request as ready for review March 7, 2024 13:18
@placek placek requested review from adgud and kickloop as code owners March 7, 2024 13:18
@placek placek self-assigned this Mar 7, 2024
@placek placek merged commit f8a42b0 into develop Mar 8, 2024
@placek placek deleted the fix/427-fix-version-fetching-for-backend-and-frontend-on-cicd-pipeline branch March 8, 2024 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 🏗 Infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix version fetching for backend and frontend on CI/CD pipeline
2 participants