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

ci(actions): bump splunk/addonfactory-github-workflows from 1.3.4 to 1.3.6 in /.github/workflows #790

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
fef9960
fix: add readiness and liveness probes to workers (#755)
pgrenda-splunk Jul 11, 2023
c04f7d8
fix: update semantic-release-replace-plugin
wojtekzyla Jul 12, 2023
3a505b3
Merge pull request #758 from splunk/fix/fix-release
wojtekzyla Jul 13, 2023
bf86edc
chore(release): 1.9.2-beta.1
semantic-release-bot Jul 13, 2023
f3b9967
chore: update github permission (#762)
ajasnosz Jul 14, 2023
bc67c9e
chore(deps): bump requests from 2.28.1 to 2.31.0 (#745)
dependabot[bot] Jul 24, 2023
718beba
ci(actions): bump docker/setup-buildx-action in /.github/workflows (#…
dependabot[bot] Jul 24, 2023
84d2edc
ci: bump pymdown-extensions from 9.5 to 10.0 (#770)
ajasnosz Jul 25, 2023
197d120
Update pygments (#773)
ajasnosz Jul 25, 2023
4b0d64d
ci(actions): bump actions/setup-python from 2 to 4 in /.github/workfl…
dependabot[bot] Jul 25, 2023
740c007
ci(actions): bump azure/setup-helm from 1 to 3 in /.github/workflows …
dependabot[bot] Jul 25, 2023
424bbb7
ci(actions): bump actions/checkout from 2 to 3 in /.github/workflows …
dependabot[bot] Jul 25, 2023
d32b462
build(pip): (deps): bump pyrate-limiter from 2.8.1 to 2.10.0 (#706)
dependabot[bot] Jul 25, 2023
e39d148
build(pip): (deps): bump mkdocs-video from 1.3.0 to 1.5.0 (#715)
dependabot[bot] Jul 25, 2023
2e52512
ci(actions): bump oleksiyrudenko/gha-git-credentials (#772)
dependabot[bot] Jul 25, 2023
827c532
ci(actions): bump splunk/addonfactory-github-workflows (#781)
dependabot[bot] Jul 26, 2023
c534cf8
Configure Renovate (#782)
renovate[bot] Jul 26, 2023
112f7e0
chore: set unchangeable tag in rendered (#768)
ajasnosz Jul 26, 2023
04967e8
ci: add workflow permissions (#784)
ajasnosz Jul 26, 2023
144e043
chore: update documentation in values (#764)
ajasnosz Jul 26, 2023
9572647
chore/test-perms (#785)
ajasnosz Jul 27, 2023
fd35859
Revert "chore/test-perms (#785)" (#786)
ajasnosz Jul 27, 2023
a219419
chore(release): 1.9.2-beta.2
semantic-release-bot Jul 27, 2023
9074cbd
doc: move uninstallation instruction (#791)
ajasnosz Jul 28, 2023
e54d390
chore: update changelog (#792)
ajasnosz Jul 28, 2023
6cc13d9
chore: bump certifi from 2022.12.7 to 2023.7.22 (#793)
ajasnosz Jul 28, 2023
90570d5
Merge branch 'main' into develop
ajasnosz Jul 31, 2023
c7c57a9
ci(actions): bump splunk/addonfactory-github-workflows
dependabot[bot] Jul 31, 2023
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
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ updates:
commit-message:
prefix: "ci(actions): "
directory: "/.github/workflows"
rebase-strategy: "disabled"
target-branch: "develop"
schedule:
interval: "daily"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/agreements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
call-workflow-agreements:
uses: splunk/addonfactory-github-workflows/.github/workflows/[email protected].5
uses: splunk/addonfactory-github-workflows/.github/workflows/[email protected].6
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-docs-pdf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: false
- id: doc-files
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cd-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ jobs:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
- uses: oleksiyrudenko/gha-git-credentials@v2.1.1
with:
token: "${{ secrets.PAT_CLATOOL }}"

#Build docker images
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Packages Docker Registry
uses: docker/[email protected]
with:
Expand Down Expand Up @@ -80,11 +80,11 @@ jobs:
- mike
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v3
with:
version: v3.6.3
- name: Upload
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ jobs:
runs-on: ubuntu-latest
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: returntocorp/semgrep-action@v1
with:
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]
test-unit:
name: Test Unit Python ${{ matrix.python-version }}
Expand All @@ -80,9 +80,9 @@ jobs:
python-version:
- 3.9
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Get commit message
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: false
persist-credentials: false
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Packages Docker Registry
uses: docker/[email protected]
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: false
persist-credentials: false
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Packages Docker Registry
uses: docker/[email protected]
with:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
extra_plugins: |
@semantic-release/exec
@semantic-release/git
@google/semantic-release-replace-plugin
@google/semantic-release-replace-plugin@1.2.0
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}

4 changes: 2 additions & 2 deletions .github/workflows/mike.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
pages: write
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
- uses: oleksiyrudenko/gha-git-credentials@v2.1.1
with:
token: "${{ secrets.PAT_CLATOOL }}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/offline-installation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
packages: write
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Download images and upload them
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-notes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
permissions:
contents: write
packages: write
uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-release-notes.yaml@v1.2.1
uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-release-notes.yaml@v1.3.6
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/update-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: haya14busa/action-update-semver@v1
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

## [1.9.2]

### Changed
- add option to enable liveness and readiness probes on workers

## [1.9.1]

### Changed
Expand Down
4 changes: 2 additions & 2 deletions charts/splunk-connect-for-snmp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: 1.9.1
version: 1.9.2-beta.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.9.1"
appVersion: "1.9.2-beta.2"
#
dependencies:
- name: mongodb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ spec:
env:
{{- include "environmental-variables" . | nindent 12 }}
{{- include "environmental-variables-poller" . | nindent 12 }}
{{- if .Values.worker.livenessProbe.enabled }}
livenessProbe:
exec:
command:
{{- toYaml .Values.worker.livenessProbe.exec.command | nindent 16 }}
initialDelaySeconds: {{ .Values.worker.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.worker.livenessProbe.periodSeconds }}
{{- end }}
{{- if .Values.worker.readinessProbe.enabled }}
readinessProbe:
exec:
command:
{{- toYaml .Values.worker.readinessProbe.exec.command | nindent 16 }}
initialDelaySeconds: {{ .Values.worker.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.worker.readinessProbe.periodSeconds }}
{{- end }}
volumeMounts:
- name: config
mountPath: "/app/config"
Expand Down Expand Up @@ -75,7 +91,7 @@ spec:
- topologyKey: "kubernetes.io/hostname"
labelSelector:
matchLabels:
{{- include "splunk-connect-for-snmp.worker.poller.selectorLabels" . | nindent 22 }}
{{- include "splunk-connect-for-snmp.worker.poller.selectorLabels" . | nindent 22 }}
{{- else if eq .Values.worker.podAntiAffinity "soft" }}
affinity:
podAntiAffinity:
Expand Down Expand Up @@ -110,4 +126,4 @@ spec:
emptyDir: {}
- name: tmp
emptyDir: {}
{{- end -}}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,22 @@ spec:
env:
{{- include "environmental-variables" . | nindent 12 }}
{{- include "environmental-variables-sender" . | nindent 12 }}
{{- if .Values.worker.livenessProbe.enabled }}
livenessProbe:
exec:
command:
{{- toYaml .Values.worker.livenessProbe.exec.command | nindent 16 }}
initialDelaySeconds: {{ .Values.worker.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.worker.livenessProbe.periodSeconds }}
{{- end }}
{{- if .Values.worker.readinessProbe.enabled }}
readinessProbe:
exec:
command:
{{- toYaml .Values.worker.readinessProbe.exec.command | nindent 16 }}
initialDelaySeconds: {{ .Values.worker.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.worker.readinessProbe.periodSeconds }}
{{- end }}
volumeMounts:
- name: config
mountPath: "/app/config"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,22 @@ spec:
readOnly: false
resources:
{{- toYaml .Values.worker.trap.resources | nindent 12 }}
{{- if .Values.worker.livenessProbe.enabled }}
livenessProbe:
exec:
command:
{{- toYaml .Values.worker.livenessProbe.exec.command | nindent 16 }}
initialDelaySeconds: {{ .Values.worker.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.worker.livenessProbe.periodSeconds }}
{{- end }}
{{- if .Values.worker.readinessProbe.enabled }}
readinessProbe:
exec:
command:
{{- toYaml .Values.worker.readinessProbe.exec.command | nindent 16 }}
initialDelaySeconds: {{ .Values.worker.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.worker.readinessProbe.periodSeconds }}
{{- end }}
{{- with .Values.worker.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down Expand Up @@ -100,4 +116,4 @@ spec:
emptyDir: {}
- name: tmp
emptyDir: {}
{{- end -}}
{{- end -}}
Loading
Loading