Skip to content

Commit

Permalink
Merge branch 'develop' into test/josh/auto-deploy-netlify-draft
Browse files Browse the repository at this point in the history
Former-commit-id: 3f655d4
  • Loading branch information
josh-heyer authored Aug 9, 2021
2 parents 62791d2 + ba10a77 commit 0a73e72
Show file tree
Hide file tree
Showing 6,565 changed files with 78,043 additions and 32,620 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 16 additions & 3 deletions .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ jobs:
steps:
- name: Cleanup disk
uses: curoky/[email protected]
with:
retain: "python,node"

- uses: actions/checkout@v2
with:
ref: develop
fetch-depth: 0 # fetch whole repo so git-restore-mtime can work
- name: Adjust file watchers limit
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: "14.x"
- name: Install yarn
Expand All @@ -28,6 +27,20 @@ jobs:
env:
NODE_ENV: ${{ secrets.NODE_ENV }}

- uses: actions/setup-python@v2
with:
python-version: "3.x"
- uses: r-lib/actions/setup-pandoc@v1
with:
pandoc-version: "2.14.1"
- name: Install wkhtmltopdf
run: |
curl -L https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb > wkhtmltopdf.deb
sudo apt-get install ./wkhtmltopdf.deb
- name: Build all pdfs
run: npm run build-all-pdfs-ci

- name: Checking Gatsby cache
id: gatsby-cache-build
uses: actions/cache@v2
Expand Down
20 changes: 17 additions & 3 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ jobs:
steps:
- name: Cleanup disk
uses: curoky/[email protected]
with:
retain: "python,node"

- uses: actions/checkout@v2
with:
ref: main
fetch-depth: 0 # fetch whole repo so git-restore-mtime can work
- name: Adjust file watchers limit
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: "14.x"
- name: Install yarn
Expand All @@ -28,6 +27,21 @@ jobs:
env:
NODE_ENV: ${{ secrets.NODE_ENV }}

- uses: actions/setup-python@v2
with:
python-version: "3.x"
- uses: r-lib/actions/setup-pandoc@v1
with:
pandoc-version: "2.14.1"
- name: Install wkhtmltopdf
run: |
curl -L https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb > wkhtmltopdf.deb
sudo apt-get install ./wkhtmltopdf.deb
- name: Build all pdfs
run: npm run build-all-pdfs-ci


- name: Checking Gatsby cache
id: gatsby-cache-build
uses: actions/cache@v2
Expand Down
55 changes: 0 additions & 55 deletions .github/workflows/update-pdfs-on-develop.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ yarn-error.log
__pycache__

# Project specific
.project
advocacy_docs/kubernetes/cloud_native_postgresql/*.md.in
dev-sources.json
product_docs/content/
product_docs/content_build/
static/nginx_redirects.generated
temp_kubernetes/
advocacy_docs/kubernetes/cloud_native_postgresql/*.md.in
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

This repo contains the React/Gatsby application that powers [the EDB Docs website](https://www.enterprisedb.com/docs/). The site pulls [Markdown](https://www.markdownguide.org/) content from several repos in a process called "sourcing", and then renders it all into high-performance markup. You can install the application on your local computer for easy editing, viewing, and eventually publishing to the GitHub repo.

## Please remove and re-clone your local repositories after August 13, 2021

We've been checking PDF files into Git. That's not a good plan, so [we've stopped doing that](https://github.com/EnterpriseDB/docs/issues/1632). The next step is to remove these files from Git history and [move other large files to LFS](https://docs.github.com/en/github/managing-large-files/versioning-large-files/moving-a-file-in-your-repository-to-git-large-file-storage). Among many other good things, that ought to reduce the time to clone this repository substantially.

But it comes at a cost. If there are any local repositories that were cloned before the change, we risk introducing dirty history back into the repository. So we're asking that everyone who has a local repository they **cloned before (or on) August 13, 2021** to delete those repositories. Unfortunately, we'll need to reject any pull requests that introduce PDF files back into Git history. (If you need any help with this, please contact [email protected].)

## MacOS Installation

We recommend using MacOS to work with the EDB Docs application.
Expand Down
Loading

0 comments on commit 0a73e72

Please sign in to comment.