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

Chore/add build ci #4

Merged
merged 5 commits into from
Jul 8, 2023
Merged

Chore/add build ci #4

merged 5 commits into from
Jul 8, 2023

Conversation

johnrwatson
Copy link
Owner

  1. CI (Continuous Integration): Build, Test, and Release flow:
    • Build + Containerize the applications, with local deployment validation
      - Added a hosting/docker/Dockerfile into each application path and added a Makefile that allows quick validation of build, e.g. make build-fe. Additionally, make deploy immediately deploys the two tags of si-assessment-ie3-backend:latest and si-assessment-ie3-frontned:latest, which would be available locally if make build-fe / make build-be were used. The local-development/docker-compose-stack.yml file can be manipulated accordingly if the developer or tester wanted to check two different versions of the services together. On make deploy the frontend service can be reached on x and the backend service can be reached on y. Also individually added a make validate-be and make validate-fe function to quickly validate the basic http integrity of the application variant. This ensures that no code changes makes it very far without maintaining application integrity while the unit-tests and other code-validation still pass. This should stop non-compatible changes in the origin baseimage adversely affecting the compatibility with the code at a basic level.
      - Added all the above checks in a basic CI build pipeline
      - frontend/src/stores/task.ts and frontend/src/stores/user.ts were adjusted (poorly) to allow the backend and frontend to talk together in a docker-based environment. This could be refactored later to be an environment variable or similar.
      - Chore/add build ci #4
    • Initiate tests in CI

@johnrwatson johnrwatson merged commit 4511fc8 into main Jul 8, 2023
@johnrwatson johnrwatson deleted the chore/add-build-ci branch July 8, 2023 21:18
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.

1 participant