Skip to content

Commit

Permalink
Merge pull request #8 from HMHansson:development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
HMHansson authored Jul 3, 2024
2 parents cd9e5b3 + a2b3e8d commit 491517c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 32 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/promote-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,35 @@
# 3) Run predefined tests for this project in wM.io PROD environment
#
# ------------------------------------------------------------------------------
name: Deploy Production
run-name: Promote to Prod Environment
on:
workflow_call:
push:
branches:
- production
paths:
- 'assets/**'
jobs:
# -------------------------------
# Import test assets to wM.io
# -------------------------------
Promote-Prod-Assets:
uses: HMHansson/ICA-DevOps/.github/workflows/promote.yml@main
secrets: inherit
with:
environment: Production
# -------------------------------
# Validate PROD with test cases
# -------------------------------
Validate-Prod:
if: ${{ always() && contains(join(needs.*.result, ','), 'success') }}
needs: [Promote-Prod-Assets]
uses: HMHansson/ICA-DevOps/.github/workflows/validation-bruno.yml@main
secrets: inherit
with:
environment: Production
name: Deploy Production
run-name: Promote to Prod Environment
on:
workflow_call:
push:
branches:
- production
paths:
- 'assets/**'

jobs:
# -------------------------------
# Import test assets to wM.io
# -------------------------------
Promote-Prod-Assets:
uses: HMHansson/ICA-DevOps/.github/workflows/promote.yml@main
secrets: inherit
with:
environment: Production

# -------------------------------
# Validate PROD with test cases
# -------------------------------
Validate-Prod:
if: ${{ always() && contains(join(needs.*.result, ','), 'success') }}
needs: [Promote-Prod-Assets]
uses: HMHansson/ICA-DevOps/.github/workflows/validation-bruno.yml@main
secrets: inherit
with:
environment: Production


2 changes: 1 addition & 1 deletion .github/workflows/promote-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# - This pipeline is triggered by a github Pull Request/merge
#
# 1) Checks out test branch
# 2) Run an import of all test assets for this project in wM.io TEST environment
# 2) Run an import of all assets for this project in wM.io TEST environment
# 3) Run predefined tests for this project in wM.io TEST environment
#
# ------------------------------------------------------------------------------
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/validation-bruno.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# ------------------------------------------------------------------------------
# Github Workflow to validate functionality using Postman Collections
# Github Workflow to validate functionality using Bruno Collections
#
# - This pipeline is triggered by
# a) Manually start this workflow (from Github actions)
# b) commit/push bruno test cases to development branch (using git client)
#
# Note:
# - Access to wM.io B2B:
# a) uses the username from the environment.bru file (not a GitHub environment variable)
# b) uses the password from the GitHub environment secrets variable
# - Access to wM.io Integration:
# a) uses the username from the environment.bru file (not a GitHub environment variable)
# b) uses the password from the GitHub environment secrets variable
#
# ------------------------------------------------------------------------------
name: Dev Test Case Validation
run-name: Test Cases Validation
Expand Down

0 comments on commit 491517c

Please sign in to comment.