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

Fix bug in deployment setup preventing CD from building metadata-validation service #624

Closed
2 of 4 tasks
placek opened this issue Apr 4, 2024 · 0 comments · Fixed by #635
Closed
2 of 4 tasks
Assignees
Labels
🐛 Bug Something isn't working 🏗 Infrastructure

Comments

@placek
Copy link
Contributor

placek commented Apr 4, 2024

As a developer,

I want to enable continuous deployment (CD) for the metadata-validation service

so that the service can be automatically built and deployed, ensuring the latest changes are reflected in the production environment.

Summary:

A bug in the deployment setup is causing issues with the CD process, specifically hindering the building of the metadata-validation service. The problem arises due to the deployment environment lacking access to the directory housing the necessary Dockerfile and its context, thereby preventing the successful build of the service.

Example of failure: https://github.com/IntersectMBO/govtool/actions/runs/8553062008/job/23435454409#step:6:506

Acceptance Criteria:

To resolve the bug in the deployment setup and enable the CD process for the metadata-validation service, the following tasks need to be performed:

  • Figure out why the runner does not have an access to the directory '/home/runner/work/govtool/govtool/scripts/govtool/govtool/metadata-validation'.
  • Verify that the Dockerfile and its context in the aforementioned directory are correctly configured and accessible.
  • Trigger a new build process for the metadata-validation service and ensure that the CD pipeline executes successfully without encountering the previous issue.
  • Monitor the deployment process to confirm that the metadata-validation service is successfully built and deployed as part of the CD pipeline.
@placek placek self-assigned this Apr 4, 2024
@placek placek added 🐛 Bug Something isn't working 🏗 Infrastructure labels Apr 4, 2024
@placek placek moved this to In progress in Govtool all Apr 4, 2024
placek added a commit that referenced this issue Apr 5, 2024
The user story described a bug in the deployment setup preventing the
continuous deployment (CD) of the metadata-validation service. The issue
stemmed from the deployment environment lacking access to the directory
housing the necessary Dockerfile and its context. To resolve this, the
deployment setup needed adjustments to enable the CD process for the
metadata-validation service, ensuring the latest changes are reflected
in the production environment.

In this commit, the version of the checkout action in the
build-and-deploy-dev.yml workflow file was updated from v3 to v4. This
modification aims to address the bug by utilizing the newer version of
the checkout action, potentially resolving the access issues to the
directory containing the Dockerfile and its context, hence facilitating
the successful building and deployment of the metadata-validation
service in the CD pipeline.
placek added a commit that referenced this issue Apr 5, 2024
…nt-setup-preventing-cd-from-building-metadata-validation-service

[#624] Fix bug in deployment setup preventing CD from building metadata-validation service
@github-project-automation github-project-automation bot moved this from In progress to Done in Govtool all Apr 5, 2024
@MSzalowski MSzalowski moved this from Done to In staging in Govtool all Apr 8, 2024
@bosko-m bosko-m moved this from In staging to Done in Govtool all Aug 27, 2024
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
Status: Done
1 participant