-
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.
- Loading branch information
Showing
18 changed files
with
105 additions
and
95 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 |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
GITHUB_ACTOR: ${{ github.actor }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- id: images | ||
run: > | ||
run: >- | ||
ansible-playbook images.yaml | ||
-e binary_storage=${{ env.BINARY_STORAGE }} | ||
-e image_storage=${{ env.IMAGE_STORAGE }} | ||
|
@@ -75,7 +75,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
aim: [func] | ||
purpose: [func] | ||
env: | ||
- dev: godel | ||
os: ubuntu-20.04 | ||
|
@@ -97,27 +97,27 @@ jobs: | |
devenv: ${{ matrix.env.dev }} | ||
tools: python docker | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- run: > | ||
- run: >- | ||
ansible-playbook stacks.yaml -t build | ||
-e image_storage=${{ env.IMAGE_STORAGE }} | ||
-e aim=${{ matrix.aim }} | ||
-e purpose=${{ matrix.purpose }} | ||
-e devenv=${{ matrix.env.dev }} | ||
-e opsenv=${{ matrix.env.ops }} | ||
working-directory: bakers/ansible | ||
- uses: actions/[email protected] | ||
with: | ||
name: solution-${{ matrix.aim }}-${{ matrix.env.ops }} | ||
path: stacks/solution/target/context | ||
name: solution-${{ matrix.purpose }}-${{ matrix.env.ops }} | ||
path: stacks/solution/target/image-context | ||
if-no-files-found: ignore | ||
|
||
stack-testing: | ||
name: Stack testing (${{ matrix.shard }}, ${{ matrix.aim }}, ${{ matrix.env.ops }}) | ||
name: Stack testing (${{ matrix.shard }}, ${{ matrix.purpose }}, ${{ matrix.env.ops }}) | ||
timeout-minutes: 15 | ||
needs: [stack-building] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
aim: [func] | ||
purpose: [func] | ||
shard: [0, 1] | ||
env: | ||
- dev: godel | ||
|
@@ -143,12 +143,12 @@ jobs: | |
- uses: actions/[email protected] | ||
continue-on-error: true # it's ok because stack building can be skipped | ||
with: | ||
name: solution-${{ matrix.aim }}-${{ matrix.env.ops }} | ||
path: stacks/solution/target/context | ||
- run: > | ||
name: solution-${{ matrix.purpose }}-${{ matrix.env.ops }} | ||
path: stacks/solution/target/image-context | ||
- run: >- | ||
ansible-playbook stacks.yaml -t test | ||
-e image_storage=${{ env.IMAGE_STORAGE }} | ||
-e aim=${{ matrix.aim }} | ||
-e purpose=${{ matrix.purpose }} | ||
-e reminder=${{ matrix.shard }} | ||
-e modulus=2 | ||
-e devenv=${{ matrix.env.dev }} | ||
|
@@ -160,18 +160,18 @@ jobs: | |
- uses: actions/[email protected] | ||
if: ${{ !cancelled() }} | ||
with: | ||
name: e2e-test-report-${{ matrix.shard }}-${{ matrix.aim }}-${{ matrix.env.ops }} | ||
name: e2e-test-report-${{ matrix.shard }}-${{ matrix.purpose }}-${{ matrix.env.ops }} | ||
path: tests/e2e/target/surefire-reports/*.xml | ||
if-no-files-found: ignore | ||
|
||
stack-publishing: | ||
name: Stack publishing (${{ matrix.aim }}, ${{ matrix.env.ops }}) | ||
name: Stack publishing (${{ matrix.purpose }}, ${{ matrix.env.ops }}) | ||
timeout-minutes: 5 | ||
needs: [stack-testing] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
aim: [func] | ||
purpose: [func] | ||
env: | ||
- dev: godel | ||
os: ubuntu-20.04 | ||
|
@@ -198,12 +198,12 @@ jobs: | |
- uses: actions/[email protected] | ||
continue-on-error: true # it's ok because stack building can be skipped | ||
with: | ||
name: solution-${{ matrix.aim }}-${{ matrix.env.ops }} | ||
path: stacks/solution/target/context | ||
- run: > | ||
name: solution-${{ matrix.purpose }}-${{ matrix.env.ops }} | ||
path: stacks/solution/target/image-context | ||
- run: >- | ||
ansible-playbook stacks.yaml -t package | ||
-e image_storage=${{ env.IMAGE_STORAGE }} | ||
-e aim=${{ matrix.aim }} | ||
-e purpose=${{ matrix.purpose }} | ||
-e opsenv=${{ matrix.env.ops }} | ||
working-directory: bakers/ansible | ||
|
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
4 changes: 2 additions & 2 deletions
4
...nsible/inventory/group_vars/all/aims.yaml → ...sible/inventory/group_vars/all/usage.yaml
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,6 +1,6 @@ | ||
--- | ||
aim: toy | ||
aims: | ||
purpose: toy | ||
usage: | ||
toy: | ||
storage: postgres | ||
apps: | ||
|
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
Oops, something went wrong.