Skip to content

Commit

Permalink
Add dummy IT serverless pipeline (#1774)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Sep 1, 2023
1 parent 3398bb8 commit a4a1618
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .buildkite/it/serverless-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
steps:
- label: "Run IT Serverless tests"
command: echo "TODO"
37 changes: 37 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
lifecycle: production
dependsOn:
- resource:rally-it-pipeline
- resource:rally-it-serverless-pipeline
- resource:rally-releaser-docker-pipeline


Expand Down Expand Up @@ -64,6 +65,42 @@ spec:
everyone:
access_level: READ_ONLY

# Declare Rally's Buildkite IT pipeline.
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
---
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: rally-it-serverless-pipeline
description: Run Rally Serverless integration tests
links:
- title: Pipeline
url: https://buildkite.com/elastic/rally-it-serverless

spec:
type: buildkite-pipeline
owner: group:es-perf
system: buildkite

implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: Rally - IT Serverless
description: Macrobenchmarking framework for Elasticsearch
spec:
pipeline_file: .buildkite/it/serverless-pipeline.yml
repository: elastic/rally
schedules:
Daily:
branch: master
cronline: "0 14 * * *"
message: periodic it serverless
teams:
es-perf: {}
everyone:
access_level: READ_ONLY

# Declare Rally Release Docker pipeline.
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
---
Expand Down
6 changes: 6 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ def it(session: nox.Session) -> None:
session.run("pytest", "-s", "it")


@nox.session(python="3")
def it_serverless(session: nox.Session) -> None:
session.install(".[develop]")
session.run("pytest", "-s", "it_serverless", *session.posargs)


@nox.session(python="3")
def rally_tracks_compat(session: nox.Session) -> None:
session.install(".[develop]")
Expand Down

0 comments on commit a4a1618

Please sign in to comment.