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

Moving basic CI to github actions #2889

Merged
merged 6 commits into from
Jan 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
29 changes: 29 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Docs Test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
docs-lint:

container: seldonio/core-builder:0.19

steps:
- uses: actions/checkout@v2
- name: docs-lint-step
run: |
make -C doc install-dev linkcheck

docs-build:

container: seldonio/core-builder:0.19

steps:
- uses: actions/checkout@v2
- name: docs-build-step
run: |
make -C doc install-dev html

19 changes: 19 additions & 0 deletions .github/workflows/executor_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Executor Lint

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
executor-lint:

container: seldonio/core-builder:0.19

steps:
- uses: actions/checkout@v2
- name: test-executor
run: |
make -C executor lint

19 changes: 19 additions & 0 deletions .github/workflows/executor_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Executor Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
executor-tests:

container: seldonio/core-builder:0.19

steps:
- uses: actions/checkout@v2
- name: test-executor
run: |
make -C executor test

19 changes: 19 additions & 0 deletions .github/workflows/operator_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Operator Lint

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
operator-lint:

container: seldonio/core-builder:0.19

steps:
- uses: actions/checkout@v2
- name: test-executor
run: |
make -C operator lint

19 changes: 19 additions & 0 deletions .github/workflows/operator_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Operator Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
operator-tests:

container: seldonio/core-builder:0.19

steps:
- uses: actions/checkout@v2
- name: test-operator
run: |
make -C operator test

19 changes: 19 additions & 0 deletions .github/workflows/python_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Python Lint

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
python-lint:

container: seldonio/python-builder:0.2

steps:
- uses: actions/checkout@v2
- name: test-executor
run: |
make -C python install_dev lint

19 changes: 19 additions & 0 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Python Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
python-tests:

container: seldonio/python-builder:0.2

steps:
- uses: actions/checkout@v2
- name: test-python
run: |
make -C python update_package install_dev test

21 changes: 0 additions & 21 deletions .github/workflows/rebase.yml

This file was deleted.

32 changes: 0 additions & 32 deletions jenkins-x-docs.yml

This file was deleted.

44 changes: 0 additions & 44 deletions jenkins-x-lint.yml

This file was deleted.

38 changes: 0 additions & 38 deletions jenkins-x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,6 @@ pipelineConfig:
stage: promote
step:
command: echo "skipping promote"
pullRequest:
pipeline:
agent:
image: seldonio/core-builder:0.19
stages:
- name: pr-build-comment
steps:
- agent:
image: gcr.io/jenkinsxio/builder-go:2.0.916-264
dir: ci
sh: "./add-pr-build-comment"
- name: build-and-test
parallel:
- name: test-python
agent:
image: seldonio/python-builder:0.2
steps:
- name: test-python
command: make
args:
- -C python
- update_package
- install_dev
- test
- name: seldon-operator
steps:
- name: test-operator
command: make
args:
- -C operator
- test
- name: seldon-executor
steps:
- name: test-executor
command: make
args:
- -C executor
- test
release:
setVersion:
steps:
Expand Down