-
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.
Remove storage when migrations changed (#367)
- Loading branch information
Showing
14 changed files
with
41 additions
and
23 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
FROM scratch | ||
COPY Dockerfile / | ||
COPY Dockerfile . |
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 |
---|---|---|
|
@@ -52,7 +52,7 @@ jobs: | |
- uses: mikepenz/[email protected] | ||
if: ${{ !cancelled() && (steps.binaries.outcome == 'success' || steps.binaries.outcome == 'failure') }} | ||
with: | ||
check_name: Unit test report | ||
check_name: Unit tests | ||
report_paths: "**/target/surefire-reports/TEST-*.xml" | ||
require_tests: "${{ steps.binaries.outcome == 'failure' }}" | ||
fail_on_failure: false | ||
|
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 |
---|---|---|
|
@@ -58,15 +58,15 @@ jobs: | |
- uses: mikepenz/[email protected] | ||
if: ${{ !cancelled() && (steps.images.outcome == 'success' || steps.images.outcome == 'failure') }} | ||
with: | ||
check_name: Unit test report | ||
check_name: Unit tests | ||
report_paths: "**/target/surefire-reports/TEST-*.xml" | ||
require_tests: "${{ steps.images.outcome == 'failure' }}" | ||
fail_on_failure: false | ||
job_summary: false | ||
- uses: mikepenz/[email protected] | ||
if: ${{ !cancelled() && (steps.images.outcome == 'success' || steps.images.outcome == 'failure') }} | ||
with: | ||
check_name: Integration test report | ||
check_name: Integration tests | ||
report_paths: "**/target/failsafe-reports/TEST-*.xml" | ||
require_tests: "${{ steps.images.outcome == 'failure' }}" | ||
fail_on_failure: false | ||
|
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 |
---|---|---|
|
@@ -36,6 +36,15 @@ jobs: | |
with: | ||
devenv: ${{ matrix.env.dev }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Run ansible-playbook sources.yaml | ||
run: >- | ||
docker run --rm | ||
--volume $(pwd):$(pwd) | ||
--volume ~/.m2:/root/.m2 | ||
--workdir $(pwd)/baker/ansible | ||
${{ env.IMAGE_NAME }}:${{ matrix.env.dev }} | ||
ansible-playbook sources.yaml -v | ||
-e devenv=${{ matrix.env.dev }} | ||
- name: Run ansible-playbook images.yaml | ||
id: images | ||
run: >- | ||
|
@@ -54,15 +63,15 @@ jobs: | |
- uses: mikepenz/[email protected] | ||
if: ${{ !cancelled() && (steps.images.outcome == 'success' || steps.images.outcome == 'failure') }} | ||
with: | ||
check_name: Unit test report (${{ matrix.env.dev }}) | ||
check_name: Unit tests (${{ matrix.env.dev }}) | ||
report_paths: "**/target/surefire-reports/TEST-*.xml" | ||
require_tests: "${{ steps.images.outcome == 'failure' }}" | ||
fail_on_failure: false | ||
job_summary: false | ||
- uses: mikepenz/[email protected] | ||
if: ${{ !cancelled() && (steps.images.outcome == 'success' || steps.images.outcome == 'failure') }} | ||
with: | ||
check_name: Integration test report (${{ matrix.env.dev }}) | ||
check_name: Integration tests (${{ matrix.env.dev }}) | ||
report_paths: "**/target/failsafe-reports/TEST-*.xml" | ||
require_tests: "${{ steps.images.outcome == 'failure' }}" | ||
fail_on_failure: false | ||
|
@@ -104,6 +113,7 @@ jobs: | |
-e devenv=${{ matrix.env.dev }} | ||
-e purpose=${{ matrix.purpose }} | ||
-e opsenv=${{ matrix.env.ops }} | ||
-e repo_mode=ro | ||
- uses: actions/[email protected] | ||
with: | ||
name: product-${{ matrix.purpose }}-${{ matrix.env.ops }} | ||
|
@@ -156,10 +166,11 @@ jobs: | |
-e opsenv=${{ matrix.env.ops }} | ||
-e reminder=${{ matrix.shard }} | ||
-e modulus=2 | ||
-e repo_mode=ro | ||
- uses: actions/[email protected] | ||
if: ${{ !cancelled() }} | ||
with: | ||
name: e2e-test-report-${{ matrix.shard }}-${{ matrix.purpose }}-${{ matrix.env.ops }} | ||
name: e2e-tests-${{ matrix.shard }}-${{ matrix.purpose }}-${{ matrix.env.ops }} | ||
path: test/e2e/target/surefire-reports/*.xml | ||
if-no-files-found: ignore | ||
|
||
|
@@ -223,8 +234,8 @@ jobs: | |
path: artifacts | ||
- uses: mikepenz/[email protected] | ||
with: | ||
check_name: E2E test report | ||
report_paths: "artifacts/e2e-test-report-*/**/TEST-*.xml" | ||
check_name: End-to-end tests | ||
report_paths: "artifacts/e2e-tests-*/**/TEST-*.xml" | ||
fail_on_failure: false | ||
job_summary: false | ||
|
||
|
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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
FROM scratch | ||
COPY . / | ||
COPY . . |
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