Skip to content

Commit

Permalink
Github action changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgnagepatil committed Sep 22, 2023
1 parent 8b0093c commit 01cb065
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/docker-content-regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
branches:
- master
- main
workflow_dispatch:
inputs:
tag:
description: 'Tag to test'
required: false
default: 'v1.0.0'
jobs:
build-test-scan:
name: Build image and regression test
Expand All @@ -17,9 +23,11 @@ jobs:
CPD_CLARITY: ${{secrets.TF_VAR_CPD_CLARITY}}
steps:
- uses: actions/checkout@v3
with:
ref: 'v1.12.0'

- name: Build the Docker App Image
run: git checkout tags/v1.12.0 -b temp; cd Childrens-Social-Care-CPD; docker build . --file Dockerfile --tag childrens-social-care-cpd:ContainerizeRegressionTests
run: cd Childrens-Social-Care-CPD; docker build . --file Dockerfile --tag childrens-social-care-cpd:ContainerizeRegressionTests
- name: Run the content regression tests
run: cd browser-tests/content-regression-tests; docker-compose up --exit-code-from content-regression-tests

Expand Down

0 comments on commit 01cb065

Please sign in to comment.