Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Woffenden <jacob.woffenden@digital.justice.gov.uk>
  • Loading branch information
Jacob Woffenden committed Jan 19, 2024
1 parent 7cc16ee commit a8bd3cc
Showing 1 changed file with 25 additions and 20 deletions.
45 changes: 25 additions & 20 deletions .github/workflows/jupyter-lab-test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
max-parallel: 3
matrix:
flavour:
- "datascience-notebook"
- "allspark-notebook"
- "oracle-datascience-notebook"
# - "datascience-notebook"
# - "oracle-datascience-notebook"
env:
REPOSITORY: ${{ matrix.flavour }}
ECR_REPOSITORY: ${{ matrix.flavour }}
Expand Down Expand Up @@ -88,21 +88,26 @@ jobs:
project: inspec
- name: Test
working-directory: "./${{ matrix.flavour }}"
run: make test
env:
NETWORK: host
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ steps.prep.outputs.tag }}
- name: Push image
working-directory: "./${{ matrix.flavour }}"
run: make push
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ steps.prep.outputs.tag }}
- name: Cleanup
if: ${{ always() }}
working-directory: "./${{ matrix.flavour }}"
run: make clean
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ steps.prep.outputs.tag }}
run: |
inspec exec tests -t "docker://${REGISTRY}/${REPOSITORY}:${IMAGE_TAG}"
# - name: Test
# working-directory: "./${{ matrix.flavour }}"
# run: make test
# env:
# NETWORK: host
# REGISTRY: ${{ steps.login-ecr.outputs.registry }}
# IMAGE_TAG: ${{ steps.prep.outputs.tag }}
# - name: Push image
# working-directory: "./${{ matrix.flavour }}"
# run: make push
# env:
# REGISTRY: ${{ steps.login-ecr.outputs.registry }}
# IMAGE_TAG: ${{ steps.prep.outputs.tag }}
# - name: Cleanup
# if: ${{ always() }}
# working-directory: "./${{ matrix.flavour }}"
# run: make clean
# env:
# REGISTRY: ${{ steps.login-ecr.outputs.registry }}
# IMAGE_TAG: ${{ steps.prep.outputs.tag }}

0 comments on commit a8bd3cc

Please sign in to comment.