-
Notifications
You must be signed in to change notification settings - Fork 60
Mta kiss build #1330
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
joergdw
wants to merge
3
commits into
main
Choose a base branch
from
mta-kiss-build
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
Mta kiss build #1330
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,16 +31,7 @@ modules: | |
| build-parameters: | ||
| builder: custom | ||
| commands: # 🚧 To-do: embed me in the calling makefile | ||
| # `path: dbtasks` runs commands from dbtasks/; the make targets pushd into | ||
| # dbtasks/ and expect the repo root, so invoke make from the parent dir. | ||
| # `vendor-changelogs` copies the per-component *.db.changelog.{yml,yaml} | ||
| # into dbtasks/src/main/resources so `package` bundles them into the jar | ||
| # (they are .gitignored there, never committed). Running it here keeps a | ||
| # bare `mbt build` self-sufficient (rather than relying on it being run as | ||
| # an mta-build make prerequisite). Without it the apply-*-changelog deploy | ||
| # tasks fail with "BOOT-INF/classes/api.db.changelog.yml does not exist". | ||
| - make -C .. vendor-changelogs | ||
| - make -C .. dbtasks.clean package-dbtasks | ||
| - make dbtasks.clean package-dbtasks | ||
| build-result: target/db-1.0-SNAPSHOT.jar | ||
| requires: | ||
| - name: database | ||
|
|
@@ -88,15 +79,7 @@ modules: | |
| build-parameters: | ||
| builder: custom | ||
| commands: | ||
| # Go modules ship SOURCE; the CF Go buildpack compiles at staging. It | ||
| # needs (a) the generated ogen `apis/scalinghistory` package, which is | ||
| # .gitignored and produced by `generate-openapi-...`, and (b) a `vendor/` | ||
| # dir so staging compiles air-gapped (the buildpack auto-uses vendor and | ||
| # makes no network calls). `go-mod-vendor-mta` does both (generate + | ||
| # `go mod vendor`). Running it here keeps a bare `mbt build` | ||
| # self-sufficient. Without it, apiserver/scalingengine fail staging with | ||
| # "no required module provides package .../apis/scalinghistory". | ||
| - make go-mod-vendor-mta | ||
| - echo "ignoring scheduler and dbtasks" > /dev/null | ||
| ignore: ["acceptance", "build", "scheduler", "dbtasks", ".devbox", ".git", ".github", "nix", ".venv", ".claude"] | ||
| requires: | ||
| - name: apiserver-config | ||
|
|
@@ -121,9 +104,7 @@ modules: | |
| build-parameters: | ||
| builder: custom | ||
| commands: | ||
| # See the apiserver module: ships generated code + vendor/ for the | ||
| # air-gapped CF Go buildpack compile. | ||
| - make go-mod-vendor-mta | ||
| - echo "ignoring scheduler, dbtasks and scalingengine" > /dev/null | ||
| ignore: ["acceptance", "build", "scheduler", "dbtasks", "scalingengine", ".devbox", ".git", ".github", "nix", ".venv", ".claude"] | ||
| requires: | ||
| - name: eventgenerator-config | ||
|
|
@@ -147,9 +128,7 @@ modules: | |
| build-parameters: | ||
| builder: custom | ||
| commands: | ||
| # See the apiserver module: ships generated code + vendor/ for the | ||
| # air-gapped CF Go buildpack compile. | ||
| - make go-mod-vendor-mta | ||
| - echo "ignoring scheduler and dbtasks" > /dev/null | ||
| ignore: ["build", "scheduler", "dbtasks", ".devbox", ".git", ".github", "nix", ".venv", ".claude"] | ||
| requires: | ||
| - name: metricsforwarder-config | ||
|
|
@@ -174,9 +153,7 @@ modules: | |
| build-parameters: | ||
| builder: custom | ||
| commands: | ||
| # See the apiserver module: ships generated code + vendor/ for the | ||
| # air-gapped CF Go buildpack compile. | ||
| - make go-mod-vendor-mta | ||
| - echo "ignoring scheduler and dbtasks" > /dev/null | ||
| ignore: ["acceptance", "build", "scheduler", "dbtasks", ".devbox", ".git", ".github", "nix", ".venv", ".claude"] | ||
| requires: | ||
| - name: metricsgateway-config | ||
|
|
@@ -200,9 +177,7 @@ modules: | |
| build-parameters: | ||
| builder: custom | ||
| commands: | ||
| # See the apiserver module: ships generated code + vendor/ for the | ||
| # air-gapped CF Go buildpack compile. | ||
| - make go-mod-vendor-mta | ||
| - echo "ignoring scheduler, dbtasks and eventgenerator" > /dev/null | ||
| ignore: ["acceptance", "build", "scheduler", "dbtasks", "eventgenerator", ".devbox", ".git", ".github", "nix", ".venv", ".claude"] | ||
| requires: | ||
| - name: operator-config | ||
|
|
@@ -226,9 +201,7 @@ modules: | |
| build-parameters: | ||
| builder: custom | ||
| commands: | ||
| # See the apiserver module: ships generated code + vendor/ for the | ||
| # air-gapped CF Go buildpack compile. | ||
| - make go-mod-vendor-mta | ||
| - echo "ignoring scheduler, dbtasks and eventgenerator" > /dev/null | ||
| ignore: ["acceptance", "build", "scheduler", "dbtasks", "eventgenerator", ".devbox", ".git", ".github", "nix", ".venv", ".claude"] | ||
| requires: | ||
| - name: scalingengine-config | ||
|
|
@@ -249,9 +222,7 @@ modules: | |
| build-parameters: | ||
| builder: custom | ||
| commands: # 🚧 To-do: embed me in the calling makefile | ||
| # `path: scheduler` runs commands from scheduler/; the make targets pushd | ||
| # into scheduler/ and expect the repo root, so invoke make from the parent. | ||
| - make -C .. scheduler.clean build-scheduler | ||
| - make scheduler.clean build-scheduler | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This still needs the |
||
| build-result: target/scheduler-1.0-SNAPSHOT.war | ||
| properties: | ||
| JBP_LOG_LEVEL: | ||
|
|
||
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could cause issues on classical cloudMbt-build-images as nix is not available there.