-
Notifications
You must be signed in to change notification settings - Fork 12
[1.x] Allow to customise SystemSettings for BlackBoxContext
#1495
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
13 commits
Select commit
Hold shift + click to select a range
092619f
Bump the version to `1.9.0-SNAPSHOT.3`. Use the latest `base`and `time`.
armiol e4036b9
Use the latest `config/v1.x` branch.
armiol 1b6e560
Bump versions.
armiol 56be545
Update to the latest `config/v1`.
armiol cc5c461
Add the publishing workflow along with the required keys.
armiol 8b07da3
Migrate to the new `Environment` API (in progress).
armiol 700c9b3
Migrate to the new `Environment` API (in progress).
armiol 59f52ca
Improve the build settings.
armiol ec5f717
Update the report files.
armiol 8eb9b09
Copy the system settings in order to allow using custom `SystemSettin…
armiol 9cad2f1
Take more things into account via `BoundedContextBuilder.testingCopy()`.
armiol f227e89
Optimize imports.
armiol c7df6ad
Handle copying the tenant index properly.
armiol 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Binary file not shown.
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,70 @@ | ||
| name: Publishing for Spine v1.x | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - v1 | ||
| - 1.x-dev | ||
|
|
||
| jobs: | ||
| publish: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| with: | ||
| submodules: 'true' | ||
|
|
||
| - uses: actions/setup-java@v3 | ||
| with: | ||
| java-version: 8 | ||
| distribution: zulu | ||
| cache: gradle | ||
|
|
||
| - name: Decrypt CloudRepo credentials | ||
| run: ./config/scripts/decrypt.sh "$CLOUDREPO_CREDENTIALS_KEY" ./.github/keys/cloudrepo.properties.gpg ./cloudrepo.properties | ||
| env: | ||
| CLOUDREPO_CREDENTIALS_KEY: ${{ secrets.CLOUDREPO_CREDENTIALS_KEY }} | ||
|
|
||
| - name: Decrypt Git SSH credentials | ||
| run: ./config/scripts/decrypt.sh "$GIT_CREDENTIALS_KEY" ./.github/keys/deploy_key_rsa.gpg ./deploy_key_rsa | ||
| env: | ||
| GIT_CREDENTIALS_KEY: ${{ secrets.GIT_CREDENTIALS_KEY }} | ||
|
|
||
| # Make sure the SSH key is not "too visible". SSH agent will not accept it otherwise. | ||
| - name: Set file system permissions | ||
| run: chmod 400 ./deploy_key_rsa && chmod +x ./config/scripts/register-ssh-key.sh | ||
|
|
||
| - name: Decrypt GCS credentials | ||
| run: ./config/scripts/decrypt.sh "$GCS_CREDENTIALS_KEY" ./.github/keys/gcs-auth-key.json.gpg ./gcs-auth-key.json | ||
| env: | ||
| GCS_CREDENTIALS_KEY: ${{ secrets.GCS_CREDENTIALS_KEY }} | ||
|
|
||
| - name: Decrypt GCAR credentials | ||
| run: ./config/scripts/decrypt.sh "$MAVEN_PUBLISHER_KEY" ./.github/keys/maven-publisher.json.gpg ./maven-publisher.json | ||
| env: | ||
| MAVEN_PUBLISHER_KEY: ${{ secrets.MAVEN_PUBLISHER_KEY }} | ||
|
|
||
| - name: Decrypt Git SSH credentials | ||
| run: ./config/scripts/decrypt.sh "$GRADLE_PORTAL_CREDENTIALS_KEY" ./.github/keys/gradle-plugin-portal.secret.properties.gpg ./gradle-plugin-portal.secret.properties | ||
| env: | ||
| GRADLE_PORTAL_CREDENTIALS_KEY: ${{ secrets.GRADLE_PORTAL_CREDENTIALS_KEY }} | ||
|
|
||
| - name: Append Gradle properties | ||
| run: cat ./gradle-plugin-portal.secret.properties >> ./gradle.properties | ||
|
|
||
| - name: Publish artifacts to Maven | ||
| # Since we're in the `v1`/`1.x-dev` branch already, this means that tests of a PR passed. | ||
| # So, no need to run the tests again when publishing.\ | ||
| # | ||
| # Also, we don't want to update the GitHub Pages content, as it may be already | ||
| # updated with the contents of 2.x branch. So this operation should be performed | ||
| # manually, if really needed. | ||
| # See https://github.com/SpineEventEngine/config/tree/master/scripts/publish-documentation. | ||
| run: ./gradlew publish -x test -x updateGitHubPages --stacktrace | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| FORMAL_GIT_HUB_PAGES_AUTHOR: developers@spine.io | ||
| # https://docs.github.com/en/actions/reference/environment-variables | ||
| REPO_SLUG: $GITHUB_REPOSITORY # e.g. SpineEventEngine/core-java | ||
| GOOGLE_APPLICATION_CREDENTIALS: ./maven-publisher.json | ||
| NPM_TOKEN: ${{ secrets.NPM_SECRET }} |
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 |
|---|---|---|
|
|
@@ -30,7 +30,7 @@ plugins { | |
|
|
||
| repositories { | ||
| mavenLocal() | ||
| jcenter() | ||
| mavenCentral() | ||
| } | ||
|
|
||
| val jacksonVersion = "2.11.0" | ||
|
|
||
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
Submodule config
updated
51 files
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,2 @@ | ||
| kotlin.code.style=official | ||
| org.gradle.jvmargs=-Xmx1g -Xms256m -XX:MaxMetaspaceSize=512m -XX:+UseParallelGC |
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.
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.