Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove irrelevant apps from the Oryx workflows #6

Merged
merged 4 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @spryker/horizon-admin
* @oryx-frontend/core-team
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
48 changes: 0 additions & 48 deletions .github/workflows/release-labs.yml

This file was deleted.

6 changes: 1 addition & 5 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,3 @@ jobs:
- name: Release Error Log
if: failure()
run: cat libs/lerna-debug.log
- name: Run b2c 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: 1 addition & 5 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,3 @@ jobs:
- name: Release Error Log
if: failure()
run: cat libs/lerna-debug.log
- name: Run b2c 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
Loading