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

Bump urllib3 from 2.2.1 to 2.2.2 in /python/artexplainer #378

Open
wants to merge 102 commits into
base: master-bad
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
5fe58b6
Update issue templates
taneem-ibrahim Jun 19, 2023
4e7f0df
add storage-initializer uid handling for OpenShift with istio-cni (#18)
ReToCode Jul 12, 2023
9d58b32
* OpenShift patches to Kustomize manifests
israel-hdez Jul 6, 2023
6e2f13c
Adapt GH-workflows to correctly push to ODH container repositories
israel-hdez Jul 13, 2023
48ac5cb
Merge pull request #28 from israel-hdez/fix-actions-image-push
israel-hdez Jul 14, 2023
caea0d6
Fix Kustomize manifests for OpenShift
israel-hdez Jul 24, 2023
70117d1
Update OWNERS files
israel-hdez Jul 25, 2023
63ef87f
Merge pull request #38 from israel-hdez/update-owners
israel-hdez Jul 25, 2023
ecff079
Onboarding on openshift-ci
israel-hdez Jul 25, 2023
23c823c
Merge pull request #39 from israel-hdez/os-ci-onboarding
israel-hdez Aug 1, 2023
50d33ed
Add ODH overlay
israel-hdez Jul 21, 2023
41e4a4f
Merge branch 'kserve_master' into odh_master
vaibhavjainwiz Aug 25, 2023
833f509
Merge pull request #70 from vaibhavjainwiz/master
openshift-merge-robot Sep 4, 2023
db676db
Merge branch 'kserve-master' into odh-master
israel-hdez Sep 12, 2023
ebfe75c
Adapt kserve/kserve#3031 for ODH and OpenShift
israel-hdez Sep 12, 2023
5e9ee84
Adapt kserve/kserve#3039 for openshift-ci
israel-hdez Sep 19, 2023
b6eac44
Merge pull request #83 from israel-hdez/upstream-master-sync
openshift-merge-robot Sep 20, 2023
17fb6b9
automate addition of new isues into ODH board
heyselbi Oct 4, 2023
799e121
Merge pull request #97 from heyselbi/git-action
openshift-ci[bot] Oct 4, 2023
56d1f13
Merge commit '52b8804' into o-upsync-v0111
israel-hdez Oct 17, 2023
8ecdb2d
Merge pull request #108 from israel-hdez/o-upsync-v0111
openshift-ci[bot] Oct 19, 2023
165f73c
[RHODS-12555] - CVE-2023-44487
spolti Oct 19, 2023
595cc56
add spoltin in the OWNERS file
spolti Oct 20, 2023
caa980e
Preparation for odh-opeartor v2
israel-hdez Oct 13, 2023
1b12161
Merge pull request #110 from spolti/addOwner
openshift-ci[bot] Oct 20, 2023
560884f
Merge pull request #109 from spolti/RHODS-12555
openshift-ci[bot] Oct 21, 2023
ba610a3
[RHODS-12555] - CVE-2023-44487 - qpext
spolti Oct 23, 2023
1949163
Merge pull request #114 from spolti/RHODS-12555-qpext
openshift-ci[bot] Oct 23, 2023
5b01a90
Merge pull request #111 from israel-hdez/manifest-opv2-master
openshift-ci[bot] Oct 23, 2023
b7eb6d0
Enable Istio Virtual Host
israel-hdez Oct 24, 2023
4378291
Merge pull request #115 from israel-hdez/enable-istio-vh
openshift-ci[bot] Oct 26, 2023
de91172
remove webhook from inferenceservice crd
VedantMahabaleshwarkar Nov 8, 2023
6bb6f80
Merge pull request #120 from VedantMahabaleshwarkar/test
openshift-merge-bot[bot] Nov 9, 2023
f6c6107
increase kserve controller limit resources(cpu/memory)
Jooho Nov 15, 2023
7a11f92
Merge pull request #125 from Jooho/cpu_resource
openshift-merge-bot[bot] Nov 15, 2023
bb3615b
Merge branch 'kserve/master' into odh/master
israel-hdez Nov 23, 2023
694bf54
Fix OpenShift-CI: renaming of overlays/test/runtimes
israel-hdez Nov 24, 2023
c4e53a0
Merge pull request #133 from israel-hdez/odh-kserve-sync
openshift-merge-bot[bot] Nov 24, 2023
db2e128
Merge pull request #136 from kserve/master
openshift-merge-bot[bot] Nov 27, 2023
0f92f64
Merge pull request #142 from kserve/master
openshift-merge-bot[bot] Dec 5, 2023
204e899
Use ThirdParty tokens for CI, for compatibility with ROSA-Hosted clus…
israel-hdez Dec 13, 2023
7146558
Merge pull request #146 from israel-hdez/ci-rosa-fix
openshift-merge-bot[bot] Dec 13, 2023
b489d2c
Bump golang.org/x/crypto in /docs/samples/graph/bgtest/bgtest
dependabot[bot] Dec 18, 2023
f5fdcf4
Revert and re-adapt test/e2e/common/utils.py
israel-hdez Dec 13, 2023
4825c74
Merge pull request #147 from israel-hdez/50-revert-e2e-utils-temp-fix
openshift-merge-bot[bot] Dec 26, 2023
2be3afd
Merge branch 'community-master' into odh-master
spolti Jan 3, 2024
12efb91
fix securityContext on storage_initializer tests
spolti Jan 4, 2024
2d53808
Merge pull request #159 from spolti/sync
openshift-merge-bot[bot] Jan 4, 2024
8cf7c6c
Merge pull request #162 from kserve/master
spolti Jan 15, 2024
1adca3d
Merge pull request #149 from opendatahub-io/dependabot/go_modules/doc…
openshift-merge-bot[bot] Jan 24, 2024
bff84d3
Revert "automate addition of new isues into ODH board"
israel-hdez Jan 26, 2024
5151714
Revert "add storage-initializer uid handling for OpenShift with istio…
israel-hdez Jan 26, 2024
3810543
Merge branch 'kserve-master' into reverts-and-sync
israel-hdez Jan 26, 2024
f462609
Merge pull request #179 from israel-hdez/reverts-and-sync
openshift-merge-bot[bot] Jan 29, 2024
63778d4
Update OWNERS
heyselbi Feb 7, 2024
8f71d3b
Merge pull request #204 from heyselbi/odh-master
openshift-merge-bot[bot] Feb 8, 2024
2665ac5
Merge branch 'kserve-master' into kserve-20240215-code-sync
israel-hdez Feb 15, 2024
c6bf7da
Merge pull request #206 from israel-hdez/kserve-20240215-code-sync
openshift-merge-bot[bot] Feb 15, 2024
926a43c
Merge pull request #219 from kserve/master
openshift-merge-bot[bot] Feb 22, 2024
fbb6a13
set disableIngressCreation to true in odh overlay
VedantMahabaleshwarkar Feb 27, 2024
919dc13
Merge pull request #251 from VedantMahabaleshwarkar/disableingress
openshift-merge-bot[bot] Feb 27, 2024
6eebd6e
add .tekton to gitignore to avoid conflict due to Konflux
Jooho Feb 28, 2024
75256d3
Merge pull request #254 from Jooho/update_gitignore
Jooho Feb 28, 2024
d779e7e
[RHOAIENG-3551] - fastapi - Regular Expression Denial of Service (ReDoS)
spolti Feb 29, 2024
fcc28b1
fix syntax error in inferenceservice-config patch
VedantMahabaleshwarkar Feb 29, 2024
3a781f5
Merge pull request #257 from VedantMahabaleshwarkar/disableingress
openshift-merge-bot[bot] Feb 29, 2024
bce2c3f
Merge pull request #256 from spolti/RHOAIENG-3551-m
spolti Mar 1, 2024
3b09426
Increase memory limit of kserve-controller pod
israel-hdez Mar 1, 2024
b4a042e
Merge pull request #261 from israel-hdez/jira-3396-wkand-master
openshift-merge-bot[bot] Mar 2, 2024
1430c58
Merge branch 'upstream kserve/master' into odh kserve/master
spolti Mar 7, 2024
bc5ab20
Merge pull request #264 from spolti/synch
openshift-merge-bot[bot] Mar 7, 2024
e73f50c
Merge branch 'uppstream/master' into 'odh/master'
spolti Mar 20, 2024
f6d0b8d
Add capability to run RawDeployment E2Es in OpenShift-ci
israel-hdez Feb 20, 2024
c8e53e9
Fix CI: Serverless removed domain-mapping deployment
israel-hdez Mar 22, 2024
a3f7d15
Merge pull request #277 from israel-hdez/ci-fix-serverless-1320
openshift-merge-bot[bot] Mar 22, 2024
050d23c
Merge pull request #275 from spolti/sync
openshift-merge-bot[bot] Mar 22, 2024
fab6583
Merge pull request #220 from israel-hdez/e2e-raw
openshift-merge-bot[bot] Mar 25, 2024
c993521
[RHOAIENG-5073] - Routing and Headless Service Support in KServe Raw …
spolti Apr 2, 2024
b855d52
comment ce logs for headless services
spolti Apr 4, 2024
9b5ea93
Merge pull request #280 from spolti/RHOAIENG-5073
openshift-merge-bot[bot] Apr 4, 2024
d80772b
Merge branch 'upstream/master' into 'odh/master'
spolti Apr 5, 2024
fc1b99f
lint the required test files
spolti Apr 8, 2024
153e56f
Merge pull request #289 from spolti/sync2
openshift-merge-bot[bot] Apr 8, 2024
3c5d8b4
remove unnecessary operators
Jooho Apr 17, 2024
9a43dfa
Create Workflow for release and tag with Changelog (#287)
rpancham Apr 19, 2024
7ade501
Merge pull request #316 from Jooho/remove_ops
Jooho Apr 22, 2024
a3155d8
[RHOAIENG-4617] - follow up - remove hardcoded fastapi from Dockerfil…
spolti Apr 30, 2024
6d1e00b
Fix storage-initializer-docker-publisher workflow
israel-hdez May 3, 2024
7830f59
Merge pull request #340 from israel-hdez/fix-storage-init-workflow
Jooho May 3, 2024
929471b
Merge branch 'kserve/kserve master into odh/kserve master
spolti May 15, 2024
c5bebaa
fix lint issues
spolti May 15, 2024
148d70f
Merge pull request #356 from spolti/sync3
openshift-merge-bot[bot] May 17, 2024
bbc5ad4
Merge pull request #358 from kserve/master
openshift-merge-bot[bot] May 20, 2024
d2c26b7
replace upstream Dockerfiles with ubi dockerfiles.
VedantMahabaleshwarkar May 21, 2024
e717527
Merge pull request #362 from VedantMahabaleshwarkar/eng-6506-odh
Jooho May 30, 2024
4e12777
Docs for authorization feature
israel-hdez Feb 28, 2024
601a6e9
Merge pull request #253 from israel-hdez/k-auth-docs
Jooho Jun 4, 2024
5b62ee3
enable DirectPvcVolumeMount
VedantMahabaleshwarkar Jun 6, 2024
1f3a0a4
Merge pull request #367 from VedantMahabaleshwarkar/patch-1
Jooho Jun 6, 2024
97c83cf
Merge pull request #361 from kserve/master
openshift-merge-bot[bot] Jun 7, 2024
3065fd4
Merge pull request #374 from kserve/master
openshift-merge-bot[bot] Jun 10, 2024
c287f27
Bump urllib3 from 2.2.1 to 2.2.2 in /python/artexplainer
dependabot[bot] Jun 17, 2024
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
9 changes: 6 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
name: Bug report
about: Tell us about a problem you are experiencing
title: ''
labels: kind/bug
assignees: ''

---

Expand All @@ -26,7 +29,7 @@ about: Tell us about a problem you are experiencing
- Knative Version:
- KServe Version:
- Kubeflow version:
- Cloud Environment:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]
- Minikube/Kind version:
- Kubernetes version: (use `kubectl version`):
- Open Data Hub version:
- Deployment Environment:[cloud (aws|gcp|ibm|azure), on prem, edge ]
- OpenShift version: (use `kubectl version`):
- OS (e.g. from `/etc/os-release`):
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
name: Feature enhancement request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

Expand Down
29 changes: 17 additions & 12 deletions .github/workflows/agent-docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
# Publish `master` as Docker `latest` image.
branches:
- master
- release-*

# Publish `v1.2.3` tags as releases.
tags:
Expand All @@ -14,7 +15,7 @@ on:
pull_request:

env:
IMAGE_NAME: agent
IMAGE_NAME: kserve-agent

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -60,15 +61,17 @@ jobs:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
- name: Login to Quay
uses: docker/login-action@v3

with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: quay.io
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: export version variable
run: |
IMAGE_ID=kserve/$IMAGE_NAME
IMAGE_ID=quay.io/${{ vars.QUAY_OWNER }}/$IMAGE_NAME

# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
Expand All @@ -81,9 +84,14 @@ jobs:

# Use Docker `latest` tag convention
[ "$VERSION" == "master" ] && VERSION=latest

echo VERSION=$VERSION >> $GITHUB_ENV
echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV
[[ "$VERSION" =~ ^release- ]] && VERSION=$(echo $VERSION | sed 's/^release-//')-latest

TAGS=$IMAGE_ID:$VERSION

# If a vX.Y.Z release is being built, also update the vX.Y tag.
[[ "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]] && TAGS=$TAGS,$IMAGE_ID:$(echo $VERSION | sed 's/\(.*\)\.[[:digit:]]\+$/\1/')

echo CONTAINER_TAGS=$TAGS >> $GITHUB_ENV

- name: Build and push
uses: docker/build-push-action@v5
Expand All @@ -92,7 +100,4 @@ jobs:
context: .
file: agent.Dockerfile
push: true
tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}
# https://github.com/docker/buildx/issues/1533
provenance: false

tags: ${{ env.CONTAINER_TAGS }}
103 changes: 103 additions & 0 deletions .github/workflows/create-release-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Create Tag and Release with Changelog

on:
workflow_dispatch:
inputs:
tag_name:
description: 'Tag name for the new release'
required: true

permissions:
contents: write
packages: write
pull-requests: write

jobs:
fetch-tag:
runs-on: ubuntu-latest
outputs:
old_tag: ${{ steps.get_tag.outputs.old_tag_name }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 0

- name: Get latest tag
id: get_tag
run: |
echo "old_tag_name=$(git ls-remote --tags origin | awk -F'/' '{print $3}' | grep -v '{}' | sort -V | tail -n1)" >> $GITHUB_OUTPUT
- name: print tag
id: print_tag
run: |
echo "Old Tag=${{ steps.get_tag.outputs.old_tag_name }}"
echo "NEW_TAG=${{ github.event.inputs.tag_name }}" >> $GITHUB_ENV
echo "$(basename ${{ github.ref }})"

- name: Check if tag exists
id: check_tag
run: |
import sys
import subprocess
tag_name = "${{ github.event.inputs.tag_name }}"
command = ['git', 'tag', '-l', tag_name]
output = subprocess.check_output(command, stderr=subprocess.STDOUT)
if output.decode() != "":
print(f"Error: Tag '{tag_name}' already exists.", file=sys.stderr)
sys.exit(1)
else:
print(f"Tag '{tag_name}' does not exists.")

shell: python
continue-on-error: false

#this works only if params.env contains image:tag_version_number
update-params-env:
runs-on: ubuntu-latest
needs: fetch-tag
outputs:
param_env: ${{ steps.read_params_env.outputs.params_env }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Update params.env with new release version
run: |
sed -i 's|:v[0-9.]*\b|:${{ github.event.inputs.tag_name }}|gm' config/overlays/odh/params.env
- name: Commit changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add config/overlays/odh/params.env
git commit -m "Update image refs for odh release."

- name: Create Tag
id: create_tag
run: |
git tag -a ${{ github.event.inputs.tag_name }} -m "Prepare for ODH release ${{ github.event.inputs.tag_name }}"
git push origin ${{ github.event.inputs.tag_name }}

changelog:
name: Changelog
needs: [fetch-tag,update-params-env]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Create Release
uses: softprops/action-gh-release@v2
with:
token: ${{ github.token }}
tag_name: ${{ github.event.inputs.tag_name }}
prerelease: false
draft: false
#this takes the path of payload to upload as an asset in the changelog
files: bin/*
generate_release_notes: true
name: ${{ github.event.inputs.tag_name }}
4 changes: 3 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
echo "Coverage output is ${{ steps.test.outputs.coverage }}"

- name: Update coverage badge
if: github.ref == 'refs/heads/master'
# Disabling, because this tries to update a Gist owned by KServe.
# More info: https://github.com/opendatahub-io/kserve/issues/29
if: false # github.ref == 'refs/heads/master'
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_SECRET }}
Expand Down
24 changes: 15 additions & 9 deletions .github/workflows/kserve-controller-docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
# Publish `master` as Docker `latest` image.
branches:
- master
- release-*

# Publish `v1.2.3` tags as releases.
tags:
Expand Down Expand Up @@ -58,15 +59,17 @@ jobs:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
- name: Login to Quay
uses: docker/login-action@v3

with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: quay.io
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: export version variable
run: |
IMAGE_ID=kserve/$IMAGE_NAME
IMAGE_ID=quay.io/${{ vars.QUAY_OWNER }}/$IMAGE_NAME

# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
Expand All @@ -79,9 +82,14 @@ jobs:

# Use Docker `latest` tag convention
[ "$VERSION" == "master" ] && VERSION=latest
[[ "$VERSION" =~ ^release- ]] && VERSION=$(echo $VERSION | sed 's/^release-//')-latest

echo VERSION=$VERSION >> $GITHUB_ENV
echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV
TAGS=$IMAGE_ID:$VERSION

# If a vX.Y.Z release is being built, also update the vX.Y tag.
[[ "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]] && TAGS=$TAGS,$IMAGE_ID:$(echo $VERSION | sed 's/\(.*\)\.[[:digit:]]\+$/\1/')

echo CONTAINER_TAGS=$TAGS >> $GITHUB_ENV

- name: Build and push
uses: docker/build-push-action@v5
Expand All @@ -90,6 +98,4 @@ jobs:
context: .
file: Dockerfile
push: true
tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}
# https://github.com/docker/buildx/issues/1533
provenance: false
tags: ${{ env.CONTAINER_TAGS }}
103 changes: 103 additions & 0 deletions .github/workflows/odh-create-release-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Create Tag and Release with Changelog

on:
workflow_dispatch:
inputs:
tag_name:
description: 'Tag name for the new release'
required: true

permissions:
contents: write
packages: write
pull-requests: write

jobs:
fetch-tag:
runs-on: ubuntu-latest
outputs:
old_tag: ${{ steps.get_tag.outputs.old_tag_name }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 0

- name: Get latest tag
id: get_tag
run: |
echo "old_tag_name=$(git ls-remote --tags origin | awk -F'/' '{print $3}' | grep -v '{}' | sort -V | tail -n1)" >> $GITHUB_OUTPUT
- name: print tag
id: print_tag
run: |
echo "Old Tag=${{ steps.get_tag.outputs.old_tag_name }}"
echo "NEW_TAG=${{ github.event.inputs.tag_name }}" >> $GITHUB_ENV
echo "$(basename ${{ github.ref }})"

- name: Check if tag exists
id: check_tag
run: |
import sys
import subprocess
tag_name = "${{ github.event.inputs.tag_name }}"
command = ['git', 'tag', '-l', tag_name]
output = subprocess.check_output(command, stderr=subprocess.STDOUT)
if output.decode() != "":
print(f"Error: Tag '{tag_name}' already exists.", file=sys.stderr)
sys.exit(1)
else:
print(f"Tag '{tag_name}' does not exists.")

shell: python
continue-on-error: false

#this works only if params.env contains image:tag_version_number
update-params-env:
runs-on: ubuntu-latest
needs: fetch-tag
outputs:
param_env: ${{ steps.read_params_env.outputs.params_env }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Update params.env with new release version
run: |
sed -i 's|:v[0-9.]*\b|:${{ github.event.inputs.tag_name }}|gm' config/overlays/odh/params.env
- name: Commit changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add config/overlays/odh/params.env
git commit -m "Update image refs for odh release."

- name: Create Tag
id: create_tag
run: |
git tag -a ${{ github.event.inputs.tag_name }} -m "Prepare for ODH release ${{ github.event.inputs.tag_name }}"
git push origin ${{ github.event.inputs.tag_name }}

changelog:
name: Changelog
needs: [fetch-tag,update-params-env]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Create Release
uses: softprops/action-gh-release@v2
with:
token: ${{ github.token }}
tag_name: ${{ github.event.inputs.tag_name }}
prerelease: false
draft: false
#this takes the path of payload to upload as an asset in the changelog
files: bin/*
generate_release_notes: true
name: ${{ github.event.inputs.tag_name }}
Loading
Loading