-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/release' into feature/SLB-295-Br…
…eadcrumbs
- Loading branch information
Showing
101 changed files
with
4,509 additions
and
2,009 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: Estimate | ||
on: | ||
pull_request: | ||
|
||
jobs: | ||
estimate: | ||
name: Estimate | ||
if: vars.JIRA_PROJECT_ID != '' | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Start Check Run | ||
id: check | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
CHECK_ID=$(gh api -X POST -H "Accept: application/vnd.github+json" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
-f 'name=Estimator' \ | ||
-f 'head_sha=${{ github.event.pull_request.head.sha }}' \ | ||
-f 'status=in_progress' \ | ||
-f 'output[title]=🎲 Estimation in progress' \ | ||
-f 'output[summary]=🎲 Estimation in progress' \ | ||
/repos/${{ github.repository }}/check-runs --jq '.id') | ||
echo "check_id=$CHECK_ID" >> $GITHUB_OUTPUT | ||
- name: Install estimator | ||
run: npm install -g @amazeelabs/estimator | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Find common ancestor | ||
id: ancestor | ||
env: | ||
BASE_BRANCH: ${{ github.base_ref }} | ||
run: | ||
echo "hash=$(git merge-base --fork-point origin/$BASE_BRANCH)" >> | ||
$GITHUB_OUTPUT | ||
|
||
- name: Estimate | ||
id: estimate | ||
env: | ||
JIRA_PROJECT_ID: ${{ vars.JIRA_PROJECT_ID }} | ||
PARENT_COMMIT: ${{ steps.ancestor.outputs.hash }} | ||
DASHBOARD_ACCESS_TOKEN: ${{ secrets.DASHBOARD_ACCESS_TOKEN }} | ||
run: echo "result=$(amazeelabs-estimator estimate)" >> $GITHUB_OUTPUT | ||
continue-on-error: true | ||
|
||
- name: Report success | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
gh api -X PATCH -H "Accept: application/vnd.github+json" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
-f 'name=Estimator' \ | ||
-f 'head_sha=${{ github.event.pull_request.head.sha }}' \ | ||
-f 'conclusion=success' \ | ||
-f 'output[title]=🎲 ${{ steps.estimate.outputs.result }}' \ | ||
-f 'output[summary]=🎲 ${{ steps.estimate.outputs.result }}' \ | ||
/repos/${{ github.repository }}/check-runs/${{ steps.check.outputs.check_id }} | ||
if: steps.estimate.outputs.result != '' | ||
|
||
- name: Report error | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
gh api -X PATCH -H "Accept: application/vnd.github+json" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
-f 'name=Estimator' \ | ||
-f 'head_sha=${{ github.event.pull_request.head.sha }}' \ | ||
-f 'conclusion=failure' \ | ||
-f 'output[title]=💥 Estimation failed' \ | ||
-f 'output[summary]=💥 Estimation failed' \ | ||
/repos/${{ github.repository }}/check-runs/${{ steps.check.outputs.check_id }} | ||
if: steps.estimate.outputs.result == '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Write dashboard history | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
write_dashboard: | ||
name: Write dashboard history | ||
if: github.ref == 'refs/heads/release' && vars.JIRA_PROJECT_ID != '' | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Install estimator | ||
run: npm install -g @amazeelabs/estimator | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Update dashboard | ||
env: | ||
JIRA_PROJECT_ID: ${{ vars.JIRA_PROJECT_ID }} | ||
DASHBOARD_ACCESS_TOKEN: ${{ secrets.DASHBOARD_ACCESS_TOKEN }} | ||
run: amazeelabs-estimator write-history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
node_modules | ||
.idea/inspectionProfiles | ||
.idea/git_toolbox_prj.xml | ||
build-storybook.log | ||
storybook-static | ||
coverage | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,6 @@ COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules | |
COPY --from=node /usr/local/bin/node /usr/local/bin/node | ||
RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm | ||
|
||
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 | ||
|
||
# Install pnpm | ||
RUN npm install -g [email protected] && pnpm config set store-dir /tmp/cache/pnpm | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 103 additions & 0 deletions
103
apps/cms/config/sync/core.entity_form_display.node.page.split.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
uuid: a39d0011-2ebf-4b18-a9f0-8b5aeff5b9aa | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_form_mode.node.split | ||
- field.field.node.page.body | ||
- field.field.node.page.field_metatags | ||
- node.type.page | ||
- workflows.workflow.basic | ||
module: | ||
- content_moderation | ||
- metatag | ||
- path | ||
id: node.page.split | ||
targetEntityType: node | ||
bundle: page | ||
mode: split | ||
content: | ||
created: | ||
type: datetime_timestamp | ||
weight: 3 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_metatags: | ||
type: metatag_firehose | ||
weight: 11 | ||
region: content | ||
settings: | ||
sidebar: true | ||
use_details: true | ||
third_party_settings: { } | ||
langcode: | ||
type: language_select | ||
weight: 1 | ||
region: content | ||
settings: | ||
include_locked: true | ||
third_party_settings: { } | ||
moderation_state: | ||
type: moderation_state_default | ||
weight: 9 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
path: | ||
type: path | ||
weight: 7 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
promote: | ||
type: boolean_checkbox | ||
weight: 5 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
status: | ||
type: boolean_checkbox | ||
weight: 10 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
sticky: | ||
type: boolean_checkbox | ||
weight: 6 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
title: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
translation: | ||
weight: 4 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
uid: | ||
type: entity_reference_autocomplete | ||
weight: 2 | ||
region: content | ||
settings: | ||
match_operator: CONTAINS | ||
match_limit: 10 | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
url_redirects: | ||
weight: 8 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: | ||
body: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
uuid: 5f26940d-fd06-41e0-8e59-9dfcdc9c86df | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- node | ||
id: node.split | ||
label: Split | ||
description: '' | ||
targetEntityType: node | ||
cache: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.