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

[BT-4262-build-image] Build the testtools image in this Pipeline #185

Merged
merged 3 commits into from
Nov 13, 2024
Merged
Changes from 2 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
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
findgriffin marked this conversation as resolved.
Show resolved Hide resolved
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
build_platform: linux/amd64
tag: latest

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