Skip to content
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: check-actions
name: pr-actions

permissions: {}

Expand All @@ -8,7 +8,7 @@ on:
- 'master'

jobs:
check:
ensure-sha-pinned:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:

build:
runs-on: ubuntu-latest
outputs:
profiles: ${{ steps.profiles.outputs.profiles }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
Expand Down Expand Up @@ -118,7 +120,7 @@ jobs:
run: |
profiles=$(ls config/tests/cases | jq -R -s -c 'split("\n")[:-1]')
echo $profiles
echo "::set-output name=matrix::$profiles"
echo "profiles=$profiles" >> $GITHUB_OUTPUT

test-chart:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -202,10 +204,7 @@ jobs:
- name: Debug failure
if: failure()
run: |
kubectl -n mongodb get pods
kubectl -n mongodb-system get pods
kubectl -n mongodb describe pods
kubectl -n mongodb-system describe pods
kubectl -n mongodb get svc
kubectl -n mongo-system get pods
kubectl -n mongo-system get pods -o yaml
kubectl -n kube-system get pods
kubectl -n mongodb-system logs deploy/mongodb-query-exporter
kubectl -n mongo-system logs deploy/mongodb-query-exporter
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dependency_review
name: pr-dependency-review
on: [pull_request]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pr-nancy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ concurrency:
jobs:
nancy:
runs-on: ubuntu-latest
name: Nancy
steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/report-on-vulnerabilities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RESULTS: ${{ steps.set-scan-output.outputs.results }}
with:
filename: .github/ISSUE_TEMPLATE/VULN-TEMPLATE.md
filename: .github/ISSUE_TEMPLATE/VULN-TEMPLATE.md
2 changes: 0 additions & 2 deletions .github/workflows/scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ permissions: {}

jobs:
fossa:
name: FOSSA
runs-on: ubuntu-latest
steps:
- name: Harden Runner
Expand All @@ -29,7 +28,6 @@ jobs:
github-token: ${{ github.token }}

codeql:
name: CodeQL
runs-on: ubuntu-latest
permissions:
contents: read # for actions/checkout to fetch code
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ kind-test: ## Deploy including test
kind load docker-image ${IMG} --name ${CLUSTER}
kubectl --context kind-${CLUSTER} -n mongo-system delete pods --all
kustomize build config/tests/cases/${TEST_PROFILE} --enable-helm | kubectl --context kind-${CLUSTER} apply -f -
kubectl --context kind-${CLUSTER} -n mongo-system wait --for=condition=Ready pods -l app.kubernetes.io/managed-by!=Helm -l verify=yes --timeout=3m
kubectl --context kind-${CLUSTER} -n mongo-system wait --for=jsonpath='{.status.conditions[1].reason}'=PodCompleted pods -l app.kubernetes.io/managed-by!=Helm -l verify=yes --timeout=3m
kustomize build config/tests/cases/${TEST_PROFILE} --enable-helm | kubectl --context kind-${CLUSTER} delete -f -

Expand Down