Skip to content

Commit

Permalink
Add testtools image to pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Griffin committed Nov 13, 2024
1 parent 5c518ae commit c13596e
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions concourse/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ resource_types:
type: docker-image
source:
repository: cfcommunity/slack-notification-resource
- name: buildx-resource
type: registry-image
privileged: true
source:
repository: shared-concourse-buildx
aws_access_key_id: ((prod-images-aws-access-key-id))
aws_secret_access_key: ((prod-images-aws-secret-key))
aws_region: us-east-2
tag: latest

resources:
- name: notify
Expand Down Expand Up @@ -41,6 +50,17 @@ resources:
uri: [email protected]:fauna/testtools.git
branch: main
private_key: ((github-ssh-key))
- name: testtools-deps-repo
type: git
icon: github
source:
uri: [email protected]:fauna/testtools.git
branch: main
private_key: ((github-ssh-key))
paths:
- fauna-driver-platform-tests/package.json
- fauna-driver-platform-tests/Dockerfile

- name: testtools-image
type: registry-image
icon: docker
Expand All @@ -49,6 +69,13 @@ resources:
aws_access_key_id: ((prod-images-aws-access-key-id))
aws_secret_access_key: ((prod-images-aws-secret-key))
aws_region: us-east-2
- name: build-and-publish-testtools-image
type: buildx-resource
source:
repo: ((prod-images-repo-url))/devex-dx-driver-platform-tests
aws_access_key_id: ((prod-images-aws-access-key-id))
aws_secret_access_key: ((prod-images-aws-secret-key))
icon: docker

- name: perf-notify
type: slack-notification
Expand All @@ -70,6 +97,21 @@ jobs:
- set_pipeline: self
file: repo.git/concourse/pipeline.yml

- name: build-image
serial: true
plan:
- get: testtools-deps-repo
trigger: true

- put: build-and-publish-testtools-image
inputs:
- testtools-deps-repo
params:
dir: testtools-deps-repo/fauna-driver-platform-tests/
dockerfile: testtools-deps-repo/fauna-driver-platform-tests/Dockerfile.dotnet
build_platform: linux/amd64
tag: latest

- name: tests-dev
serial: true
public: false
Expand Down

0 comments on commit c13596e

Please sign in to comment.