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

Add peribolos-syncer jobs to main repos #1219

Closed
wants to merge 1 commit into from
Closed
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
61 changes: 61 additions & 0 deletions config/jobs/update-github-teams/peribolos-syncer-charts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Place here other repository OWNERS to synchronize GitHub Team Peribolos configuration from.
#
# More on this here: https://github.com/falcosecurity/peribolos-syncer/blob/v0.1.0/docs/peribolos-syncer_sync_github.md#peribolos-syncer-sync-github
#
postsubmits:
falcosecurity/charts:
- name: peribolos-syncer-post-submit
branches:
- ^main$
decorate: true
max_concurrency: 1
skip_report: false
run_if_changed: 'OWNERS$'
spec:
containers:
- image: gcr.io/maxgio92/peribolos-syncer:0.2.0
Copy link
Member Author

@maxgio92 maxgio92 Aug 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/hold

Wait until the OCI images are available as falcosecurity packages (which in turn needs falcosecurity/peribolos-syncer#6).

args:
- sync
- github
- --org=falcosecurity
- --team=charts-maintainers
- --peribolos-config-path=config/org.yaml
- --peribolos-config-repository=test-infra
- --peribolos-config-git-ref=master
- --owners-repository=charts
- --owners-git-ref=main
- --approvers-only=true
- --git-author-name=poiana
- --git-author-email="[email protected]"
- --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"

61 changes: 61 additions & 0 deletions config/jobs/update-github-teams/peribolos-syncer-client-go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Place here other repository OWNERS to synchronize GitHub Team Peribolos configuration from.
#
# More on this here: https://github.com/falcosecurity/peribolos-syncer/blob/v0.1.0/docs/peribolos-syncer_sync_github.md#peribolos-syncer-sync-github
#
postsubmits:
falcosecurity/client-go:
- name: peribolos-syncer-post-submit
branches:
- ^main$
decorate: true
max_concurrency: 1
skip_report: false
run_if_changed: 'OWNERS$'
spec:
containers:
- image: gcr.io/maxgio92/peribolos-syncer:0.2.0
args:
- sync
- github
- --org=falcosecurity
- --team=client-go-maintainers
- --peribolos-config-path=config/org.yaml
- --peribolos-config-repository=test-infra
- --peribolos-config-git-ref=master
- --owners-repository=client-go
- --owners-git-ref=main
- --approvers-only=true
- --git-author-name=poiana
- --git-author-email="[email protected]"
- --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"

61 changes: 61 additions & 0 deletions config/jobs/update-github-teams/peribolos-syncer-community.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Place here other repository OWNERS to synchronize GitHub Team Peribolos configuration from.
#
# More on this here: https://github.com/falcosecurity/peribolos-syncer/blob/v0.1.0/docs/peribolos-syncer_sync_github.md#peribolos-syncer-sync-github
#
postsubmits:
falcosecurity/community:
- name: peribolos-syncer-post-submit
branches:
- ^main$
decorate: true
max_concurrency: 1
skip_report: false
run_if_changed: 'OWNERS$'
spec:
containers:
- image: gcr.io/maxgio92/peribolos-syncer:0.2.0
args:
- sync
- github
- --org=falcosecurity
- --team=community-maintainers
- --peribolos-config-path=config/org.yaml
- --peribolos-config-repository=test-infra
- --peribolos-config-git-ref=master
- --owners-repository=community
- --owners-git-ref=main
- --approvers-only=true
- --git-author-name=poiana
- --git-author-email="[email protected]"
- --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"

61 changes: 61 additions & 0 deletions config/jobs/update-github-teams/peribolos-syncer-contrib.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Place here other repository OWNERS to synchronize GitHub Team Peribolos configuration from.
#
# More on this here: https://github.com/falcosecurity/peribolos-syncer/blob/v0.1.0/docs/peribolos-syncer_sync_github.md#peribolos-syncer-sync-github
#
postsubmits:
falcosecurity/contrib:
- name: peribolos-syncer-post-submit
branches:
- ^main$
decorate: true
max_concurrency: 1
skip_report: false
run_if_changed: 'OWNERS$'
spec:
containers:
- image: gcr.io/maxgio92/peribolos-syncer:0.2.0
args:
- sync
- github
- --org=falcosecurity
- --team=contrib-maintainers
- --peribolos-config-path=config/org.yaml
- --peribolos-config-repository=test-infra
- --peribolos-config-git-ref=master
- --owners-repository=contrib
- --owners-git-ref=main
- --approvers-only=true
- --git-author-name=poiana
- --git-author-email="[email protected]"
- --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"

Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Place here other repository OWNERS to synchronize GitHub Team Peribolos configuration from.
#
# More on this here: https://github.com/falcosecurity/peribolos-syncer/blob/v0.1.0/docs/peribolos-syncer_sync_github.md#peribolos-syncer-sync-github
#
postsubmits:
falcosecurity/deploy-kubernetes:
- name: peribolos-syncer-post-submit
branches:
- ^main$
decorate: true
max_concurrency: 1
skip_report: false
run_if_changed: 'OWNERS$'
spec:
containers:
- image: gcr.io/maxgio92/peribolos-syncer:0.2.0
args:
- sync
- github
- --org=falcosecurity
- --team=deploy-kubernetes-maintainers
- --peribolos-config-path=config/org.yaml
- --peribolos-config-repository=test-infra
- --peribolos-config-git-ref=master
- --owners-repository=deploy-kubernetes
- --owners-git-ref=main
- --approvers-only=true
- --git-author-name=poiana
- --git-author-email="[email protected]"
- --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"

61 changes: 61 additions & 0 deletions config/jobs/update-github-teams/peribolos-syncer-driverkit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Place here other repository OWNERS to synchronize GitHub Team Peribolos configuration from.
#
# More on this here: https://github.com/falcosecurity/peribolos-syncer/blob/v0.1.0/docs/peribolos-syncer_sync_github.md#peribolos-syncer-sync-github
#
postsubmits:
falcosecurity/driverkit:
- name: peribolos-syncer-post-submit
branches:
- ^main$
decorate: true
max_concurrency: 1
skip_report: false
run_if_changed: 'OWNERS$'
spec:
containers:
- image: gcr.io/maxgio92/peribolos-syncer:0.2.0
args:
- sync
- github
- --org=falcosecurity
- --team=driverkit-maintainers
- --peribolos-config-path=config/org.yaml
- --peribolos-config-repository=test-infra
- --peribolos-config-git-ref=master
- --owners-repository=driverkit
- --owners-git-ref=main
- --approvers-only=true
- --git-author-name=poiana
- --git-author-email="[email protected]"
- --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"

Loading