From b508ce5ef2c6bf13faf01b9a275c589cf7b4044c Mon Sep 17 00:00:00 2001 From: Andrew Burnes Date: Wed, 4 Oct 2023 13:11:02 -0700 Subject: [PATCH] Reinstate redis/postgres resources --- ci/partials/test-api.yml | 3 +++ ci/pipeline-dev.yml | 18 +++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/ci/partials/test-api.yml b/ci/partials/test-api.yml index 910273f37..0479ecd0f 100644 --- a/ci/partials/test-api.yml +++ b/ci/partials/test-api.yml @@ -6,6 +6,9 @@ image_resource: tag: original inputs: - name: src + - name: redis + - name: postgres + - name: node run: dir: src path: ci/docker/entrypoint.sh diff --git a/ci/pipeline-dev.yml b/ci/pipeline-dev.yml index 96c78641d..f28c79b2f 100644 --- a/ci/pipeline-dev.yml +++ b/ci/pipeline-dev.yml @@ -42,6 +42,10 @@ jobs: params: {state: pending} - in_parallel: - get: cf-image + - get: redis + params: {save: true} + - get: postgres + params: {save: true} - get: node params: {save: true} - task: install-deps-api @@ -304,6 +308,18 @@ resources: stop: 1:00 AM location: America/New_York + - name: redis + type: docker-image + source: + repository: redis + tag: 5-alpine + + - name: postgres + type: docker-image + source: + repository: postgres + tag: 11-alpine + - name: node type: docker-image source: @@ -352,4 +368,4 @@ resource_types: - name: slack-notification type: docker-image source: - repository: cfcommunity/slack-notification-resource + repository: cfcommunity/slack-notification-resource \ No newline at end of file