From 8121e2bd884086274228ceba7b3e995245940877 Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 14:25:27 -0400 Subject: [PATCH 01/13] 1 --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index a6cbcd3a880..69b3013f2ed 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -136,6 +136,8 @@ jobs: - run: name: Has secrets? command: | + NETLIFY_AUTH_TOKEN="$NETLIFY_AUTH_TOKEN_2" + NETLIFY_SITE_ID="$NETLIFY_SITE_ID_2" if [ -z "$NETLIFY_AUTH_TOKEN" ] || [ -z "$NETLIFY_SITE_ID" ]; then echo "Missing required secrets." exit 1 @@ -173,6 +175,8 @@ jobs: - run: name: Has secrets? command: | + NETLIFY_AUTH_TOKEN="$NETLIFY_AUTH_TOKEN_2" + NETLIFY_SITE_ID="$NETLIFY_SITE_ID_2" if [ -z "$NETLIFY_AUTH_TOKEN" ] || [ -z "$NETLIFY_SITE_ID" ]; then echo "Missing required secrets." exit 1 From 1cd155085f476445f826e7bc61b6384f2a8c7c82 Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 14:51:45 -0400 Subject: [PATCH 02/13] wer --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 69b3013f2ed..76110f035a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -133,9 +133,15 @@ jobs: - image: cimg/node:14.21.3-browsers resource_class: xlarge steps: + - node/install: + node-version: '18.20.0' - run: name: Has secrets? command: | + npm install netlify-cli@24.0.1 -g + + exit 1 + NETLIFY_AUTH_TOKEN="$NETLIFY_AUTH_TOKEN_2" NETLIFY_SITE_ID="$NETLIFY_SITE_ID_2" if [ -z "$NETLIFY_AUTH_TOKEN" ] || [ -z "$NETLIFY_SITE_ID" ]; then From 8ff2d6973b96d9cc6832a6380c6682c9c009867e Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 14:53:00 -0400 Subject: [PATCH 03/13] 123 --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 76110f035a2..babe86257a4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -140,10 +140,14 @@ jobs: command: | npm install netlify-cli@24.0.1 -g - exit 1 + NETLIFY_AUTH_TOKEN="$NETLIFY_AUTH_TOKEN_2" NETLIFY_SITE_ID="$NETLIFY_SITE_ID_2" + + echo site: ${NETLIFY_SITE_ID_2:0:5} + + exit 1 if [ -z "$NETLIFY_AUTH_TOKEN" ] || [ -z "$NETLIFY_SITE_ID" ]; then echo "Missing required secrets." exit 1 From 6965f57b0dca57fae766097bd8b013041181dd12 Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 14:55:14 -0400 Subject: [PATCH 04/13] 12 --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index babe86257a4..9bcda088791 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -133,11 +133,11 @@ jobs: - image: cimg/node:14.21.3-browsers resource_class: xlarge steps: - - node/install: - node-version: '18.20.0' - run: name: Has secrets? command: | + nvm install 18.20.0 + nvm use 118.20.0 npm install netlify-cli@24.0.1 -g From 64cb634e55df42616a8908e94dc4a68caf25c808 Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 15:00:48 -0400 Subject: [PATCH 05/13] 234 --- .circleci/config.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9bcda088791..7837a439de4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -136,12 +136,6 @@ jobs: - run: name: Has secrets? command: | - nvm install 18.20.0 - nvm use 118.20.0 - npm install netlify-cli@24.0.1 -g - - - NETLIFY_AUTH_TOKEN="$NETLIFY_AUTH_TOKEN_2" NETLIFY_SITE_ID="$NETLIFY_SITE_ID_2" From 0cc9bbf0a23d17702eb6f36c5e0733ec7bc523a8 Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 16:05:28 -0400 Subject: [PATCH 06/13] 123 --- .circleci/config.yml | 6 +----- packages/@okta/vuepress-site/code/.gitignore | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 packages/@okta/vuepress-site/code/.gitignore diff --git a/.circleci/config.yml b/.circleci/config.yml index 7837a439de4..4f0452a9ddf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -138,10 +138,6 @@ jobs: command: | NETLIFY_AUTH_TOKEN="$NETLIFY_AUTH_TOKEN_2" NETLIFY_SITE_ID="$NETLIFY_SITE_ID_2" - - echo site: ${NETLIFY_SITE_ID_2:0:5} - - exit 1 if [ -z "$NETLIFY_AUTH_TOKEN" ] || [ -z "$NETLIFY_SITE_ID" ]; then echo "Missing required secrets." exit 1 @@ -159,7 +155,7 @@ jobs: - run: name: Deploy preview to Netlify command: | - netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site + netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --debug --filter @okta/vuepress-site - run: name: Log preview link command: | diff --git a/packages/@okta/vuepress-site/code/.gitignore b/packages/@okta/vuepress-site/code/.gitignore new file mode 100644 index 00000000000..e985853ed84 --- /dev/null +++ b/packages/@okta/vuepress-site/code/.gitignore @@ -0,0 +1 @@ +.vercel From fccd9c94545837792525bf3fb9780a859fecd39e Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 16:54:25 -0400 Subject: [PATCH 07/13] 132 --- .circleci/config.yml | 62 ++++++++++++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 20 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4f0452a9ddf..3ae228edb9c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -147,25 +147,33 @@ jobs: - run: name: Build preview command: | - yarn build - - run: - name: Install Netlify CLI - command: | - npm install netlify-cli@17.23.5 -g - - run: - name: Deploy preview to Netlify - command: | - netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --debug --filter @okta/vuepress-site - - run: - name: Log preview link - command: | - if [ -n "$CIRCLE_PULL_REQUEST" ]; then - PR_NUMBER="${CIRCLE_PULL_REQUEST##*/}" - echo "Preview link:" - echo "https://preview-${PR_NUMBER}--reverent-murdock-829d24.netlify.app" - else - echo "No pull request detected. Preview link not available." - fi + mkdir -p packages/@okta/vuepress-site/dist + pushd packages/@okta/vuepress-site/dist + echo hi>readme.md + popd + # yarn build + - persist_to_workspace: + root: packages/@okta/vuepress-site/dist + paths: + - . + # - run: + # name: Install Netlify CLI + # command: | + # npm install netlify-cli@17.23.5 -g + # - run: + # name: Deploy preview to Netlify + # command: | + # netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --debug --filter @okta/vuepress-site + # - run: + # name: Log preview link + # command: | + # if [ -n "$CIRCLE_PULL_REQUEST" ]; then + # PR_NUMBER="${CIRCLE_PULL_REQUEST##*/}" + # echo "Preview link:" + # echo "https://preview-${PR_NUMBER}--reverent-murdock-829d24.netlify.app" + # else + # echo "No pull request detected. Preview link not available." + # fi netlify_manual_with_redirects: docker: @@ -205,7 +213,17 @@ jobs: else echo "No pull request detected. Preview link not available." fi - + netlify_publish: + docker: + - image: cimg/node:18.20.0-browsers + resource_class: xlarge + steps: + - attach_workspace: + at: packages/@okta/vuepress-site/dist + - run: + command: | + npm install netlify-cli@17.23.5 -g + netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site workflows: linting: @@ -253,6 +271,10 @@ workflows: jobs: - netlify_manual: name: "Netlify Manual" + - netlify_publish: + name: "Netlify Publish" + requires: + - netlify_manual netlify_manual_with_redirects: when: << pipeline.parameters.preview_with_redirect >> From 4d31e711bf91466a33bc4e3e5b3df3b2236c5c4b Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 16:56:30 -0400 Subject: [PATCH 08/13] 13 --- .circleci/config.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3ae228edb9c..efa8e616f97 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -213,17 +213,18 @@ jobs: else echo "No pull request detected. Preview link not available." fi - netlify_publish: - docker: + + netlify_publish: + docker: - image: cimg/node:18.20.0-browsers - resource_class: xlarge - steps: - - attach_workspace: - at: packages/@okta/vuepress-site/dist - - run: - command: | - npm install netlify-cli@17.23.5 -g - netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site + resource_class: xlarge + steps: + - attach_workspace: + at: packages/@okta/vuepress-site/dist + - run: + command: | + npm install netlify-cli@17.23.5 -g + netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site workflows: linting: From 922be696ccb3a9c24b7b4b4f640ff6fa15b8ec1e Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 17:14:59 -0400 Subject: [PATCH 09/13] 123 --- .circleci/config.yml | 199 +------------------------------------------ 1 file changed, 1 insertion(+), 198 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index efa8e616f97..7627abe8e9b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,101 +33,6 @@ commands: - ~/.cache/ jobs: - snyk-scan: - docker: - - image: cimg/python:3.10 - steps: - - attach_workspace: - at: ~/project - - checkout - - platform-helpers-general/step-load-dependencies - - platform-helpers-general/step-run-snyk-monitor: - scan-all-projects: true - skip-unresolved: false - run-on-non-main: true - - inclusive-linting: - docker: - - image: cimg/base:current - resource_class: small - steps: - - checkout - - run: bash ./scripts/inclusive-lint.sh - - node_build_checks: - docker: - - image: cimg/node:14.21.3-browsers - resource_class: large - environment: - NODE_OPTIONS: '--max_old_space_size=3584' - steps: - - checkout - - install-deps - - run: - name: Lint - command: yarn lint-all - - run: - name: Build - command: yarn build - - run: - name: Run checks - command: ./scripts/yarn-checks-ci.sh - - store_test_results: - path: test_results - - store_artifacts: - path: /tests/cypress/screenshots - - persist_to_workspace: - root: ~/project - paths: - - . - - .git - - nightly_link_checker: - docker: - - image: cimg/node:14.21.3-browsers - resource_class: large - environment: - NODE_OPTIONS: '--max_old_space_size=3584' - steps: - - checkout - - install-deps - - run: - name: Run script and capture logs - command: yarn build - - run: - name: Run link checker - command: yarn broken-link-checker:external 2>&1 | tee output.txt || true - - run: - name: Extract URLs from log - command: | - grep -o 'Link: https\?://[^[:space:]]*' output.txt | sed 's/Link: //' > urls.txt - cat urls.txt - when: always - - run: - name: Remove False Positives - command: | - comm -23 <(sort urls.txt | uniq) <(sort falsepos.txt | uniq) > broken_external_urls.txt - - run: - name: Print urls to log - command: | - cat broken_external_urls.txt - - run: - name: Send failure email if broken URLs found - when: on_success - command: | - broken_urls=$(comm -23 <(sort urls.txt | uniq) <(sort falsepos.txt | uniq)) - broken_urls=$(echo "$broken_urls" | sed 's/ /\n/g') - formatted_broken_urls=$(echo "$broken_urls" | awk '{printf "%s
\n", $0, $0}') - - if [ -n "$broken_urls" ]; then - curl --location --request POST 'https://www.cinotify.cc/api/notify' \ - -d "to=${NOTIFY_EMAIL}&subject=BROKEN URLS DETECTED: Dev Docs Nightly Job&type=text/html&body=

- Nightly link checker job complete. See the list of broken URLs below.

- Click here - to see job details.
-

List of broken URLs:

$formatted_broken_urls" - fi - netlify_manual: docker: - image: cimg/node:14.21.3-browsers @@ -156,63 +61,6 @@ jobs: root: packages/@okta/vuepress-site/dist paths: - . - # - run: - # name: Install Netlify CLI - # command: | - # npm install netlify-cli@17.23.5 -g - # - run: - # name: Deploy preview to Netlify - # command: | - # netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --debug --filter @okta/vuepress-site - # - run: - # name: Log preview link - # command: | - # if [ -n "$CIRCLE_PULL_REQUEST" ]; then - # PR_NUMBER="${CIRCLE_PULL_REQUEST##*/}" - # echo "Preview link:" - # echo "https://preview-${PR_NUMBER}--reverent-murdock-829d24.netlify.app" - # else - # echo "No pull request detected. Preview link not available." - # fi - - netlify_manual_with_redirects: - docker: - - image: cimg/node:14.21.3-browsers - resource_class: xlarge - steps: - - run: - name: Has secrets? - command: | - NETLIFY_AUTH_TOKEN="$NETLIFY_AUTH_TOKEN_2" - NETLIFY_SITE_ID="$NETLIFY_SITE_ID_2" - if [ -z "$NETLIFY_AUTH_TOKEN" ] || [ -z "$NETLIFY_SITE_ID" ]; then - echo "Missing required secrets." - exit 1 - fi - - checkout - - install-deps - - run: - name: Build preview - command: | - yarn build-with-redirect - - run: - name: Install Netlify CLI - command: | - npm install netlify-cli@17.23.5 -g - - run: - name: Deploy preview to Netlify - command: | - netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site - - run: - name: Log preview link - command: | - if [ -n "$CIRCLE_PULL_REQUEST" ]; then - PR_NUMBER="${CIRCLE_PULL_REQUEST##*/}" - echo "Preview link:" - echo "https://preview-${PR_NUMBER}--reverent-murdock-829d24.netlify.app" - else - echo "No pull request detected. Preview link not available." - fi netlify_publish: docker: @@ -227,47 +75,7 @@ jobs: netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site workflows: - linting: - when: - and: - - not: << pipeline.parameters.preview >> - - not: << pipeline.parameters.preview_with_redirect >> - jobs: - - inclusive-linting: - name: "Inclusive Linting" - - build_checks: - when: - and: - - not: << pipeline.parameters.preview >> - - not: << pipeline.parameters.preview_with_redirect >> - jobs: - - node_build_checks: - name: "Build and Checks" - - snyk-scan: - context: - - static-analysis - name: execute-snyk - requires: - - Build and Checks - filters: - branches: - only: - - master - - nightly: - triggers: - - schedule: - cron: "1 5 * * *" - filters: - branches: - only: - - master - jobs: - - nightly_link_checker: - name: "Nightly Link Checker" - - netlify_manual: + wf_netlify_manual: when: << pipeline.parameters.preview >> jobs: - netlify_manual: @@ -277,8 +85,3 @@ workflows: requires: - netlify_manual - netlify_manual_with_redirects: - when: << pipeline.parameters.preview_with_redirect >> - jobs: - - netlify_manual_with_redirects: - name: "Netlify Manual With Redirects" From e03f6f080f9484a5be3f59b2779d598fe4df369c Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 17:15:52 -0400 Subject: [PATCH 10/13] 123 --- .circleci/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7627abe8e9b..b4098497581 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -78,10 +78,8 @@ workflows: wf_netlify_manual: when: << pipeline.parameters.preview >> jobs: - - netlify_manual: - name: "Netlify Manual" + - netlify_manual - netlify_publish: - name: "Netlify Publish" requires: - netlify_manual From 6f16bf113d8275b8f3d4baa6bb37d286363e9c4b Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 17:24:01 -0400 Subject: [PATCH 11/13] 123 --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b4098497581..cd318d30756 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -71,8 +71,8 @@ jobs: at: packages/@okta/vuepress-site/dist - run: command: | - npm install netlify-cli@17.23.5 -g - netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site + npm install --save-dev netlify-cli@24.0.1 + npx netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site workflows: wf_netlify_manual: From cc4fc8c68f7965aec7191c3f1b8a3dc71420098e Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Tue, 10 Mar 2026 17:32:08 -0400 Subject: [PATCH 12/13] 123 --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cd318d30756..b58a9cca173 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,11 +52,11 @@ jobs: - run: name: Build preview command: | - mkdir -p packages/@okta/vuepress-site/dist - pushd packages/@okta/vuepress-site/dist - echo hi>readme.md - popd - # yarn build + # mkdir -p packages/@okta/vuepress-site/dist + # pushd packages/@okta/vuepress-site/dist + # echo hi>readme.md + # popd + yarn build - persist_to_workspace: root: packages/@okta/vuepress-site/dist paths: @@ -72,7 +72,7 @@ jobs: - run: command: | npm install --save-dev netlify-cli@24.0.1 - npx netlify deploy --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site + npx netlify deploy --no-build --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site workflows: wf_netlify_manual: From 4cc385eedde025cbdcefe99333790e0548ade1ed Mon Sep 17 00:00:00 2001 From: Eugene Mikhasyak Date: Wed, 11 Mar 2026 09:29:38 -0400 Subject: [PATCH 13/13] 123 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b58a9cca173..d8e70df5ab8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -72,7 +72,7 @@ jobs: - run: command: | npm install --save-dev netlify-cli@24.0.1 - npx netlify deploy --no-build --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site + npx netlify deploy --no-build --alias=preview-${CIRCLE_PULL_REQUEST##*/} --filter @okta/vuepress-site --dir=packages/@okta/vuepress-site/dist workflows: wf_netlify_manual: