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

feat: added updating of root folder dependencies #285

Conversation

PaMarzec
Copy link
Contributor

@PaMarzec PaMarzec commented Mar 7, 2024

Description

resolves 49

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

@PaMarzec PaMarzec force-pushed the feat/update-root-folder-dependencies branch from 344658b to c1dddfb Compare March 7, 2024 13:39
@PaMarzec PaMarzec force-pushed the feat/update-root-folder-dependencies branch from c1dddfb to b34c6fc Compare March 7, 2024 14:59
Copy link
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workflow updates look fine overall. Dockerfile and cleanup needs to be done (see comment) :)

backend/Dockerfile Outdated Show resolved Hide resolved
.github/workflows/build-image-frontend.yml Outdated Show resolved Hide resolved
@PaMarzec PaMarzec marked this pull request as ready for review April 16, 2024 08:36
Copy link
Contributor

@tom-rm-meyer-ISST tom-rm-meyer-ISST left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Building Backend now works. Please also do the following:

  • Update the Frontend Dockerfile the same way
  • Remove the duplicate files in Frontend and Backend folder (SECURITY.md, LICENSE, DEPENDENCIES) -> those need to be copied
  • update docs/DEVELOPMENT.md that currently says one need to update the DEPENDENCIES in to places per frontend/ backend

As a result:

  • no duplicate files in frontend/backend folder, that are present on root level
  • following files are included in the images at the same location as the distributable (jar / http resources) following this TRG:
    • NOTICE.md
    • NOTICE_DOCKER.md
    • SECURITY.md
    • README.md
    • LICENSE

@@ -27,6 +27,9 @@ RUN mvn dependency:go-offline
COPY src/ /app/src/
RUN mvn clean package -DskipTests

# Copy Legal information for distributions
COPY DOCKER_NOTICE.md README.md SECURITY.md* LICENSE* DEPENDENCIES* /opt/app/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed that we also need the NOTICE.md. Please add.

@tom-rm-meyer-ISST
Copy link
Contributor

already handled via #389

@tom-rm-meyer-ISST tom-rm-meyer-ISST deleted the feat/update-root-folder-dependencies branch May 29, 2024 06:55
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.

2 participants