-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TECH-1577 Remove --stacktrace flags (#90)
- Loading branch information
1 parent
0bbae03
commit 5cf596a
Showing
2 changed files
with
31 additions
and
14 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 |
---|---|---|
|
@@ -10,6 +10,11 @@ on: | |
required: false | ||
type: string | ||
default: 'ubuntu-latest' | ||
additional-gradle-args: | ||
description: 'Additional arguments to pass to the Gradle commands' | ||
required: false | ||
type: string | ||
default: "" | ||
outputs: | ||
version: | ||
description: Version number of the image released to ECR | ||
|
@@ -26,20 +31,21 @@ jobs: | |
steps: | ||
- id: setup-build-environment | ||
name: "Setup build environment" | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
secrets: ${{ env.secrets }} | ||
- id: format-version | ||
name: "Format version" | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
style-as-release: ${{ env.IS_DEFAULT_BRANCH }} | ||
- id: build-and-upload-docker-image | ||
name: "Build and upload Docker Image" | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
version: ${{ steps.format-version.outputs.version }} | ||
additional-gradle-args: ${{ inputs.additional-gradle-args }} | ||
- id: upload-build-artifacts | ||
name: "Upload build artifacts" | ||
if: always() | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 |
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 |
---|---|---|
|
@@ -13,6 +13,11 @@ on: | |
required: false | ||
type: string | ||
default: 'ubuntu-latest' | ||
additional-gradle-args: | ||
description: 'Additional arguments to pass to the Gradle commands' | ||
required: false | ||
type: string | ||
default: "" | ||
outputs: | ||
version: | ||
description: Version number of the image released to ECR | ||
|
@@ -29,30 +34,34 @@ jobs: | |
steps: | ||
- id: setup-build-environment | ||
name: "Setup build environment" | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
secrets: ${{ env.secrets }} | ||
- id: format-version | ||
name: "Format version" | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
style-as-release: ${{ env.IS_DEFAULT_BRANCH }} | ||
- id: run-tests | ||
name: "Run tests" | ||
uses: sympower/sympower-composite-actions/[email protected] | ||
uses: sympower/sympower-composite-actions/[email protected] | ||
with: | ||
additional-gradle-args: ${{ inputs.additional-gradle-args }} | ||
- id: code-analysis | ||
name: "Code analysis" | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
secrets: ${{ env.secrets }} | ||
additional-gradle-args: ${{ inputs.additional-gradle-args }} | ||
|
||
### Steps run only in default branch ### | ||
- id: build-and-upload-docker-image | ||
name: "Build and upload Docker Image" | ||
if: env.IS_DEFAULT_BRANCH == 'true' | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
version: ${{ steps.format-version.outputs.version }} | ||
additional-gradle-args: ${{ inputs.additional-gradle-args }} | ||
- run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV | ||
if: env.IS_DEFAULT_BRANCH == 'true' | ||
shell: bash | ||
|
@@ -69,29 +78,31 @@ jobs: | |
- id: upload-avro-schema | ||
name: "Upload Avro schema" | ||
if: env.IS_DEFAULT_BRANCH == 'true' | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
version: ${{ steps.format-version.outputs.version }} | ||
secrets: ${{ env.secrets }} | ||
gistID: ${{ inputs.gistID }} | ||
additional-gradle-args: ${{ inputs.additional-gradle-args }} | ||
- id: upload-openapi-schema | ||
name: "Upload OpenAPI schema" | ||
if: env.IS_DEFAULT_BRANCH == 'true' | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
version: ${{ steps.format-version.outputs.version }} | ||
secrets: ${{ env.secrets }} | ||
gistID: ${{ inputs.gistID }} | ||
additional-gradle-args: ${{ inputs.additional-gradle-args }} | ||
- id: upload-pacts | ||
name: "Upload pacts" | ||
if: env.IS_DEFAULT_BRANCH == 'true' | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
version: ${{ steps.format-version.outputs.version }} | ||
- id: deploy-staging | ||
name: "Deploy staging" | ||
if: env.IS_DEFAULT_BRANCH == 'true' | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 | ||
with: | ||
secrets: ${{ env.secrets }} | ||
version: ${{ steps.format-version.outputs.version }} | ||
|
@@ -101,4 +112,4 @@ jobs: | |
- id: upload-build-artifacts | ||
name: "Upload build artifacts" | ||
if: always() | ||
uses: sympower/sympower-composite-actions/[email protected].07.10.09-c42a2ac | ||
uses: sympower/sympower-composite-actions/[email protected].30.15.01-8580c69 |