Skip to content

Commit

Permalink
chore: Remove irrelevant apps from the Oryx workflows (CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilinTv committed Mar 22, 2024
1 parent 81b0756 commit 76acd0e
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Please include a summary of the changes>

closes: <Add a Jira ticket link(s) here>
closes: <Add a GitHub Issue link(s) here>

BREAKING CHANGE: <Add a description of breaking change, if any. If none - remove this line completely>
2 changes: 1 addition & 1 deletion .github/workflows/release-from-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
submodules: recursive
- uses: ./.github/actions/release-preparation
- name: Build packages
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,fulfillment,storefront
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,storefront
- name: Fix js extension
run: node tools/post-build/add-js-extension.js
- name: Fix d.ts files
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release-minor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install Deps
run: npm ci
- name: Build packages
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,fulfillment,storefront
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,storefront
- name: Fix js extension
run: node tools/post-build/add-js-extension.js
- name: Fix d.ts files
Expand All @@ -54,7 +54,5 @@ jobs:
- name: Release Error Log
if: failure()
run: cat libs/lerna-debug.log
- name: Run b2c stable env update
- name: Run storefront stable env update
run: curl -X POST -d {} https://api.netlify.com/build_hooks/64b4f98cb4ec05454bd6c23b?clear_cache=true
- name: Run b2b stable env update
run: curl -X POST -d {} https://api.netlify.com/build_hooks/64b4f9b48ca8dd49b432a8c1?clear_cache=true
6 changes: 2 additions & 4 deletions .github/workflows/release-patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install Deps
run: npm ci
- name: Build packages
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,fulfillment,storefront
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,storefront
- name: Fix js extension
run: node tools/post-build/add-js-extension.js
- name: Fix d.ts files
Expand All @@ -54,7 +54,5 @@ jobs:
- name: Release Error Log
if: failure()
run: cat libs/lerna-debug.log
- name: Run b2c stable env update
- name: Run storefront stable env update
run: curl -X POST -d {} https://api.netlify.com/build_hooks/64b4f98cb4ec05454bd6c23b?clear_cache=true
- name: Run b2b stable env update
run: curl -X POST -d {} https://api.netlify.com/build_hooks/64b4f9b48ca8dd49b432a8c1?clear_cache=true
4 changes: 1 addition & 3 deletions .github/workflows/release-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install Deps
run: npm ci
- name: Build packages
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,fulfillment,storefront
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,storefront
- name: Fix js extension
run: node tools/post-build/add-js-extension.js
- name: Fix d.ts files
Expand All @@ -53,8 +53,6 @@ jobs:
run: npm run release-labs
- name: Run b2c edge env update
run: curl -X POST -d {} https://api.netlify.com/build_hooks/64b4f9338ca8dd495532b6ee?clear_cache=true
- name: Run b2b edge env update
run: curl -X POST -d {} https://api.netlify.com/build_hooks/64b4f96f29229947990679b0?clear_cache=true
- name: Release Error Log
if: failure()
run: cat libs/lerna-debug.log
2 changes: 1 addition & 1 deletion .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install Deps
run: npm ci
- name: Build packages
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,fulfillment,storefront
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,storefront
- name: Install verdaccio
run: npm i -g verdaccio
- name: Run verdaccio first time to generate config
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
submodules: recursive
- uses: ./.github/actions/release-preparation
- name: Build packages
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,fulfillment,storefront
run: npx nx run-many --target=build --all --parallel=2 --exclude testfront,storybook,storefront
- name: Fix js extension
run: node tools/post-build/add-js-extension.js
- name: Release Next
Expand Down
45 changes: 1 addition & 44 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
affectedCmd: npm run sf:e2e:headless:ci:affected
isDev: ${{ env.IS_DEV }}

test-storefront-b2c-visual-regression:
test-storefront-visual-regression:
runs-on: ubuntu-latest
needs: [test-format, test-lint, test-stylelint, test-tsconfig]
steps:
Expand All @@ -176,49 +176,6 @@ jobs:
affectedCmd: npm run sf:e2e:headless:ci:visual-regression
isDev: ${{ env.IS_DEV }}

test-e2e-storefront-b2b:
runs-on: ubuntu-latest
needs: [test-format, test-lint, test-stylelint, test-tsconfig]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ env.GITHUB_REF }}
fetch-depth: 0
- uses: ./.github/actions/init
- name: Storefront E2E Tests for B2B preset
uses: ./.github/actions/run-optimal
env:
SCOS_BASE_URL: ${{ secrets.SCOS_BASE_URL }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
STORE: DE
ORYX_FEATURE_VERSION: latest
with:
cmd: npm run sf:b2b:e2e:headless:ci
affectedCmd: npm run sf:b2b:e2e:headless:ci:affected
isDev: ${{ env.IS_DEV }}

test-e2e-fulfillment:
runs-on: ubuntu-latest
needs: [test-format, test-lint, test-stylelint, test-tsconfig]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ env.GITHUB_REF }}
fetch-depth: 0
- uses: ./.github/actions/init
- name: Fulfillment E2E Tests
uses: ./.github/actions/run-optimal
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY_FA }}
ORYX_FULFILLMENT_BACKEND_URL: ${{ secrets.ORYX_FULFILLMENT_BACKEND_URL }}
ORYX_FULFILLMENT_PUBLIC_VAPID_KEY: ${{ secrets.ORYX_FULFILLMENT_PUBLIC_VAPID_KEY }}
ORYX_FULFILLMENT_CLIENT_ID: ${{ secrets.ORYX_FULFILLMENT_CLIENT_ID }}
ORYX_FEATURE_VERSION: latest
with:
cmd: npm run fa:e2e:headless:ci
affectedCmd: npm run fa:e2e:headless:ci:affected
isDev: ${{ env.IS_DEV }}

test-build:
runs-on: ubuntu-latest
needs: [test-format, test-lint, test-stylelint, test-tsconfig]
Expand Down

0 comments on commit 76acd0e

Please sign in to comment.