diff --git a/config/jobs/update-github-teams/peribolos-syncer-test-infra-pre-test.yaml b/config/jobs/update-github-teams/peribolos-syncer-test-infra-pre-test.yaml new file mode 100644 index 0000000000..29b61fda70 --- /dev/null +++ b/config/jobs/update-github-teams/peribolos-syncer-test-infra-pre-test.yaml @@ -0,0 +1,55 @@ +presubmits: + falcosecurity/test-infra: + - name: peribolos-syncer-post-submit + branches: + - ^master$ + decorate: true + skip_report: false + run_if_changed: 'OWNERS$' + spec: + containers: + - image: ghcr.io/falcosecurity/peribolos-syncer:0.2.0 + args: + - sync + - github + - --org=falcosecurity + - --team=evolution-maintainers + - --peribolos-config-path=config/org.yaml + - --peribolos-config-repository=test-infra + - --peribolos-config-git-ref=master + - --owners-repository=evolution + - --owners-git-ref=main + - --approvers-only=true + - --git-author-name=poiana + - --git-author-email="51138685+poiana@users.noreply.github.com" + - --gpg-public-key=/tmp/gpg-pub/poiana.pub + - --gpg-private-key=/tmp/gpg/poiana.asc + - --github-username=poiana + - --github-endpoint=http://ghproxy.default.svc.cluster.local + - --github-endpoint=https://api.github.com + - --github-hourly-tokens=1200 + - --github-token-path=/etc/github-token/oauth + volumeMounts: + - name: github + mountPath: /etc/github-token + readOnly: true + - name: gpg-signing-key + mountPath: /tmp/gpg + readOnly: true + - name: gpg-signing-key-pub + mountPath: /tmp/gpg-pub + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + - name: gpg-signing-key + secret: + secretName: poiana-gpg-signing-key + defaultMode: 0400 + - name: gpg-signing-key-pub + secret: + secretName: poiana-gpg-signing-key-pub + defaultMode: 0400 + nodeSelector: + Archtype: "x86"