Skip to content

Commit

Permalink
Add support for falco-aws-terraform repo
Browse files Browse the repository at this point in the history
Following the example of
https://github.com/falcosecurity/test-infra#create-a-presubmits-job-that-runs-tests-on-prs
and falcosecurity#515.

Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
  • Loading branch information
mstemm authored and maxgio92 committed Apr 23, 2022
1 parent f00fb97 commit a051dae
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/jobs/build-aws-terraform/build-aws-terraform.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
presubmits:
falcosecurity/falco-aws-terraform:
- name: build-aws-terraform
decorate: true
skip_report: false
agent: kubernetes
always_run: true # Run for every PR, but master
path_alias: github.com/falcosecurity/falco-aws-terraform
spec:
containers:
- command:
- /home/prow/go/src/github.com/falcosecurity/falco-aws-terraform/presubmit.sh
image: hashicorp/terraform:latest
imagePullPolicy: Always
resources:
requests:
cpu: 1500m #m5large is 2vpcu and 8gb ram so this 75% of a node
memory: 3Gi
nodeSelector:
Archtype: "x86"
15 changes: 15 additions & 0 deletions config/org.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ orgs:
allow_squash_merge: false
description: Prometheus Metrics Exporter for Falco output events
has_projects: true
falco-aws-terraform:
default_branch: main
has_projects: true
falco-website:
description: Hugo content to generate website content. Hosted by the CNCF
has_projects: true
Expand Down Expand Up @@ -289,6 +292,17 @@ orgs:
privacy: closed
repos:
evolution: maintain
falco-aws-terraform-maintainers:
description: ""
maintainers:
- mstemm
- leogr
- jasondellaluce
- loris
- zuc
privacy: closed
repos:
falco-aws-terraform: maintain
falco-exporter-maintainers:
description: maintainers of falco-exporter
maintainers:
Expand Down Expand Up @@ -399,6 +413,7 @@ orgs:
event-generator: admin
evolution: admin
falco: admin
falco-aws-terraform: admin
falco-exporter: admin
falco-website: admin
falcoctl: admin
Expand Down

0 comments on commit a051dae

Please sign in to comment.