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

plasma-infra: Fix publish rc #1143

Merged
merged 1 commit into from
Mar 22, 2024
Merged

plasma-infra: Fix publish rc #1143

merged 1 commit into from
Mar 22, 2024

Conversation

Yakutoc
Copy link
Collaborator

@Yakutoc Yakutoc commented Mar 22, 2024

What/why changed

В workflow для публикации релиз кандидата забыл

  • поправить формат получаемых данных для process-scope.js
  • в job "catch" неправильное имя failed job и поэтому не могу ничего найти
📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
# or 
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]


## Высчитываем условие для загрузки assets
- name: Computed scope state
id: scope
uses: actions/github-script@v6
env:
CHANGED_STATE: ${{ toJSON(steps.lerna_ls.outputs.STATE) }}
RAW_DATA: ${{ steps.lerna_ls.outputs.RAW_DATA }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Note]:

В processing-scope.js ожидалась переменная RAW_DATA без обертки toJSON

Copy link
Contributor

Theme Builder app deployed!

https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-1143/

if: ${{ always() && contains(needs.*.result, 'failure') }}
env:
FAILED_JOB_NAME: ${{ contains(needs.change-state.result, 'failure') && 'Save state' || 'Publish RC version / publish' }}
FAILED_JOB_NAME: ${{ contains(needs.change-state.result, 'failure') && 'State' || 'Publish RC version / publish' }}
Copy link
Collaborator Author

@Yakutoc Yakutoc Mar 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Note]:

[Handle errors]
Unhandled error: TypeError: Cannot read properties of undefined (reading 'find')

Потому что имя job === "State" а не "Save state"

Это bug причем очень старый - копипаста из песочницы. (

У нас не стрелял по причине того что никогда первая job не падала.

@Yakutoc Yakutoc marked this pull request as ready for review March 22, 2024 06:34
@Yakutoc Yakutoc removed the request for review from kayman233 March 22, 2024 06:34
@Yakutoc Yakutoc added the changelog-skip Exclude pull request changes from changelog label Mar 22, 2024
@Yakutoc Yakutoc added this pull request to the merge queue Mar 22, 2024
Merged via the queue into dev with commit 319e009 Mar 22, 2024
21 checks passed
@Yakutoc Yakutoc deleted the ci-fix-publish-rc branch March 22, 2024 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-skip Exclude pull request changes from changelog plasma-infra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants