-
Notifications
You must be signed in to change notification settings - Fork 1
63 lines (56 loc) · 1.83 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: UKMO_CI_Azure
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
build:
runs-on: jedi-self-hosted-rg
steps:
- name: checkout current
uses: actions/checkout@v3
with:
path: ci/opsinputs
- name: checkout jedicmake
uses: actions/checkout@v3
with:
path: ci/jedicmake
repository: JCSDA-internal/jedi-cmake
submodules: true
token: ${{ secrets.GH_PAT }}
- name: checkout oops
uses: actions/checkout@v3
with:
path: ci/oops
repository: JCSDA-internal/oops
token: ${{ secrets.GH_PAT }}
- name: matching branch checkout attempt oops ${{ github.head_ref }}
if: github.event_name == 'pull_request'
run: ./ci/get-ref-branch ./ci/oops
- name: checkout ioda
uses: actions/checkout@v3
with:
path: ci/ioda
repository: JCSDA-internal/ioda
token: ${{ secrets.GH_PAT }}
- name: matching branch checkout attempt ioda ${{ github.head_ref }}
if: github.event_name == 'pull_request'
run: ./ci/get-ref-branch ./ci/ioda
- name: checkout ufo
uses: actions/checkout@v3
with:
path: ci/ufo
repository: JCSDA-internal/ufo
token: ${{ secrets.GH_PAT }}
- name: matching branch checkout attempt ufo ${{ github.head_ref }}
if: github.event_name == 'pull_request'
run: ./ci/get-ref-branch ./ci/ufo
- name: build and test
run: |
az acr login --name ngmssboxjediacr
docker run --rm \
--entrypoint=/usr/local/src/opsinputs/ci/build-and-test \
--workdir=/usr/local/src/opsinputs/ci \
--volume $PWD:/usr/local/src/opsinputs \
'ngmssboxjediacr.azurecr.io/jedibase:alma9'