Skip to content

Commit

Permalink
(#176) Shared CI workflow for APIs.
Browse files Browse the repository at this point in the history
- Add global.json to control SDK version.
- Update karate.jar to v1.2 to fix problems with deprecated/removed
  Java Nashorn engine.

Closes #176
  • Loading branch information
blairl-nih authored and blairlearn committed Oct 16, 2024
1 parent e9cfa3e commit d99fe9c
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 183 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Glossary CI workflow

on:
push:
branches:
- master
- develop
- 'hotfix/**'
- 'release/**'
- 'feature/**'
pull_request:
types: [opened, reopened, synchronize, ready_for_review]

jobs:
ci_remote:
uses: nciocpl/nci.ocpl.api.shared/.github/workflows/common-api-ci.yml@ticket/52-shared-wf
with:
api-project: src/NCI.OCPL.Api.Glossary/NCI.OCPL.Api.Glossary.csproj
artifact-name: glossary
183 changes: 0 additions & 183 deletions .github/workflows/workflow.yml

This file was deleted.

6 changes: 6 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sdk": {
"rollForward": "latestFeature",
"version": "6.0.0"
}
}
Binary file modified integration-tests/bin/karate.jar
Binary file not shown.
4 changes: 4 additions & 0 deletions integration-tests/bin/start-api.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# Used in CI builds to abstract any API-specific start up steps.
dotnet NCI.OCPL.Api.Glossary.dll

0 comments on commit d99fe9c

Please sign in to comment.