Manual Repository
Ascend Projects require a Git repository to store your code. Choose one of the following options to set up your repository and connect it to your Ascend Instance.
Set up a Git repository
- Ascend-managed Repository
- Sample Project repository
- Existing repository
Refer to this guide to use an Ascend-managed Repository.
1. Create a new repository on GitHub
- Navigate to GitHub's New Repository page
- Set Owner to your personal GitHub account or organization
tip
If you have permissions to your company's GitHub Organization, create the repository there. Otherwise, create it under your personal account.
- Set Repository name to
ascend-quickstart-bigquery
(or your preferred name) - Set Description to
Ascend Quickstart BigQuery
- Set visibility to Private
- Click Create repository
2. Clone the Ascend Community Repository and push it to your new repository
# Set the variables
GITHUB_ORG="<your-github-org>" # Use your GitHub username or organization name
GITHUB_REPO="ascend-quickstart-bigquery"
# Clone the Ascend Community Repository
git clone git@github.com:ascend-io/ascend-community.git ${GITHUB_REPO}
cd ${GITHUB_REPO}
# Set the remote URL to your new repository
git remote set-url origin git@github.com:${GITHUB_ORG}/${GITHUB_REPO}.git
# Push the code to your new repository
git push -u origin main
If you encounter this error: git@github.com: Permission denied (publickey)
, follow the SSH steps outlined below before creating your repository.
For more detailed setup instructions for using Otto's Expeditions on your preferred GitHub provider, refer to our how-to guides for GitHub, GitLab, and Bitbucket.
Ensure your repository follows the Ascend Project structure. Your repository should include:
Required:
ascend_project.yaml
andpyproject.toml
configuration files (empty placeholders are acceptable initially)profiles
folder with template Profiles for Parameter managementconnections
folder for data source configurationsflows
folder containing your data Flows, each withcomponents
andtests
subfolders
Optional (add as needed):
src
andtemplates
folders for Applicationsautomations
folder for Automationsdata
folder for local files
Store all secrets securely in your Ascend Vault, not in your repository.
Your repository file structure should look like this:
├── ascend_project.yaml
├── pyproject.toml