From d8ede691f095aa7dc27f90692a067555584bd33e Mon Sep 17 00:00:00 2001 From: david-leifker <114954101+david-leifker@users.noreply.github.com> Date: Tue, 15 Oct 2024 09:34:30 -0500 Subject: [PATCH 1/2] fix(ci): ensure py 3.10 (#11626) --- .github/workflows/docker-unified.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-unified.yml b/.github/workflows/docker-unified.yml index ef5770ccb167a..a1ae7cee1736f 100644 --- a/.github/workflows/docker-unified.yml +++ b/.github/workflows/docker-unified.yml @@ -760,14 +760,18 @@ jobs: needs: [setup, datahub_ingestion_base_slim_build] if: ${{ needs.setup.outputs.ingestion_change == 'true' || needs.setup.outputs.publish == 'true' || needs.setup.outputs.pr-publish == 'true' }} steps: + - name: Check out the repo + uses: acryldata/sane-checkout-action@v3 + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + cache: "pip" - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: "zulu" java-version: 17 - uses: gradle/actions/setup-gradle@v3 - - name: Check out the repo - uses: acryldata/sane-checkout-action@v3 - name: Build codegen if: ${{ needs.setup.outputs.ingestion_change == 'true' || needs.setup.outputs.publish == 'true' || needs.setup.outputs.pr-publish =='true' }} run: ./gradlew :metadata-ingestion:codegen @@ -852,14 +856,18 @@ jobs: needs: [setup, datahub_ingestion_base_full_build] if: ${{ needs.setup.outputs.ingestion_change == 'true' || needs.setup.outputs.publish == 'true' || needs.setup.outputs.pr-publish == 'true' }} steps: + - name: Check out the repo + uses: acryldata/sane-checkout-action@v3 + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + cache: "pip" - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: "zulu" java-version: 17 - uses: gradle/actions/setup-gradle@v3 - - name: Check out the repo - uses: acryldata/sane-checkout-action@v3 - name: Build codegen if: ${{ needs.setup.outputs.ingestion_change == 'true' || needs.setup.outputs.publish == 'true' || needs.setup.outputs.pr-publish == 'true' }} run: ./gradlew :metadata-ingestion:codegen @@ -983,16 +991,16 @@ jobs: run: df -h . && docker images - name: Check out the repo uses: acryldata/sane-checkout-action@v3 + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + cache: "pip" - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: "zulu" java-version: 17 - uses: gradle/actions/setup-gradle@v3 - - uses: actions/setup-python@v5 - with: - python-version: "3.10" - cache: "pip" - name: Login to DockerHub uses: docker/login-action@v3 if: ${{ needs.setup.outputs.docker-login == 'true' }} From c834cdb0ab9f63dedbc8b69ccc729f776d160337 Mon Sep 17 00:00:00 2001 From: Jay <159848059+jayacryl@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:55:23 -0400 Subject: [PATCH 2/2] feat(docs-site) brought back announcement banner (#11618) --- docs-website/docusaurus.config.js | 8 ++++++++ docs-website/src/pages/index.js | 2 +- docs-website/src/styles/global.scss | 5 +++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs-website/docusaurus.config.js b/docs-website/docusaurus.config.js index b0cf5bfa35eca..b016f9518ea6c 100644 --- a/docs-website/docusaurus.config.js +++ b/docs-website/docusaurus.config.js @@ -65,6 +65,14 @@ module.exports = { // isCloseable: false, // }, // }), + announcementBar: { + id: "announcement-2", + content: + '
NEW

Join us at Metadata & AI Summit, Oct. 29 & 30!

Register →
', + backgroundColor: "#111", + textColor: "#ffffff", + isCloseable: false, + }, colorMode: { // Only support light mode. defaultMode: 'light', diff --git a/docs-website/src/pages/index.js b/docs-website/src/pages/index.js index 1c36b81a2da95..e1c94780715d3 100644 --- a/docs-website/src/pages/index.js +++ b/docs-website/src/pages/index.js @@ -44,7 +44,7 @@ function Home() { return !siteConfig.customFields.isSaas ? ( {isTourModalVisible ? (
diff --git a/docs-website/src/styles/global.scss b/docs-website/src/styles/global.scss index e256c752b4a0b..96ca07d45d0c2 100644 --- a/docs-website/src/styles/global.scss +++ b/docs-website/src/styles/global.scss @@ -31,7 +31,7 @@ --ifm-navbar-item-padding-horizontal: 1rem; /* Announcement Bar */ - --docusaurus-announcement-bar-height: 60px !important; + --docusaurus-announcement-bar-height: 48px !important; /* Rule */ --ifm-hr-border-width: 1px 0 0 0; @@ -141,8 +141,9 @@ div[class^="announcementBar"] { } a { - color: var(--ifm-button-color); + color: #EFB300; text-decoration: none; + font-size: 1rem } } }