Skip to content

Commit

Permalink
support argo 2.10.2 API, ready for release (argoproj-labs#9)
Browse files Browse the repository at this point in the history
* new: usr: Generated models for Argo v2.5.0 release

Signed-off-by: Marek Cermak <[email protected]>

* 🎉 Release 3.0

Signed-off-by: Marek Cermak <[email protected]>

* new: doc: Updated README compatibility matrix

Signed-off-by: Marek Cermak <[email protected]>

modified:   README.md

* 🔧 Patch 3.0.1

Signed-off-by: Marek Cermak <[email protected]>

* new: dev: Do not ignore release commits in CLOG !minor

Signed-off-by: Marek Cermak <[email protected]>

modified:   .gitchangelog.rc

* 🔧 Patch 3.0.2

Signed-off-by: Marek Cermak <[email protected]>

* chg: dev: Add __version__ to the client package

Signed-off-by: Marek Cermak <[email protected]>

modified:   .swagger-codegen/VERSION
modified:   argo/workflows/client/__init__.py
modified:   argo/workflows/client/configuration.py
modified:   scripts/generate_client.sh

* 🔧 Patch 3.0.3

Signed-off-by: Marek Cermak <[email protected]>

* chg: dev: Use Kubernetes>=10.0 for pyyaml security

Signed-off-by: Marek Cermak <[email protected]>

modified:   Pipfile

* 🔧 Patch 3.1.0

Signed-off-by: Marek Cermak <[email protected]>

* fix: dev: Fixed Kubernetes version in requirements.txt

Signed-off-by: Marek Cermak <[email protected]>

modified:   requirements.txt

* 🔧 Patch 3.1.1

Signed-off-by: Marek Cermak <[email protected]>

* chg: dev: Use openapi generator

Signed-off-by: Marek Cermak <[email protected]>

modified:   Makefile
modified:   scripts/generate_client.sh
modified:   .gitignore
new file:   .openapi-generator-ignore
new file:   .openapi-generator/VERSION

* new: dev: Re-generate client with openapi

Signed-off-by: Marek Cermak <[email protected]>

* fix: dev: Added exceptions module

Signed-off-by: Marek Cermak <[email protected]>

new file:   argo/workflows/client/exceptions.py

* 🔧 Patch 3.2.0

Signed-off-by: Marek Cermak <[email protected]>

* Changes for latest argo version (2.8.1)

* 🎉 Release 3.4

Signed-off-by: Floris Van den Abeele <[email protected]>

* Bump argo version to v2.10.0

* Add output of `make client`

* Output of `make changelog`

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] disable validate temporarily

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] add builder image

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] generate client for argo 2.10.0

Signed-off-by: Yudi Xue <[email protected]>

* [argo-v2.10.0] fix croncronworkflow in custom/paths.json

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] fix io.argoproj.cronworkflow path

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] generate client for 2.10.1

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] fix archivedworkflow paths

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] pin openapi-generator to v4.3.1

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] generate argo client for v2.10.1

- re-generate with fixed archived workflow path

Signed-off-by: Yudi Xue <[email protected]>

* Bump kubernetes python client dependency to 12.0.0b1 (argoproj-labs#5)

* [argo-2.10.0] Collapse additional paths

- collapse 'cronio.argoproj.workflow'
- collapse 'io.k8s.api.core'
- collapse 'io.k8s.apimachinery.pkg.apis.meta'

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] Re-generate client with updated paths

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] Setup pytest for integ test

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] update generate_client.sh

- disable using kubernetes models for now
- hack: make V1Container default name to '' instead of None

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] update kubernetes client version

- move to kubernetes release-1.16 api, which is used by kubernetes 12.0.0 python
client

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] regenerate client and update test

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] add code formatter tool

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] add more tests

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] add github action workflow

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] fix github action workflow

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] add special manifest and update CI workflow

Signed-off-by: Yudi Xue <[email protected]>

* Added note on manifest changes (argoproj-labs#7)

* [argo-2.10.0] add isort config

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] add integ tests for artifact and dag examples

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] Add more integ tests

- tests for exit handling
- tests for global scopes
- tests for inputs
- tests for loops

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] Add ARGO_VERSION and point to 2.10.2

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] generate client for 2.10.2 and update tests

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] update integ tests to argo 2.10.2

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] add more tests; update test structure

Signed-off-by: Yudi Xue <[email protected]>

* Add Couler to README.md (argoproj-labs#8)

* [argo-2.10.0] add additional integ tests

- more tests for submitting k8s workflow w/ yaml
- more tests for submitting parallelism workflow w/ yaml
- more tests for submitting workflow templates w/ yaml

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] add more tests, fixes argoproj-labs#6

- add pod spec from yaml tests
- add retry workflow from yaml tests

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] update for 3.5.0 release

- API ready for argo v2.10.2 release

Signed-off-by: Yudi Xue <[email protected]>

* [argo-2.10.0] add build status

Signed-off-by: Yudi Xue <[email protected]>

Co-authored-by: Marek Cermak <[email protected]>
Co-authored-by: Floris Van den Abeele <[email protected]>
Co-authored-by: Yuan Tang <[email protected]>
  • Loading branch information
4 people authored Sep 15, 2020
1 parent 4264e06 commit e2bd6e3
Show file tree
Hide file tree
Showing 434 changed files with 297,961 additions and 4,390 deletions.
1 change: 0 additions & 1 deletion .gitchangelog.rc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ ignore_regexps = [
r'^([cC]hg|[fF]ix|[nN]ew)\s*:\s*[p|P]kg:',
r'^(.{3,3}\s*:)?\s*([fF]irst|[Ii]nitial) commit.?\s*$',
r'^Merge', ## ignore merge commits
r'[Rr]elease', ## ignore release commits
r'^$', ## ignore commits with empty messages
]

Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
[push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-test.txt
- uses: opsgang/[email protected]
with:
minikube-version: 1.11.0
k8s-version: 1.18.3
- name: Integration tests
run: |
minikube config set vm-driver docker
minikube config set kubernetes-version 1.18.3
minikube start
minikube update-context
kubectl cluster-info
kubectl get pods -n kube-system
kubectl create ns argo
kubectl apply -n argo -f manifests/quick-start-argo-v2.10.2.yaml
sleep 10 # wait for argo to be ready
pytest
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ coverage.xml
*,cover
.hypothesis/
venv/
.venv/
.python-version
.pytest_cache

# Translations
*.mo
Expand All @@ -62,3 +64,7 @@ target/

#Ipython Notebook
.ipynb_checkpoints

.gitlab-ci.yml
.openapi-generator/FILES
.travis.yml
5 changes: 5 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[settings]
multi_line_output=3
line_length=79
known_third_party=kubernetes,pyaml,setuptools,yaml
include_trailing_comma=True
File renamed without changes.
1 change: 1 addition & 0 deletions .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.3.1
1 change: 0 additions & 1 deletion .swagger-codegen/VERSION

This file was deleted.

1 change: 1 addition & 0 deletions ARGO_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.10.2
Loading

0 comments on commit e2bd6e3

Please sign in to comment.