Skip to content

Commit

Permalink
Release by 28.08.2024 (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakutoc authored Aug 28, 2024
2 parents a521bba + 5551f57 commit dce577e
Show file tree
Hide file tree
Showing 563 changed files with 74,666 additions and 54,615 deletions.
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ packages/plasma-tokens-b2b/*

packages/tokens/tokens-plasma/*
packages/tokens/tokens-sdds/*
packages/tokens/tokens-flamingo/*
packages/tokens/tokens-caldera-online/*

packages/plasma-tokens-b2c/*
!packages/plasma-tokens-b2c/dataColors.ts
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/documentation-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
run: |
npm run build --prefix="./website/plasma-web-docs"
cp -R ./website/plasma-web-docs/build ./s3_build/next-${{ github.sha }}/web
- name: Plasma B2C Docs
run: |
npm run build --prefix="./website/plasma-b2c-docs"
cp -R ./website/plasma-b2c-docs/build ./s3_build/next-${{ github.sha }}/b2c
- name: SDDS-SERV Docs
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/documentation-deploy-stage-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
run: |
npm run build --prefix="./website/plasma-web-docs"
cp -R ./website/plasma-web-docs/build ./s3_build/web
- name: Plasma B2C Docs
run: |
npm run build --prefix="./website/plasma-b2c-docs"
cp -R ./website/plasma-b2c-docs/build ./s3_build/b2c
- name: SDDS SERV Docs
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/documentation-deploy-stage-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ jobs:
run: |
npm run build --prefix="./website/plasma-web-docs"
cp -R ./website/plasma-web-docs/build ./s3_build/next-${{ github.sha }}/web
- name: Plasma B2C Docs
run: |
npm run build --prefix="./website/plasma-b2c-docs"
cp -R ./website/plasma-b2c-docs/build ./s3_build/next-${{ github.sha }}/b2c
- name: Plasma SDDS SERV Docs
run: |
npm run build --prefix="./website/sdds-serv-docs"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/documentation-pull-request-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ jobs:
export NODE_OPTIONS=--openssl-legacy-provider
npm run build --prefix="./website/plasma-web-docs"
cp -R ./website/plasma-web-docs/build ./s3_build/${PR_NAME}/web
- name: Plasma B2C Docs
run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm run build --prefix="./website/plasma-b2c-docs"
cp -R ./website/plasma-b2c-docs/build ./s3_build/${PR_NAME}/b2c
- name: Plasma UI Storybook
run: |
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/performance-test-base.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: Perftest (base branch cache)

on:
push:
branches:
- master
- dev
workflow_dispatch:

jobs:
perftest:
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/performance-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
name: Component Performance Testing

on:
pull_request:
branches:
- master
pull_request_target:
branches:
- dev
workflow_dispatch:

concurrency:
# New commit on branch cancels running workflows of the same branch
Expand All @@ -17,10 +12,12 @@ concurrency:

jobs:
authorize:
if: false
name: Authorize external pull request
uses: ./.github/workflows/authorize-external-pr.yml

state:
if: false
needs: [ authorize ]
uses: ./.github/workflows/change-detection.yml
with:
Expand All @@ -31,7 +28,7 @@ jobs:
perftest:
needs: [ authorize, state ]
runs-on: ubuntu-latest
if: ${{ fromJSON(needs.state.outputs.STATE).HAS_PACKAGES_DS_CHANGES }}
if: false
env:
PR_NAME: pr-${{ github.event.number }}
steps:
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/theme-builder-deploy-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Deploy theme-builder build to demo stage

on:
workflow_dispatch:
inputs:
ref:
description: 'target branch/sha'
required: false
default: master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref }}

- name: Prepare-environment
uses: ./.github/actions/prepare-environment

- name: Prepare directory build
run: mkdir -p s3_build

# TODO: https://github.com/salute-developers/plasma/issues/255
- name: Lerna bootstrap with scope
run: |
npx lerna bootstrap --scope @salutejs/plasma-theme-builder --scope=@salutejs/plasma-{tokens,tokens-utils}
# 2 папки, так как названия разные - в первом случае нужно для replace
- name: Build Theme Builder
env:
REACT_APP_APPLICATION_CLIENT_ID: ${{ secrets.REACT_APP_APPLICATION_CLIENT_ID }}
REACT_APP_AUTH_SERVER_URL: ${{ secrets.REACT_APP_AUTH_SERVER_URL }}
run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm run build --prefix="./website/plasma-theme-builder"
cp -R ./website/plasma-theme-builder/build ./s3_build/plasma-theme-builder-next
- name: Install s3cmd
run: |
pip3 install s3cmd
- name: s3 Upload build
run: >
s3cmd
--access_key ${{ secrets.AWS_ACCESS_KEY_ID }}
--secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
--host ${{ secrets.AWS_ENDPOINT }}
--host-bucket ${{ secrets.AWS_ENDPOINT }}
--bucket-location ${{ secrets.AWS_REGION }}
--signature-v2
--delete-removed
--no-mime-magic
sync
./s3_build/plasma-theme-builder-next/
s3://${{ secrets.AWS_S3_BUCKET_2 }}/dev/plasma-theme-builder/
4 changes: 1 addition & 3 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@
# review when someone opens a pull request.
* @Yeti-or @neretin-trike @Yakutoc @TitanKuzmich @shuga2704

native/* @malilex @Yeti-or

.github/* @Yakutoc @Yeti-or @malilex
.github/* @Yakutoc @Yeti-or @TitanKuzmich
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
96 changes: 48 additions & 48 deletions packages/plasma-asdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dce577e

Please sign in to comment.