-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fa92e3
commit c0b29f8
Showing
8 changed files
with
181 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +0,0 @@ | ||
FROM stackql/stackql:latest AS stackql | ||
FROM mcr.microsoft.com/devcontainers/universal:2 | ||
COPY --from=stackql /srv/stackql/stackql /usr/local/bin/stackql | ||
# set up matplotlib temp dir | ||
RUN mkdir -p /tmp/matplotlib | ||
RUN chmod 777 /tmp/matplotlib | ||
ENV MPLCONFIGDIR=/tmp/matplotlib | ||
ENV PYDEVD_DISABLE_FILE_VALIDATION=1 | ||
ENV PYTHON_PACKAGES="\ | ||
pystackql \ | ||
matplotlib \ | ||
pandas \ | ||
mplfinance \ | ||
psycopg2-binary \ | ||
nest_asyncio \ | ||
plotly \ | ||
ipytree \ | ||
nbformat \ | ||
networkx \ | ||
" | ||
RUN pip install --upgrade pip \ | ||
&& pip install --no-cache-dir $PYTHON_PACKAGES | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '[BUG]' | ||
labels: 'bug' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[FEATURE]" | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Feature Description** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Example(s)** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Possible Approaches or Libraries to Consider** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: Question | ||
about: Pose a question to the StackQL team | ||
title: "[QUESTION]" | ||
labels: question | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
||
## Question | ||
|
||
This channel is an opportunity to ask ad-hoc questions to the `stackql` team. This channel is in lieu of an official platform for ongoing discussions and questions. Please ask your question :) | ||
|
||
**Note**: Questions over github issues will be deprecated and retired once we settle on a platform / process ongoing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build and Publish | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
|
||
jobs: | ||
build-and-push-docker-image: | ||
name: Build Docker image and push to repositories | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build image and push to Docker Hub and GitHub Container Registry | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
tags: | | ||
stackql/stackql-codespaces-base:latest | ||
stackql/stackql-codespaces-base:${{github.sha}} | ||
# build on feature branches, push only on main branch | ||
push: ${{ github.ref == 'refs/heads/main' }} | ||
|
||
- name: Image digest | ||
run: echo ${{ steps.docker_build.outputs.digest }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# dev container image for GitHub Codespaces | ||
FROM stackql/stackql:latest AS stackql | ||
FROM mcr.microsoft.com/devcontainers/universal:2 | ||
COPY --from=stackql /srv/stackql/stackql /usr/local/bin/stackql | ||
# set up matplotlib temp dir | ||
RUN mkdir -p /tmp/matplotlib | ||
RUN chmod 777 /tmp/matplotlib | ||
ENV MPLCONFIGDIR=/tmp/matplotlib | ||
ENV PYDEVD_DISABLE_FILE_VALIDATION=1 | ||
ENV PYTHON_PACKAGES="\ | ||
pystackql \ | ||
matplotlib \ | ||
pandas \ | ||
mplfinance \ | ||
psycopg2-binary \ | ||
nest_asyncio \ | ||
plotly \ | ||
ipytree \ | ||
nbformat \ | ||
networkx \ | ||
" | ||
RUN pip install --upgrade pip \ | ||
&& pip install --no-cache-dir $PYTHON_PACKAGES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[![StackQL](https://stackql.io/img/stackql-logo-bold.png)](https://stackql.io/) | ||
<br /> | ||
[![GitHub Actions](https://github.com/stackql/stackql-codespaces-notebook/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/stackql/stackql-codespaces-notebook/actions/workflows/main.yml) | ||
![License](https://img.shields.io/github/license/stackql/stackql) | ||
|
||
# stackql-codespaces-notebook | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters