-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sys/build-and-push-workflow
- Loading branch information
Showing
8 changed files
with
86 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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,16 @@ | ||
# flyctl launch added from .gitignore | ||
# Default ignored files | ||
shelf | ||
.idea/workspace.xml | ||
# Editor-based HTTP Client requests | ||
httpRequests | ||
# Datasource local storage ignored files | ||
dataSources | ||
dataSources.local.xml | ||
|
||
**/build | ||
**/.idea | ||
**/*.iml | ||
**/.gradle | ||
out | ||
**/http-client.private.env.json |
This file contains 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,12 @@ | ||
FROM eclipse-temurin:21 as build | ||
COPY . . | ||
RUN ./gradlew build -x test | ||
|
||
FROM eclipse-temurin:21 | ||
COPY --from=build /build/libs/*.jar backend.jar | ||
COPY .sikkerhet .sikkerhet | ||
ADD https://github.com/getsops/sops/releases/download/v3.8.1/sops-v3.8.1.linux.arm64 /usr/local/bin/sops | ||
RUN chmod +x /usr/local/bin/sops | ||
|
||
EXPOSE 8080 | ||
ENTRYPOINT ["java", "-jar", "backend.jar"] |
This file contains 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 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 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 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 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 @@ | ||
package no.kvros.ros.models | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties | ||
|
||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
data class ShaResponseDTO( | ||
val name: String, | ||
val path: String, | ||
val sha: String, | ||
) |
This file contains 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