Contents
- Contents
- Connect
- Explore & Combine
- Sync file contents to the datawarehouse
- Writeback (Python scripts)
- Peliqan CI/CD using Github
Connect
In peliqan, go to Connections, click on Add new. Find Github in the list and select it. Click on the Connect button. This will open Github and allow you to authorize access for Peliqan. Once that is done, you will return to Peliqan.Explore & Combine
Explore your Github tables in the Peliqan “Explore” section, including files, commits, PRs and issues.Sync file contents to the datawarehouse
Use below custom pipeline script to sync the file contents of all files in your Github repo to the Peliqan data warehouse.Click to expand script
Click to expand script
Writeback (Python scripts)
Below are examples of how to read and write from and to Github from Peliqan Python scripts (data apps).Write file to Github (commit)
Here’s an example to commit files to Github from a script in Peliqan:Note that in order to update an existing file, you need the SHA. Use file_get() to retrieve the SHA of the file first, and include it when updating the file.
