-
Notifications
You must be signed in to change notification settings - Fork 2
feat/ add log forwarding in HadesLogManager and ContinueOnError step support #360
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
Open
paoxin
wants to merge
30
commits into
main
Choose a base branch
from
feat/hades-artemis-adapter
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
ed1af69
HadesArtemisAdapter init
paoxin 123ecce
modify HadesLogManager to post logs to HadesArtemisAdapter
paoxin 6b76ced
add jobID to global env, add adapter.go init
paoxin d186714
add adapter logic + send to artemis endpoint
paoxin f8cee80
use slog.Error, change ports back
paoxin fbe1c44
edit adapter sendToArtemis endpoint
paoxin 6af0e66
send only execution logs instead
paoxin 0a2120b
adapt adapter to new ResultDTO
paoxin d41c8f4
update .env.example, rabbit comments
paoxin 57b87eb
rabiit comments
paoxin ed8e2f1
go mod tidy, add docstrings
paoxin e999aea
add comments
paoxin 3c3323c
rabbit
paoxin 614a46c
rabbit
paoxin 2f67a70
Merge remote-tracking branch 'origin/main' into feat/hades-artemis-ad…
paoxin 105983a
add Dockerfiles, update docker compose files, update build.yml
paoxin d166bf8
fix build.yml
paoxin 655d3e8
fix compose files
paoxin b198e38
go mod tidy
paoxin da9d373
aggregate and send logs when build fails too
paoxin 13ca7ec
update docstrings
paoxin 1724e50
rabbit
paoxin bdda573
rename env var, move ContinueOnError to Step struct
paoxin 0793d4c
Merge remote-tracking branch 'origin/main' into feat/hades-artemis-ad…
paoxin 045d70b
update ci.yml
paoxin d9029e1
move adapter to seperate repo
paoxin f0161c3
rollback readme
paoxin b9e5c88
edit adapter endpoint config in docker compose
paoxin 3a70a3d
go mod tidy
paoxin 1d6427d
adapt traefik values to #388
paoxin 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
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
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,30 @@ | ||
| # Use an official Go runtime as a parent image | ||
| FROM golang:1.25-alpine AS builder | ||
|
|
||
| # Set the working directory inside the container | ||
| WORKDIR /app | ||
|
|
||
| # Copy go.mod and go.sum files | ||
| COPY ./HadesLogManager/go.mod ./HadesLogManager/go.sum ./HadesLogManager/ | ||
| COPY ./shared/go.mod ./shared/go.sum ./shared/ | ||
| RUN cd HadesLogManager && go mod download | ||
|
|
||
| # Copy the Go application source code into the container | ||
| COPY ./HadesLogManager ./HadesLogManager | ||
| COPY ./shared ./shared | ||
|
|
||
| # Build the Go application | ||
| WORKDIR /app/HadesLogManager | ||
| RUN CGO_ENABLED=0 go build -o hades-log-manager . | ||
|
|
||
| # Start a new stage for the minimal runtime container | ||
| FROM gcr.io/distroless/static-debian12 | ||
|
|
||
| # Set the working directory inside the minimal runtime container | ||
| WORKDIR /app | ||
|
|
||
| # Copy the built binary from the builder container into the minimal runtime container | ||
| COPY --from=builder /app/HadesLogManager/hades-log-manager . | ||
|
|
||
| # Run your Go application | ||
| CMD ["/app/hades-log-manager"] |
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
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
Oops, something went wrong.
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.