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

Add asf-staged for deployment preview #189

Merged
merged 2 commits into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ github:
rebase: true
protected_branches:
asf-site: {}
asf-staging: {}
main:
required_status_checks:
# strict means "Require branches to be up to date before merging".
Expand Down
28 changes: 23 additions & 5 deletions .github/workflows/publish-cloudberry-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,29 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm run build
- run: cp .asf.yaml build/.asf.yaml
- uses: peaceiris/actions-gh-pages@v3
if: github.event_name != 'pull_request'

# Install dependencies and build site
- name: Install dependencies
run: npm install
- name: Build site
run: npm run build
- name: Copy ASF config
run: cp .asf.yaml build/.asf.yaml

# Deploy to asf-staging for PR preview
# You can view the staging site at https://cloudberry.staged.apache.org
- name: Deploy to staging
if: github.event_name == 'pull_request'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_branch: asf-staging

# Deploy to asf-site for production
- name: Deploy to production
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
Expand Down
2 changes: 1 addition & 1 deletion docs/security/client-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Configure Client Authentication

# Configure Client Authentication

This topic explains how to configure client connections and authentication for Cloudberry Database.
This topic explains how to configure client connections and authentication for Apache Cloudberry.

When a Cloudberry Database system is first initialized, the system contains one predefined *superuser* role. This role will have the same name as the operating system user who initialized the Cloudberry Database system. This role is referred to as `gpadmin`. By default, the system is configured to only allow local connections to the database from the `gpadmin` role. If you want to allow any other roles to connect, or if you want to allow connections from remote hosts, you have to configure Cloudberry Database to allow such connections. This section explains how to configure client connections and authentication to Cloudberry Database.

Expand Down
Loading