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

Major/lifecycle improvements #194

Open
wants to merge 129 commits into
base: feature/lifecycle
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
99b9fa6
feat: Added Manage APIs for `windowColor` and `windowOpacity` (#164)
jlacivita Aug 14, 2023
51d7181
chore(release): 0.16.0 [skip ci]
semantic-release-bot Aug 14, 2023
6c1487b
fix: Reduce font size on capability index headers
jlacivita Aug 17, 2023
b341dee
fix: Using 3 letter ISO639 language codes (#173)
jlacivita Aug 31, 2023
676856b
chore(release): 0.16.0-next.4 [skip ci]
semantic-release-bot Sep 1, 2023
4b0462c
Merge branch 'main' into next
jlacivita Sep 1, 2023
966fa50
Merge branch 'next' of github.com:rdkcentral/firebolt-apis into next
jlacivita Sep 1, 2023
6a11710
fix: Manual merge of main to next
jlacivita Sep 1, 2023
86cc983
chore(release): 0.17.0-next.1 [skip ci]
semantic-release-bot Sep 1, 2023
3984a78
fix: update to firebolt-openrpc, c tests (#176)
jlacivita Sep 5, 2023
9cdd0b7
chore(release): 0.17.0-next.2 [skip ci]
semantic-release-bot Sep 5, 2023
a367307
fix: Point to production firebolt-openrpc
jlacivita Sep 7, 2023
dd3f4e1
chore(release): 0.17.0-next.3 [skip ci]
semantic-release-bot Sep 7, 2023
d92bf2a
Merge pull request #178 from rdkcentral/next
jlacivita Sep 7, 2023
192afa9
Update CHANGELOG.md
jlacivita Sep 7, 2023
b97f265
Update CHANGELOG.md
jlacivita Sep 7, 2023
e547d7d
chore(release): 0.17.0 [skip ci]
semantic-release-bot Sep 7, 2023
7ef7d9d
fix: Deploy GitHub.io docs for PRs (#180)
jlacivita Sep 8, 2023
bf90462
chore(release): 0.17.1-next.1 [skip ci]
semantic-release-bot Sep 8, 2023
8a5c142
fix: Add proposed branch to CI builds
jlacivita Sep 12, 2023
c258feb
chore(release): 0.17.1-next.2 [skip ci]
semantic-release-bot Sep 12, 2023
e65e43f
fix: Add proposed branch to .releaserc
jlacivita Sep 12, 2023
4daf36e
Merge branch 'next' of github.com:rdkcentral/firebolt-apis into next
jlacivita Sep 12, 2023
dd45f8a
chore(release): 0.17.1-next.3 [skip ci]
semantic-release-bot Sep 12, 2023
de35cb8
fix: Add enumerated values for fontFamily/fontEdge (#181)
jlacivita Sep 12, 2023
27536e8
chore(release): 0.17.1-next.4 [skip ci]
semantic-release-bot Sep 12, 2023
fe29da0
Merge pull request #182 from rdkcentral/next
jlacivita Sep 15, 2023
69da8a1
Update CHANGELOG.md
jlacivita Sep 15, 2023
4e81a11
Update CHANGELOG.md
jlacivita Sep 15, 2023
5ac54bd
chore(release): 0.17.1 [skip ci]
semantic-release-bot Sep 15, 2023
31801ca
feat: Added optional parameter 'force' in usergrants.request (#186)
kevinshahfws Sep 26, 2023
72fc757
chore(release): 0.18.0-next.1 [skip ci]
semantic-release-bot Sep 26, 2023
9ca2206
fix: Updated metrics:distributor capability to could (#185)
kevinshahfws Sep 26, 2023
725c73f
chore(release): 0.18.0-next.2 [skip ci]
semantic-release-bot Sep 26, 2023
b51ee9e
feat: First Draft based on today's working group
jlacivita Sep 29, 2023
55e6fc3
fix: Adding more details
jlacivita Sep 30, 2023
ee9dd21
fix: Add some context for events vs transitions
jlacivita Sep 30, 2023
88f29b1
fix: more ntoes
jlacivita Sep 30, 2023
101b825
Update index.md
jlacivita Sep 30, 2023
68d67c8
fix: Aligning Presentation w/ Lifecycle
jlacivita Oct 1, 2023
cb3d6ac
fix: Updates from today's WG
jlacivita Oct 2, 2023
2049199
fix: Added code example
jlacivita Oct 2, 2023
71ce04b
fix: Typos
jlacivita Oct 2, 2023
64411c0
chore: Added todos from last meeting
jlacivita Oct 9, 2023
4dbbab3
fix: Updated Discovery.launch example with xrn:firebolt:application-t…
kevinshahfws Oct 10, 2023
c1a6b84
feature: Added scope parameter for advertisingId (#188)
kevinshahfws Oct 10, 2023
cd9b9d7
chore(release): 0.18.0-next.3 [skip ci]
semantic-release-bot Oct 10, 2023
de7fc82
fix: Latest working group changes
jlacivita Oct 11, 2023
d2f95d2
Cleaned up spec based on working group consensus
jlacivita Oct 13, 2023
069ead6
Update index.md
jlacivita Oct 13, 2023
218cefb
fix: Updates from today's working group
jlacivita Oct 19, 2023
24e17e1
fix: table clean up
jlacivita Oct 20, 2023
fe97adc
chore: Added Markdown Beautifier and link fixer
jlacivita Oct 20, 2023
31cebed
fix: Today's working group edits
jlacivita Oct 23, 2023
b559ea7
fix: Presentation Working Group Edits
jlacivita Oct 24, 2023
869c321
chore: minor formatting
jlacivita Oct 24, 2023
fc5c638
fix: Account.session params to be mandatory (#196)
kevinshahfws Oct 24, 2023
e75f449
chore(release): 0.18.0-next.4 [skip ci]
semantic-release-bot Oct 24, 2023
d2d8939
chore: whitespace cleanup
jlacivita Oct 24, 2023
9e8c7fd
fix: Extra newline for really long words
jlacivita Oct 26, 2023
d1ddf3f
feat: Play Intent (#151)
jlacivita Oct 27, 2023
ea1986b
chore(release): 0.18.0-next.5 [skip ci]
semantic-release-bot Oct 27, 2023
06a0f40
fix: Cleaned up Presentation spec
jlacivita Oct 30, 2023
17b0b2f
Update presentation.md
jlacivita Oct 30, 2023
0feb4d6
fix: Latest WG edits
jlacivita Oct 30, 2023
74d9de9
fix: Permission schema with Capability as required
satlead Oct 30, 2023
982a5c7
Merge pull request #198 from rdkcentral/capabilities-schema-fix
satlead Oct 30, 2023
ed527ae
chore(release): 0.18.0-next.6 [skip ci]
semantic-release-bot Oct 30, 2023
b0fb8cf
fix: schemas version upgraded to 2.0.0-next.1 (#199)
jlacivita Oct 30, 2023
7f8e5e9
chore(release): 0.18.0-next.7 [skip ci]
semantic-release-bot Oct 30, 2023
1608784
fix: Formatting
jlacivita Oct 30, 2023
ab21aac
fix: Updates form today's WG
jlacivita Oct 31, 2023
ea29f33
fix: Update schemas & 1.0.0 version! (#200)
jlacivita Nov 1, 2023
923d02a
fix: CI looking for legacy 0.x version
jlacivita Nov 1, 2023
ec374cd
chore(release): 1.0.0-next.1 [skip ci]
semantic-release-bot Nov 1, 2023
4666a5e
fix: Provider error (#202)
kpears201 Nov 1, 2023
8147adb
chore(release): 1.0.0-next.2 [skip ci]
semantic-release-bot Nov 1, 2023
fd6ffb9
Merge pull request #204 from rdkcentral/next
jlacivita Nov 3, 2023
1078532
Update CHANGELOG.md
jlacivita Nov 3, 2023
ad7a70f
Update CHANGELOG.md
jlacivita Nov 3, 2023
d4f5ad8
chore(release): 1.0.0 [skip ci]
semantic-release-bot Nov 3, 2023
3a33fbd
feature: Release NPM for PR (#207)
kevinshahfws Nov 13, 2023
702ba9c
chore: Fix docs generated in prs (#212)
kpears201 Nov 15, 2023
1f33006
chore: Improve documentation formatting (#211)
kpears201 Nov 30, 2023
c7d2957
Update NOTICE
jlacivita Dec 7, 2023
058b535
Update NOTICE
jlacivita Dec 7, 2023
c64aab6
fix: latest udpates
jlacivita Dec 8, 2023
06d3624
feat: HDMI Low Latency Mode (#156)
jlacivita Jan 16, 2024
abecdf1
chore(release): 1.1.0-next.1 [skip ci]
semantic-release-bot Jan 16, 2024
22c9b71
fix: Add Music to Playable entities (#225)
jlacivita Feb 7, 2024
9c4aa82
chore(release): 1.1.0-next.2 [skip ci]
semantic-release-bot Feb 7, 2024
70c8b24
fix: Modified account:uid to SHOULD (#224)
kevinshahfws Feb 7, 2024
bf12e8b
chore(release): 1.1.0-next.3 [skip ci]
semantic-release-bot Feb 7, 2024
82208ac
chore: OpenRPC 2.3.0 Update
kschrief Feb 9, 2024
3699af0
Merge branch 'main' into next
kschrief Feb 9, 2024
df0580c
Merge pull request #227 from rdkcentral/next
kschrief Feb 9, 2024
d3c8eec
Update CHANGELOG.md
kschrief Feb 9, 2024
b2b418b
Update CHANGELOG.md
kschrief Feb 9, 2024
8088628
chore(release): 1.1.0 [skip ci]
semantic-release-bot Feb 9, 2024
84c9d65
fix: Piotr's feedback/edits
jlacivita Feb 19, 2024
ef3de3e
fix: Removed sdk as required field from Device.version (#231)
kevinshahfws Feb 28, 2024
20c4564
chore(release): 1.1.1-next.1 [skip ci]
semantic-release-bot Feb 28, 2024
9769d6d
fix: Add PlaylistEntity to EntityIntent
jlacivita Mar 6, 2024
869d942
chore(release): 1.1.1-next.2 [skip ci]
semantic-release-bot Mar 6, 2024
7c6ca7e
CoreSDK suite on MFOS - FCA standalone actions (#234)
bpvstaty366 Mar 8, 2024
5ea5d4e
feat: Firebolt CPP SDKs
HaseenaSainul Mar 27, 2024
ef6e851
chore(release): 1.2.0-next.1 [skip ci]
semantic-release-bot Mar 27, 2024
49ab03d
feat: CI/CD docs (next-major) and merges (next-major/main) (#245)
kschrief Apr 8, 2024
696f1f9
chore(release): 1.2.0-next.2 [skip ci]
semantic-release-bot Apr 8, 2024
7b1ddb4
chore: Update openRPC dependency (#262)
kschrief May 9, 2024
61e152a
Featuer/play intent (#272)
jlacivita May 23, 2024
48a1094
feat: User Interest (#170)
jlacivita Jun 6, 2024
e68c061
chore(release): 1.2.0-next.3 [skip ci]
semantic-release-bot Jun 6, 2024
c8f8dae
feat: Command and Control Intents (#251)
jlacivita Jun 6, 2024
5213418
chore(release): 1.2.0-next.4 [skip ci]
semantic-release-bot Jun 6, 2024
32a1d0f
BREAKING CHANGE: First pass at Lifecycle 2.0 API schemas & tests
jlacivita Jun 11, 2024
2be54d0
Merge branch 'next' into major/lifecycle-improvements
jlacivita Jun 11, 2024
c6f8767
fix: Post-merge cleanup
jlacivita Jun 11, 2024
462d6a1
fix: Move HDMI, UserInterest over to new RPC paradigm
jlacivita Jun 12, 2024
543afc4
fix: Update CI to use new npm script name
jlacivita Jun 12, 2024
1b719e1
fix: Comment out sanity tests
jlacivita Jun 12, 2024
7bcf08e
chore: Bumping version
jlacivita Jun 12, 2024
247d20c
fix: Trigger major version build
jlacivita Jun 12, 2024
b204cba
fix: Move transport interface back to string, not json
jlacivita Jun 18, 2024
b4f157c
fix: Remove unused example macros
jlacivita Jun 18, 2024
25c7518
fix: Valid firebolt-openrpc reference
jlacivita Jun 18, 2024
e74d1fe
fix: Change Sleeping to Hibernating
jlacivita Jul 2, 2024
e2e9dfa
fix: Update Hibernation based on last two discussions
jlacivita Nov 25, 2024
7d6d1fb
fix: Updates post-working group meeting
jlacivita Dec 4, 2024
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
43 changes: 43 additions & 0 deletions .github/workflows/merge-to-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Attempt to merge next to main
on:
workflow_dispatch:

jobs:
# Check if next can merge into main
perform_merge:
name: Perform merge if "next" can merge into "main"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
repo-token: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }}
persist-credentials: true

# Set user identity
- name: Set-Identity
run: |
git config --global user.email "${{ secrets.GLOBAL_GITHUB_EMAIL }}"
git config --global user.name "${{ secrets.GLOBAL_GITHUB_USER }}"

# Checkout "main"
- name: Checkout main
run: git checkout "main"

- name: Perform the merge from next to main
run: |
git merge next
git push origin "main"
echo "Push to main succeeded"

# If the merge cannot be performed, let stakeholders know
message_on_failure:
name: Merge failure
needs: perform_merge
runs-on: ubuntu-latest
if: ${{ failure() }}

steps:
- name: Post error message (To-Do)
run: echo "Next cannot be merged into main cleanly"
72 changes: 72 additions & 0 deletions .github/workflows/merge-to-next-major.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Attempt to merge next to next-major
on:
workflow_dispatch:
push:
branches:
- 'next'

jobs:
# Check if next can merge into next-major
perform_merge:
name: Perform merge if "next" can merge into "next-major"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
repo-token: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }}
persist-credentials: true

# Set user identity
- name: Set-Identity
run: |
git config --global user.email "${{ secrets.GLOBAL_GITHUB_EMAIL }}"
git config --global user.name "${{ secrets.GLOBAL_GITHUB_USER }}"

# Checkout "next-major"
- name: Checkout next-major
run: git checkout "next-major"

# Get the "next-major" version number
- name: Extract next-major version
id: extract_version
run: echo "::set-output name=version::$(node -e 'console.log(require("./package.json").version)')"

# Checkout "next"
- name: Checkout next
run: git checkout "next"

# Update "next" version to match "next-major"
- name: Update "next" version to match "next-major"
run: |
jq '.version = "${{ steps.extract_version.outputs.version }}"' package.json > temp.json

if diff -q "package.json" "temp.json" >/dev/null; then
echo "Versions are identical. No change required."
rm temp.json
else
mv temp.json package.json
git add package.json && git commit -m "Sync version to ${{ steps.extract_version.outputs.version }}"
fi

# Checkout "next-major"
- name: Checkout next-major
run: git checkout "next-major"

- name: Perform the merge from next to next-major
run: |
git merge next
git push origin "next-major"
echo "Push to next-major succeeded"

# If the merge cannot be performed, let stakeholders know
message_on_failure:
name: Merge failure
needs: perform_merge
runs-on: ubuntu-latest
if: ${{ failure() }}

steps:
- name: Post error message (To-Do)
run: echo "Next cannot be merged into next-major cleanly"
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ jobs:
- run: npm run compile
- run: npm run slice
- run: npm run validate:compiled
- run: npm run sdks
- run: npm run sdk
- run: npm run test
52 changes: 52 additions & 0 deletions .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Comment Artifact URL on PR

on:
workflow_run:
types:
- "completed"
workflows:
- "Core SDK - MFOS standalone sanity report"

jobs:
comment-on-pr:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Get Artifact And Job Data
env:
GITHUB_TOKEN: ${{ github.token }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
SERVER_URL: ${{ github.server_url }}
GITHUB_REPO: ${{ github.repository }}
WORKFLOW_RUN_EVENT_OBJ: ${{ toJSON(github.event.workflow_run) }}
run: |
./.github/workflows/utils.sh getArtifactData

- name: Download an artifact
uses: actions/github-script@v6
with:
script: |
const { downloadArtifact } = require('./.github/workflows/utils.cjs');
downloadArtifact(process.env.ARTIFACT_ID,process.env.JOB_PATH,process.env.PR_NUMBER,context,github);

- name: Unzip an artifact
run: |
./.github/workflows/utils.sh unzipArtifact

- name: Post a Comment
uses: actions/github-script@v6
with:
script: |
const { createComment } = require('./.github/workflows/utils.cjs');
createComment(github, context);
env:
issue_number: ${{ env.PR_NUMBER }}
Passes: ${{ env.Passes }}
Failures: ${{ env.Failures }}
Pending: ${{ env.Pending }}
Skipped: ${{ env.Skipped }}
ARTIFACT_URL: ${{ env.ARTIFACT_URL }}
JOB_PATH: ${{ env.JOB_PATH }}
79 changes: 53 additions & 26 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,20 @@ on:
- 'main'
- 'next'
- 'next-major'
- 'proposed'
pull_request:
types: [opened, synchronize]
branches:
- 'next'
- 'proposed'
env:
HUSKY: 0
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
# Checkout/install project
- name: Checkout
uses: actions/checkout@v2
with:
Expand All @@ -29,68 +36,88 @@ jobs:
run: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc'
- name: Install dependencies
run: npm ci
- name: Set explicit npm dist-tag default
if: github.ref_name == 'main'

# Set NPM_DIST_TAGS and DOCS_TAG if applicable based on branch
- name: Set main tags
if: github.ref_name == 'main' && github.event_name != 'pull_request'
run: |
echo "NPM_DIST_TAG=latest" >> $GITHUB_ENV
echo "RELEASE_CHANNEL=latest" >> $GITHUB_ENV
- name: Override npm dist-tag for non-main releases
if: github.ref_name != 'main'
echo "DOCS_TAG=latest" >> $GITHUB_ENV
- name: Set next tags
if: github.ref_name == 'next' && github.event_name != 'pull_request'
run: |
echo "NPM_DIST_TAG=next" >> $GITHUB_ENV
echo "DOCS_TAG=next" >> $GITHUB_ENV
- name: Set next-major tags
if: github.ref_name == 'next-major' && github.event_name != 'pull_request'
run: |
echo "NPM_DIST_TAG=next-major" >> $GITHUB_ENV
echo "DOCS_TAGE=next-major" >> $GITHUB_ENV
- name: Set feature branch tags
if: github.ref_name != 'main' && github.ref_name != 'next' && github.ref_name != 'next-major' && github.event_name != 'pull_request'
run: |
echo "Setting NPM_DIST_TAG to '${{ github.ref_name }}'"
echo "NPM_DIST_TAG=${{ github.ref_name }}" >> $GITHUB_ENV
- name: Override release channel for non-main releases
if: github.ref_name != 'main'
echo "NPM_DIST_TAG=test" >> $GITHUB_ENV
echo "FEATURE_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
- name: Set PR tags
if: github.ref_name != 'main' && github.ref_name != 'next' && github.ref_name != 'next-major' && github.event_name == 'pull_request'
run: |
echo "Setting RELEASE_CHANNEL to '$(node ./src/js/version.mjs channel $NPM_DIST_TAG)' using branch name '$NPM_DIST_TAG'"
echo "RELEASE_CHANNEL=$(node ./src/js/version.mjs channel $NPM_DIST_TAG)" >> $GITHUB_ENV
echo "NPM_DIST_TAG=test" >> $GITHUB_ENV
echo "DOCS_TAG=pr-$(node ./src/js/version.mjs branch-to-prerelease ${{ github.head_ref }})" >> $GITHUB_ENV
echo "FEATURE_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV

# Perform real (When not a PR) or dry-run (When PR) semantic-release
- name: Release mono-artifact to GitHub
if: github.ref_name != 'main' || github.event_name == 'workflow_dispatch'
if: (github.ref_name != 'main' && github.event_name != 'pull_request') || github.event_name == 'workflow_dispatch'
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} # <-- Allows semantic-release-bot to push changes to protected branches
npm_config_tag: ${{ env.NPM_DIST_TAG }} # <-- For main, this is `latest.` Otherwise, `next`, `next-major`, etc. See ./.releaserc for release branch config.
run: npx semantic-release
- name: Dry-run mono-artifact
if: github.ref_name == 'main' && github.event_name != 'workflow_dispatch'
if: (github.ref_name == 'main' && github.event_name != 'workflow_dispatch') || github.event_name == 'pull_request'
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} # <-- Allows semantic-release-bot to push changes to protected branches
npm_config_tag: ${{ env.NPM_DIST_TAG }} # <-- For main, this is `latest.` Otherwise, `next`, `next-major`, etc. See ./.releaserc for release branch config.
run: npx semantic-release --dry-run
- name: Build artifacts for feature branches
if: github.ref_name != 'main' && github.ref_name != 'next' && github.ref_name != 'next-major'
run: |
PRERELEASE=$(node ./src/js/version.mjs branch-to-prerelease $FEATURE_BRANCH)
node ./src/js/version.mjs latest-prerelease $PRERELEASE
npm version prerelease --preid $PRERELEASE --git-tag-version false
npm version prerelease --preid $PRERELEASE --workspaces --git-tag-version false
npm run dist
- name: Check if semantic-release created a build
id: check_build
uses: andstor/file-existence-action@v2
with:
files: "./src/sdks/core/dist/lib/firebolt.mjs"
files: './src/sdks/core/dist/lib/firebolt.mjs'
- name: Release Firebolt SDKs to NPM
if: steps.check_build.outputs.files_exists == 'true' && (github.ref_name != 'main' || github.event_name == 'workflow_dispatch')
if: steps.check_build.outputs.files_exists == 'true' && github.event_name != 'pull_request' && (github.ref_name != 'main' || github.event_name == 'workflow_dispatch')
env:
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }} # <-- Allows semantic-release to publish to npm without 2 factor auth.
npm_config_tag: ${{ env.NPM_DIST_TAG }} # <-- For main, this is `latest.` Otherwise, `next`, `next-major`, etc. See ./.releaserc for release branch config.
run: npm publish --tag $RELEASE_CHANNEL --workspaces
run: |
npm --version
echo "NPM DIST TAG :: " $NPM_DIST_TAG
npm publish --tag $NPM_DIST_TAG --workspaces
- name: Dry-run Firebolt SDKs to NPM
if: steps.check_build.outputs.files_exists == 'true' && (github.ref_name == 'main' && github.event_name != 'workflow_dispatch')
env:
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }} # <-- Allows semantic-release to publish to npm without 2 factor auth.
npm_config_tag: ${{ env.NPM_DIST_TAG }} # <-- For main, this is `latest.` Otherwise, `next`, `next-major`, etc. See ./.releaserc for release branch config.
run: npm publish --tag $RELEASE_CHANNEL --workspaces --dry-run
run: npm publish --tag $NPM_DIST_TAG --workspaces --dry-run
- name: Checkout firebolt GitHub.io repository
if: steps.check_build.outputs.files_exists == 'true'
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} # <-- Allows semantic-release-bot to push changes to protected branches
npm_config_tag: ${{ env.NPM_DIST_TAG }} # <-- For main, this is `latest.` Otherwise, `next`, `next-major`, etc. See ./.releaserc for release branch config.
run: |
cd /tmp
git clone https://rdkcentral:[email protected]/rdkcentral/firebolt.git ./firebolt-docs
- name: Release docs to GitHub.io
if: steps.check_build.outputs.files_exists == 'true'
if: steps.check_build.outputs.files_exists == 'true' && (github.ref_name == 'main' || github.ref_name == 'next' || github.ref_name == 'next-major' || github.event_name == 'pull_request')
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} # <-- Allows semantic-release-bot to push changes to protected branches
npm_config_tag: ${{ env.NPM_DIST_TAG }} # <-- For main, this is `latest.` Otherwise, `next`, `next-major`, etc. See ./.releaserc for release branch config.
run: |
npm run publish:docs /tmp/firebolt-docs
npm run publish:docs /tmp/firebolt-docs $DOCS_TAG
cd /tmp/firebolt-docs
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
git add --all
git commit -m "chore: Publish $RELEASE_CHANNEL"
git diff-index --quiet HEAD || git commit -m "chore: Publish $DOCS_TAG"
git push
34 changes: 34 additions & 0 deletions .github/workflows/run-standalone-mfos-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Core SDK - MFOS standalone sanity report

on:
pull_request:
types:
- opened
- synchronize
branches: [ next ]

jobs:
RunStandaloneTests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

# - name: Run tests and create assets
# env:
# EVENT_NAME: ${{ github.event_name }}
# GITHUB_REF: ${{ github.ref }}
# PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
# INTENT: ${{ secrets.INTENT }}
# run: |
# ./.github/workflows/utils.sh runTests

# - name: Upload report.json as an artifact
# uses: actions/upload-artifact@v2
# with:
# name: report
# path: ${{ github.workspace }}/report

# - name: Get results from report.json
# run: |
# ./.github/workflows/utils.sh getResults
Loading
Loading