Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaneorth committed Oct 9, 2024
1 parent ebc8b83 commit 013a2a8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Lint Helm chart
uses: WyriHaximus/[email protected]
with:
exec: helm lint ./helm/charts/scheduled-volume-snapshotter --strict
exec: helm lint ./helm/charts/scheduled-volume-snapshotter
- name: Lint Python with flake8
run: |
pip install flake8
Expand Down
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ COPY snapshotter.py .
COPY requirements.txt .

RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir --upgrade pip==23.3 setuptools==67.1.0 \
&& pip install --no-cache-dir -r requirements.txt \
&& rm requirements.txt
&& apt-get upgrade -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir --upgrade pip==23.3 setuptools==70.0.0 \
&& pip install --no-cache-dir -r requirements.txt \
&& rm requirements.txt

ENTRYPOINT ["python", "-u", "snapshotter.py"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if or .Values.useArgoCD .Capabilities.APIVersions.Has "batch/v1/CronJob" -}}
{{- if or .Values.useArgoCD (.Capabilities.APIVersions.Has "batch/v1/CronJob") -}}
apiVersion: batch/v1
{{- else }}
apiVersion: batch/v1beta1
Expand Down

0 comments on commit 013a2a8

Please sign in to comment.