Repository navigation
chore service wise docker files #239
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
8cccecf
Dockerfile for backend service added also added tests to have 80% co…
6c960a8
Added the docker file for ui side. It has been tested.
c34ddbd
Turned erasableSyntaxOnly back to false
3234f16
The arguments and env variables are removed from the file
f444e32
Fixed the .gitignore
67b17da
Fixed the test files and removed unwanted testfiles
0548809
Removed the ngnix from the dockerfile of pipeline-ui as well as remov…
ca4bbce
Removed the DockerFile.dockerignore file
0cd3f6d
Removed the unwanted tests
6e34492
Removed ngnix config
352afc4
Fixed the docker issues i
46d656d
Fixed the docker file
c308b21
Removed unused UUID import from LocalPipelineFileServiceImplTest
4b24276
Updated .gitignore and Dockerfile and added .env
59c1d2c
Fixed the environment and docker
c5f38aa
Updated Dockerfile
b0611e7
Fixed the comments and added them in the docs in .md file
a49b9c8
Simplify pipeline Dockerfile runtime stage
49badc4
fixed the DockerFile
2d7fb8e
Revert docs change: remove running-backend-containers.md from PR
c271726
Add healthcheck to flagd using readyz endpoint and upgrade dependency…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| node_modules/ | ||
| dist/ | ||
| coverage/ | ||
| .env.* | ||
| test/ | ||
| *.md | ||
| .git | ||
| BUILD.bazel | ||
| run_tests.sh | ||
| .idea | ||
| .vscode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| VITE_API_BASE_URL=http://pipeline-app:8080/api/v1 | ||
| VITE_IDP=keycloak | ||
| VITE_KC_URL=http://auth-service:8080 | ||
| VITE_KC_REALM=SpringBootRealm | ||
| VITE_KC_CLIENTID=pipeline-app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # | ||
| # Build stage | ||
| # | ||
| FROM node:22-alpine AS build | ||
| WORKDIR /app | ||
| COPY package*.json ./ | ||
| RUN npm ci | ||
| COPY src ./src | ||
| COPY public ./public | ||
| COPY index.html . | ||
| COPY vite.config.ts . | ||
| COPY tsconfig*.json ./ | ||
| COPY tailwind.config.js postcss.config.js ./ | ||
| ARG VITE_API_BASE_URL=http://pipeline-app:8080/api/v1 | ||
| ARG VITE_IDP=keycloak | ||
| ARG VITE_KC_URL=http://auth-service:8080 | ||
| ARG VITE_KC_REALM=SpringBootRealm | ||
| ARG VITE_KC_CLIENTID=pipeline-app | ||
| ENV VITE_API_BASE_URL=${VITE_API_BASE_URL} | ||
| ENV VITE_IDP=${VITE_IDP} | ||
| ENV VITE_KC_URL=${VITE_KC_URL} | ||
| ENV VITE_KC_REALM=${VITE_KC_REALM} | ||
| ENV VITE_KC_CLIENTID=${VITE_KC_CLIENTID} | ||
| RUN npm run build | ||
|
|
||
| # | ||
| # Serve stage | ||
| # | ||
| FROM node:22-alpine | ||
| RUN npm install -g serve | ||
| WORKDIR /app | ||
| COPY --from=build /app/dist ./dist | ||
| EXPOSE 3000 | ||
| CMD ["serve", "-s", "dist", "-l", "3000"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| target/ | ||
| *.md | ||
| .git | ||
| BUILD.bazel | ||
| run_tests.sh | ||
| run_generate_openapi.sh | ||
| mvnw | ||
| mvnw.cmd | ||
| checkstyle.xml | ||
| .idea | ||
| .vscode |
|
Baibhab23 marked this conversation as resolved.
Resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -82,4 +82,4 @@ public void getAllBuildsTest() { | |
|
|
||
| verify(mapper, times(2)).entityToDto(any(PipelineBuildEntity.class)); | ||
| } | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.