Skip to content

Commit

Permalink
debug pipeline issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanaLMoore authored and orangewolf committed Sep 12, 2024
1 parent a0232ad commit edc549c
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/build-test-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Build Test Lint'
name: "Build Test Lint"
run-name: Build Test Lint of ${{ github.ref_name }} by @${{ github.actor }}
on:
push:
Expand All @@ -9,24 +9,29 @@ on:
- main
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
debug_step:
required: false
default: false
description: 'Pause the selected step to debug using tmate'
type: choice
default: ''
options:
- ''
- build
- test
- lint

jobs:
build:
uses: scientist-softserv/actions/.github/workflows/build.yaml@v0.0.15
uses: scientist-softserv/actions/.github/workflows/build.yaml@choose-which-step-to-debug-with-tmate
secrets: inherit
with:
platforms: 'linux/amd64'
webTarget: hyku-web
platforms: "linux/amd64"
webTarget: hyku-base
solrTarget: hyku-solr
workerTarget: hyku-worker

test:
needs: build
uses: scientist-softserv/actions/.github/workflows/test.yaml@v0.0.15
uses: scientist-softserv/actions/.github/workflows/test.yaml@choose-which-step-to-debug-with-tmate
with:
confdir: '/app/samvera/hyrax-webapp/solr/conf'
webTarget: hyku-web
Expand All @@ -35,7 +40,7 @@ jobs:

lint:
needs: build
uses: scientist-softserv/actions/.github/workflows/lint.yaml@v0.0.15
uses: scientist-softserv/actions/.github/workflows/lint.yaml@choose-which-step-to-debug-with-tmate
with:
webTarget: hyku-web
workerTarget: hyku-worker
Expand Down

0 comments on commit edc549c

Please sign in to comment.