Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphql #1589

Merged
merged 58 commits into from
Aug 11, 2022
Merged

Graphql #1589

Show file tree
Hide file tree
Changes from 54 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
6963524
first integration
maty21 Sep 2, 2021
c6ac39e
first integration with mongo
maty21 Sep 2, 2021
f0acd88
refactoring
maty21 Sep 3, 2021
86db7c2
fix issues
maty21 Sep 4, 2021
1fc4ee1
fix
maty21 Sep 5, 2021
1ab9962
add discovery
maty21 Sep 11, 2021
8fa86b8
fix graph
maty21 Dec 29, 2021
7e17f45
fix graph
maty21 Jan 23, 2022
b702f60
add logs and fix issues
maty21 Jan 26, 2022
02326be
merge
maty21 Apr 26, 2022
88b0424
fix dependencies
maty21 Apr 28, 2022
1676749
Merge branch 'master' into graphql
maty21 May 8, 2022
aac1eb2
update version
maty21 May 8, 2022
f41ffe4
add introspection to config
maty21 May 11, 2022
27b7335
add to config
maty21 May 11, 2022
3fb0de1
Merge branch 'master' into graphql
maty21 May 11, 2022
c8c9ded
Merge branch 'master' into graphql
maty21 May 11, 2022
79690d5
fix config
maty21 May 11, 2022
33dfbfe
Merge branch 'graphql' of https://github.com/kube-HPC/hkube into graphql
maty21 May 11, 2022
c1b6922
fix introspection
maty21 May 12, 2022
f350846
add graphql implementation to preffered
maty21 May 15, 2022
12f8451
add graphql implementation to preffered
maty21 May 15, 2022
089a2bb
fix issue with pipelines
maty21 May 18, 2022
c0d2334
add states to schema
maty21 May 19, 2022
726d67b
fix issue with cpu change to float
maty21 May 19, 2022
df0d50f
merge
maty21 May 25, 2022
a215cc1
graphql:fix pipeline issue + fix build statuses
maty21 May 26, 2022
32e441a
fix prefered to float
maty21 May 26, 2022
40872f1
add dataSurces to graphql api
maty21 May 29, 2022
0b4d7e4
fix worker data adapter to an older version 1.0.20
maty21 May 29, 2022
2e4a882
+ add data to pipelined driver schema
maty21 May 29, 2022
20c581c
fix logging with cri
yehiyam May 30, 2022
712e5b9
fix ci
maty21 Jun 13, 2022
6be1540
revert to node 14
maty21 Jun 13, 2022
f527a09
add files for ci
maty21 Jun 13, 2022
5fb33c5
fix action
maty21 Jun 13, 2022
7669bf7
add data source api to graphql
maty21 Jun 15, 2022
c377027
fix datasource api
maty21 Jun 20, 2022
8aadb75
add node statistics to graphql api
maty21 Jun 20, 2022
7465b03
disk usage
maty21 Jun 20, 2022
8ed268c
fix disk space
maty21 Jun 20, 2022
24c0de6
fix disk space schema
maty21 Jun 20, 2022
83f2757
add errorlogs to graphql api
maty21 Jun 21, 2022
918631e
upgrade db version to 2.x
maty21 Jun 27, 2022
fe185d8
add api for counts
maty21 Jun 28, 2022
95115e7
fix algorithm count and add datasource count
maty21 Jul 10, 2022
d9c455a
add experiments
maty21 Jul 10, 2022
8f2b7de
fix dataSource count
maty21 Jul 10, 2022
fcc7613
add tests for graphql
maty21 Jul 12, 2022
b59a022
Merge branch 'graphql' of github.com:kube-HPC/hkube into graphql
maty21 Jul 12, 2022
a022596
add tests for graphql
maty21 Jul 12, 2022
621113c
add tests for graphql
maty21 Jul 12, 2022
47951dc
remove index.html
maty21 Aug 3, 2022
7da5c03
Merge branch 'graphql' of https://github.com/kube-HPC/hkube into graphql
maty21 Aug 3, 2022
808ae79
after review
maty21 Aug 9, 2022
e9c40b6
after merge from master
maty21 Aug 9, 2022
a74e75d
Merge branch 'graphql' of github.com:kube-HPC/hkube into graphql
maty21 Aug 9, 2022
6b0731c
after merge from master
maty21 Aug 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 58 additions & 38 deletions .github/workflows/createDeployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: check for deployment command
uses: khan/pull-request-comment-trigger@master
with:
trigger: '/deploy'
trigger: "/deploy"
reaction: rocket
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Expand All @@ -22,40 +22,60 @@ jobs:
needs: deploy-check
if: needs.deploy-check.outputs.triggered == 'true'
steps:
- name: get pull request ref
id: get_pull_request_ref
uses: octokit/request-action@v2.x
with:
route: GET /repos/:repository/pulls/:issue_id
repository: ${{ github.repository }}
issue_id: ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: create deployment
id: create_deployment
uses: octokit/request-action@v2.x
with:
route: POST /repos/:repository/deployments
repository: ${{ github.repository }}
ref: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.ref }}
environment: dev
auto_merge: false
required_contexts: '[]'
payload: |
prNumber: ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: "${{ secrets.GH_TOKEN }}"
- name: write failed comment on failure
id: failed_deployment
uses: octokit/request-action@v2.x
if: failure()
with:
route: PATCH /repos/:repository/issues/comments/:comment_id
repository: ${{ github.repository }}
comment_id: ${{ github.event.comment.id }}
body: 'Failed to create deployment'
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"



- name: get pull request ref
id: get_pull_request_ref
uses: octokit/request-action@v2.x
with:
route: GET /repos/:repository/pulls/:issue_id
repository: ${{ github.repository }}
issue_id: ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: get environment
run: |
commit=$COMMENT_BODY
echo "commit message is: $commit"
environment=dev1
case "$commit" in
*dev1*)
environment=dev1
;;
*test*)
environment=test
;;
*cicd*)
environment=cicd
;;
**)
echo "unknown environment. defaulting to dev1"
environment=dev1
esac
echo environment=$environment
echo DEPLOY_ENVIRONMENT=$environment >> $GITHUB_ENV
env:
COMMENT_BODY: ${{ github.event.comment.body }}
- name: create deployment
id: create_deployment
uses: octokit/request-action@v2.x
with:
route: POST /repos/:repository/deployments
repository: ${{ github.repository }}
ref: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.ref }}
environment: ${{ env.DEPLOY_ENVIRONMENT }}
auto_merge: false
required_contexts: "[]"
payload: |
prNumber: ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: "${{ secrets.GH_TOKEN }}"
- name: write failed comment on failure
id: failed_deployment
uses: octokit/request-action@v2.x
if: failure()
with:
route: PATCH /repos/:repository/issues/comments/:comment_id
repository: ${{ github.repository }}
comment_id: ${{ github.event.comment.id }}
body: "Failed to create deployment"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Loading