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

Cadence Next #204

Merged
merged 64 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
84bb8d5
add docusaurus to gitignore
ibarrajo Nov 13, 2024
f676513
rebase upstream
ibarrajo Dec 9, 2024
408ce56
document dependencies
ibarrajo Nov 18, 2024
2b6b5b5
blog metadata updates for authors and tags
ibarrajo Nov 18, 2024
c117839
blog sidebar updates
ibarrajo Nov 18, 2024
7ea0d32
blog: cadence workflows github organization
ibarrajo Nov 18, 2024
84c3dfc
move repo to cadence-workflows/Cadence-Docs
ibarrajo Nov 18, 2024
58f681d
rename links to cadence-workflow org
ibarrajo Nov 18, 2024
5e43d3d
rebase upstream
ibarrajo Dec 9, 2024
3bd3e1f
fix broken link
ibarrajo Nov 19, 2024
da9df6d
fix broken link
ibarrajo Nov 19, 2024
e7fd61c
fix broken link
ibarrajo Nov 19, 2024
3a58ad4
navigation updates
ibarrajo Nov 19, 2024
71140ac
team bio info
ibarrajo Nov 19, 2024
c26b30c
add resources file
ibarrajo Nov 19, 2024
621668d
use npm instead of yarn
ibarrajo Nov 19, 2024
61444f9
add activity failures to sidebar
ibarrajo Nov 19, 2024
75353c7
rebase upstream
ibarrajo Dec 9, 2024
a2732fe
rebase upstream
ibarrajo Dec 9, 2024
e83459b
rebase upstream
ibarrajo Dec 9, 2024
a0af7c7
add truncate directives on markdown
ibarrajo Nov 19, 2024
4c351d4
add survey announcement
ibarrajo Nov 19, 2024
e00a4bb
remove redundant gtag.js
ibarrajo Nov 19, 2024
e8e58b2
update dependencies
ibarrajo Nov 19, 2024
5242f95
update team description
ibarrajo Nov 19, 2024
2bd5a7a
update packages
ibarrajo Nov 19, 2024
3f7568d
update team bios
ibarrajo Nov 19, 2024
776de9d
update sidebar
ibarrajo Nov 19, 2024
9cefc38
add team member info
ibarrajo Nov 19, 2024
46e6580
update navigation
ibarrajo Nov 19, 2024
bf843cd
blue version of svg
ibarrajo Nov 19, 2024
e352f60
minor content updates
ibarrajo Nov 19, 2024
d246cba
mirror colors from uber base web
ibarrajo Nov 19, 2024
c5adc4e
jargon remark plugin
ibarrajo Dec 7, 2024
bd5d9d9
activate jargon plugin
ibarrajo Dec 7, 2024
591d48b
update docusaurus version
ibarrajo Dec 7, 2024
05fd5b3
env for build configuration
ibarrajo Dec 9, 2024
535dce6
add workflow-troubleshooting/retries to sidebar
ibarrajo Dec 9, 2024
fd12155
remove vuepress config
ibarrajo Dec 9, 2024
1d54a91
update deploy path for gh actions
ibarrajo Dec 9, 2024
4b9b4aa
update deploy gh pages action
ibarrajo Dec 9, 2024
6b19b04
update build and deploy gh-pages configuration
ibarrajo Dec 10, 2024
16effc7
grant permission for job to publish
ibarrajo Dec 10, 2024
e1e53c4
blog post formatting
ibarrajo Dec 10, 2024
74b7f44
fix build status badges
ibarrajo Dec 11, 2024
5f07fd3
update team bios
ibarrajo Dec 11, 2024
4344b2e
add site description meta tag
ibarrajo Dec 11, 2024
30a4e38
add codeblock type
ibarrajo Dec 16, 2024
659c30a
blog syntax highlighting improvements
ibarrajo Dec 16, 2024
123ac38
docs syntax highlighting improvements
ibarrajo Dec 16, 2024
bbdf107
custom dql syntax highlighting support
ibarrajo Dec 16, 2024
72014da
docs syntax highlighting improvements
ibarrajo Dec 16, 2024
f471485
style updates
ibarrajo Dec 16, 2024
d5f0ba2
fix styles when css is minified
ibarrajo Dec 16, 2024
6b5997f
syntax highlighting improvements
ibarrajo Dec 16, 2024
4b879b7
remove trailing slash from url by default
ibarrajo Dec 17, 2024
b341bfc
fix links
ibarrajo Dec 17, 2024
029754d
update environment variables for deployment
ibarrajo Jan 2, 2025
336763c
fix format
ibarrajo Jan 2, 2025
4d7ccf8
update environment variables for production deploy
ibarrajo Jan 3, 2025
ea6d460
disable deployment for testing
ibarrajo Jan 3, 2025
4b3c2f6
Merge branch 'cadence-workflow-master'
ibarrajo Jan 3, 2025
3c8a363
Merge branch 'master' of github.com:ibarrajo/cadence-docs into cadenc…
ibarrajo Jan 3, 2025
e7e463d
Merge branch 'cadence-workflow-master'
ibarrajo Jan 3, 2025
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
7 changes: 7 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ export NODE_VERSIONS=~/.nvm/versions/node
export NODE_VERSION_PREFIX='v'
export NODE_OPTIONS=--openssl-legacy-provider
use node # reads .node-version, keep in sync with package.json

# Custom env values go into .envrc.local
if [ -f .envrc.local ]; then
echo "loading .envrc.local"
source_env .envrc.local
fi

8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ jobs:

steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
# https://github.com/actions/checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js v18
uses: actions/setup-node@v3
# https://github.com/actions/setup-node
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: lts/hydrogen
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
cache: 'npm'
- name: Install and Build 🔧
Expand Down
77 changes: 59 additions & 18 deletions .github/workflows/publish-to-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,81 @@
name: Build and Deploy
on:
workflow_dispatch:
push:
branches:
- master

permissions:
contents: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest

# Load environment variables from repository settings,
# environment should be named "production"
# https://github.com/cadence-workflow/Cadence-Docs/settings/environments
environment: production
env:
CADENCE_DOCS_URL: ${{ vars.CADENCE_DOCS_URL }}
BASE_URL: ${{ vars.BASE_URL }}
ORGANIZATION_NAME: ${{ vars.ORGANIZATION_NAME }}

steps:
- name: Set environment variables
env:
REPO_NAME: ${{ github.repository }}
id: split
run: |
if [[ -z "${PROJECT_NAME}" ]]; then
echo "PROJECT_NAME not provided, using last part of repository name"
echo "PROJECT_NAME=${REPO_NAME##*/}" >> $GITHUB_ENV
fi
if [[ -z "${BASE_URL}" ]]; then
echo "BASE_URL not provided, using repo name for gh-pages"
echo "BASE_URL=/${REPO_NAME##*/}/" >> $GITHUB_ENV
fi
if [[ -z "${ORGANIZATION_NAME}" ]]; then
echo "ORGANIZATION_NAME not provided, using the first part of the repository name"
echo "ORGANIZATION_NAME=${REPO_NAME/\/*/}" >> $GITHUB_ENV
fi

- name: Test variable
run: |
echo "CADENCE_DOCS_URL is ${CADENCE_DOCS_URL}"
echo "PROJECT_NAME is ${PROJECT_NAME}"
echo "BASE_URL is ${BASE_URL}"
echo "ORGANIZATION_NAME is ${ORGANIZATION_NAME}"

# same as build.yml
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js v18
uses: actions/setup-node@v3

# configure custom domain for github pages
# files placed under static folder will be copied to the root of the build folder
- name: Configure domain
uses: finnp/[email protected]
env:
FILE_NAME: "static/CNAME"
FILE_DATA: ${{ secrets.CUSTOM_DOMAIN }}

- name: Use Node.js lts/hydrogen (v18)
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: lts/hydrogen
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
cache: 'npm'
cache: "npm"

- name: Install and Build 🔧
run: |
npm install
npm run build

# additional steps to deploy
- name: Configure domain
uses: finnp/[email protected]
env:
FILE_NAME: "dist/CNAME"
FILE_DATA: ${{ secrets.CUSTOM_DOMAIN }}
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: dist # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch
# - name: Deploy 🚀
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# branch: gh-pages # The branch the action should deploy to.
# folder: build # The folder the action should deploy.
# clean: true # Automatically remove deleted files from the deploy branch
35 changes: 31 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,40 @@
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# cypress
cypress/fixtures
cypress/plugins
cypress/support
cypress/videos
dist
dist-blog
node_modules
npm-debug.log

# dependencies
/node_modules

# package-lock file is required for cypress github action to work.
# See https://github.com/marketplace/actions/cypress-io#installation for more information.
# package-lock.json
yarn-error.log

### VisualStudioCode ###
.vscode/*

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.envrc.local
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
Empty file added CHANGELOG.md
Empty file.
Empty file added CONTRIBUTING.md
Empty file.
79 changes: 66 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,72 @@
# [Cadence docs](https://cadenceworkflow.io) · ![Build and Deploy](https://img.shields.io/github/actions/workflow/status/uber/Cadence-Docs/publish-to-gh-pages.yml?label=Build%20and%20Deploy&link=https%3A%2F%2Fgithub.com%2Fuber%2FCadence-Docs%2Factions%2Fworkflows%2Fpublish-to-gh-pages.yml) ![Nightly integration test](https://img.shields.io/github/actions/workflow/status/uber/Cadence-Docs/nightly-integration-test.yml?label=Nightly%20integration%20test&link=https%3A%2F%2Fgithub.com%2Fuber%2FCadence-Docs%2Factions%2Fworkflows%2Fnightly-integration-test.yml)
# [Cadence docs](https://cadenceworkflow.io) · ![Build and Deploy](https://img.shields.io/github/actions/workflow/status/cadence-workflow/Cadence-Docs/publish-to-gh-pages.yml?label=Build%20and%20Deploy&link=https%3A%2F%2Fgithub.com%2Fcadence-workflow%2FCadence-Docs%2Factions%2Fworkflows%2Fpublish-to-gh-pages.yml) ![Nightly integration test](https://img.shields.io/github/actions/workflow/status/cadence-workflow/Cadence-Docs/nightly-integration-test.yml?label=Nightly%20integration%20test&link=https%3A%2F%2Fgithub.com%2Fcadence-workflow%2FCadence-Docs%2Factions%2Fworkflows%2Fnightly-integration-test.yml)

## Setting up for local development
This will start a local server and can be accessed at http://localhost:8080/
1. Run `npm install`
2. Run `npm run start`

### Adding pages to docs
1. Add the page under `Cadence-Docs/src/docs` in the correct place in the hierarchy
2. Add the page to `Cadence-Docs/src/.vuepress/config.js`

## Setting up for local development for blog pages
This will start a local server and can be accessed at http://localhost:8080/blog
1. Run `npm install`
2. Run `npm run start:blog`
# cadenceworkflow.io

[Cadence docs](https://cadenceworkflow.io) is built using [Docusaurus](https://docusaurus.io/).



### Installation

```console
$ npm install
```

### Local Development

```console
$ npm run start
```

This command starts a local development server and opens up a browser window at http://localhost:3000/. Most changes are reflected live without having to restart the server.

### Build

```console
$ npm run build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.

### Environment Variables

In order to deploy to multiple environments, some configuration options in `docusaurus.config.ts` are made available for override through environment variables.

```bash
# Can be replaced by your GH pages url, ie. https://<userId>.github.io/
CADENCE_DOCS_URL=https://cadenceworkflow.io

# For GitHub pages deployment, it is often /<projectName>/ defaults to `/`
BASE_URL=/cadence-docs/

# For Github pages only, this is your Github org/user name.
ORGANIZATION_NAME=cadence-workflow
```

### Deployment

Using SSH:

```console
$ USE_SSH=true npm run deploy
```

Not using SSH:

```console
$ GIT_USER=<Your GitHub username> npm run deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.


# NPM Registry

Ensure you have a `.npmrc` [file](https://docs.npmjs.com/cli/v9/configuring-npm/npmrc/) configured with `registry=https://registry.npmjs.org/`.
This will ensure the dependencies are pulled from the correct source and to prevent internal npm registries from being pushed onto the package-lock.json

## License

MIT License, please see [LICENSE](https://github.com/uber/Cadence-Docs/blob/master/LICENSE) for details.
MIT License, please see [LICENSE](https://github.com/cadence-workflow/Cadence-Docs/blob/master/LICENSE) for details.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
title: Long-term commitment and support for the Cadence project, and its community
date: 2021-09-30
author: Liang Mei
authorlink: https://www.linkedin.com/in/meiliang86/
authors: meiliang86
tags:
- announcement
---

Dear valued Cadence users and developers,
Expand All @@ -11,10 +12,11 @@ Dear valued Cadence users and developers,
Some of you might have read Temporal’s recent announcement about their decision to drop the support for the Cadence project. This message caused some confusion in the community, so we would like to take this opportunity to clear things out.


First of all, **Uber is committed to the long-term success of the Cadence project**. Since its inception 5 years ago, use cases built on Cadence and their scale have grown significantly at Uber. Today, Cadence powers a variety of our most business-critical use cases (some public stories are available [here](https://eng.uber.com/hadoop-container-blog/) and [here](https://eng.uber.com/meet-sao-paulo-tech/)). At the same time, the Cadence development team at Uber has enjoyed rapid growth with the product and has been driving innovations of workflow technology across the board, from new features (e.g. [graceful failover](https://github.com/uber/cadence/pulls?q=is%3Apr+graceful+failover), [workflow shadowing](https://cadenceworkflow.io/docs/java-client/workflow-replay-shadowing/#workflow-replayer), [UI improvements](https://github.com/uber/cadence-web/commits/master)) to better engineering foundations (e.g. [gRPC support](https://github.com/uber/cadence/pulls?q=is%3Apr+grpc), [multi-tenancy support](https://github.com/uber/cadence/pulls?q=is%3Apr+label%3A%22cadence+multi-tenancy%22+)), all in a backwards compatible manner. Neither Uber’s use nor support of Cadence is going to change with Temporal’s announcement. We have a long list of features and exciting roadmaps ahead of us, and we will share more details in our next meetup in November ‘21. As always we will continue to push the boundaries of scale and reliability as our usage within Uber grows.
First of all, **Uber is committed to the long-term success of the Cadence project**. Since its inception 5 years ago, use cases built on Cadence and their scale have grown significantly at Uber. Today, Cadence powers a variety of our most business-critical use cases (some public stories are available [here](https://eng.uber.com/hadoop-container-blog/) and [here](https://eng.uber.com/meet-sao-paulo-tech/)). At the same time, the Cadence development team at Uber has enjoyed rapid growth with the product and has been driving innovations of workflow technology across the board, from new features (e.g. [graceful failover](https://github.com/cadence-workflow/cadence/pulls?q=is%3Apr+graceful+failover), [workflow shadowing](https://cadenceworkflow.io/docs/java-client/workflow-replay-shadowing/#workflow-replayer), [UI improvements](https://github.com/cadence-workflow/cadence-web/commits/master)) to better engineering foundations (e.g. [gRPC support](https://github.com/cadence-workflow/cadence/pulls?q=is%3Apr+grpc), [multi-tenancy support](https://github.com/cadence-workflow/cadence/pulls?q=is%3Apr+label%3A%22cadence+multi-tenancy%22+)), all in a backwards compatible manner. Neither Uber’s use nor support of Cadence is going to change with Temporal’s announcement. We have a long list of features and exciting roadmaps ahead of us, and we will share more details in our next meetup in November ‘21. As always we will continue to push the boundaries of scale and reliability as our usage within Uber grows.

<!-- truncate -->

Secondly, **we are committed to maintaining and growing a healthy and collaborative community**. Cadence continues to attract attention as a [popular open source platform](https://star-history.t9t.io/#uber/cadence), with more than 100 contributors to our project, and more than 1500 developers in our [open source Slack support channel](https://t.uber.com/cadence-slack). The Uber Cadence team, along with our open source partners like [Long](https://www.linkedin.com/in/prclqz/) from Indeed, have been behind the management and support of the Cadence open source community for the past 2 years. Moving forward, we are going to work even more closely with our community, through a series of online and offline channels including meetups, office hours, tech deep dives, and design consultations. We would also like to scale the way we operate, by creating a **Cadence OSS Committee** that allows us to maintain a closer relationship with its members, so that we can learn from each other's Cadence experiences and grow together. Please definitely let us know your suggestions on the type of engagements that you would like to see with the core team.
Secondly, **we are committed to maintaining and growing a healthy and collaborative community**. Cadence continues to attract attention as a [popular open source platform](https://star-history.t9t.io/#cadence-workflow/cadence), with more than 100 contributors to our project, and more than 1500 developers in our [open source Slack support channel](https://t.uber.com/cadence-slack). The Uber Cadence team, along with our open source partners like [Long](https://www.linkedin.com/in/prclqz/) from Indeed, have been behind the management and support of the Cadence open source community for the past 2 years. Moving forward, we are going to work even more closely with our community, through a series of online and offline channels including meetups, office hours, tech deep dives, and design consultations. We would also like to scale the way we operate, by creating a **Cadence OSS Committee** that allows us to maintain a closer relationship with its members, so that we can learn from each other's Cadence experiences and grow together. Please definitely let us know your suggestions on the type of engagements that you would like to see with the core team.


**About Temporal and its “EOL announcement”**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
title: Announcing Cadence OSS office hours and community sync up

date: 2021-10-13
author: Liang Mei
authorlink: https://www.linkedin.com/in/meiliang86/
authors: meiliang86
tags:
- announcement
- roadmap
---

Are you a current Cadence user, do you operate Cadence services, or are you interested in learning about workflow technologies and wonder what problems Cadence could solve for you? We would like to talk to you!
Expand All @@ -29,5 +31,6 @@ Building and maintaining a healthy and growing community is the key to the succe

As we have a geo-distributed userbase, we are still trying to figure out a time that works for most of the people. In the meanwhile, we will manually schedule the first few instances of the meeting until we settle on a fixed schedule. Our next office hours will take place on **Thursday, October 21 2pm-3pm PT/5pm-6pm EST/9pm-10pm GMT**. Please join via [this zoom link](https://uber.zoom.us/j/92356466350?pwd=RFVTc2pwV0xoVTdlK3VxN3N2eU5UZz09).

<!-- truncate -->

The Uber Cadence team
The Uber Cadence team
Loading
Loading