-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from TogetherCrew/feature/ci
feat: basic CI/CD were added
- Loading branch information
Showing
28 changed files
with
258 additions
and
313 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Staging CI/CD Pipeline | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
ci: | ||
uses: TogetherCrew/operations/.github/workflows/ci.yml@main | ||
secrets: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} |
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 |
---|---|---|
|
@@ -55,6 +55,7 @@ coverage.xml | |
.hypothesis/ | ||
.pytest_cache/ | ||
cover/ | ||
coverage | ||
|
||
# Translations | ||
*.mo | ||
|
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,12 @@ | ||
# It's recommended that we use `bullseye` for Python (alpine isn't suitable as it conflcts with numpy) | ||
FROM python:3.10-bullseye AS base | ||
WORKDIR /project | ||
COPY . . | ||
RUN pip3 install -r requirements.txt | ||
|
||
FROM base AS test | ||
RUN chmod +x docker-entrypoint.sh | ||
CMD ["./docker-entrypoint.sh"] | ||
|
||
FROM base AS prod | ||
CMD ["echo", "aiflow dags should be running on airlfow container"] |
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
This file was deleted.
Oops, something went wrong.
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
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,16 +1,17 @@ | ||
from .repos import get_all_org_repos, get_all_repo_contributors | ||
from .commits import get_all_commits, fetch_commit_details, fetch_commit_files | ||
from .issues import get_all_issues, get_all_comments_of_issue | ||
# flake8: noqa | ||
from .comments import get_all_repo_issues_and_prs_comments, get_all_repo_review_comments | ||
from .commits import fetch_commit_details, fetch_commit_files, get_all_commits | ||
from .issues import get_all_comments_of_issue, get_all_issues | ||
from .labels import get_all_repo_labels | ||
from .orgs import fetch_org_details, get_all_org_members | ||
from .pull_requests import ( | ||
get_all_pull_requests, | ||
get_all_commits_of_pull_request, | ||
get_all_comments_of_pull_request, | ||
get_all_review_comments_of_pull_request, | ||
get_all_reactions_of_review_comment, | ||
get_all_commits_of_pull_request, | ||
get_all_pull_request_files, | ||
get_all_pull_requests, | ||
get_all_reactions_of_comment, | ||
get_all_reactions_of_review_comment, | ||
get_all_review_comments_of_pull_request, | ||
get_all_reviews_of_pull_request, | ||
get_all_pull_request_files, | ||
) | ||
from .orgs import fetch_org_details, get_all_org_members | ||
from .labels import get_all_repo_labels | ||
from .comments import get_all_repo_review_comments, get_all_repo_issues_and_prs_comments | ||
from .repos import get_all_org_repos, get_all_repo_contributors |
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
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
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
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
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
Oops, something went wrong.