Bitbucket
Prerequisites​
To complete this guide, ensure you have:
- A Bitbucket account
- A terminal with:
Set up variables​
Define your Bitbucket workspace and repository:
tip
Find your workspace slug in the Bitbucket URL: https://bitbucket.org/<workspace>/
. It's usually your username or organization name.
BITBUCKET_WORKSPACE=""
BITBUCKET_REPOSITORY="ascend-community"
Select your Ascend data plane:
- BigQuery
- Databricks
- Snowflake
DATA_PLANE="bigquery"
DATA_PLANE="databricks"
DATA_PLANE="snowflake"
tip
Otto's Expeditions supports multiple data planes. You can explore the demo using separate Projects for each or a single Project with multiple data planes. This guide focuses on a single data plane setup.
Copy Ascend Community code to your repository​
- Create a New Repository (Recommended)
- Use an Existing Repository
Clone the public ascend-io/ascend-community
GitHub repository:
git clone https://github.com/ascend-io/ascend-community.git $BITBUCKET_REPOSITORY
Navigate to the repository directory:
cd $BITBUCKET_REPOSITORY
Remove the existing .git
directory:
rm -rf .git
Initialize a new Git repository:
git init
Create a commit:
git checkout -b main
git add .
git commit -m "copy code from ascend-io/ascend-community"
Create a new private repository in Bitbucket:​
- Go to Bitbucket, click Create, and select Repository.
- Set the repository name to
ascend-community
(to match$BITBUCKET_REPOSITORY
). - Select No for both
Include a README?
andInclude .gitignore
, as these will be added later. - Ensure Private repository is selected. Use
main
for the default branch. - Click Create repository.