Skip to content

Commit

Permalink
test MOBB_DATA
Browse files Browse the repository at this point in the history
  • Loading branch information
yaswant authored Oct 2, 2023
1 parent 76fdc61 commit cddd521
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
REPO: ${{ github.event.repository.name }}
BUNDLE: pr-${{ github.event.number }}
BUNDLE: pr-${{ github.event.number }}

jobs:
build1:
Expand Down Expand Up @@ -47,10 +47,12 @@ jobs:
run: ./${{ env.BUNDLE }}/get-ref-branch ./${{ env.BUNDLE }}/oops

- name: build and test
env:
MOBB_DATA: ${{ secrets.MOBB_DATA }}
run: |
az acr login --name ngmssboxjediacr
echo "${{ secrets.MOBB_DATA }}"
(cd ${PWD}/${BUNDLE} && ln -sf ${{ secrets.MOBB_DATA }})
# echo "${{ secrets.MOBB_DATA }}"
# (cd ${PWD}/${BUNDLE} && ln -sf ${MOBB_DATA})
docker run --rm \
--entrypoint=/usr/local/src/${REPO}/${BUNDLE}/build-and-test \
--workdir=/usr/local/src/${REPO}/${BUNDLE} \
Expand Down
2 changes: 2 additions & 0 deletions ci/build-and-test
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ trap finally ERR EXIT

cd "${WORKD}"

ls -l "${MOBB_DATA}"

# -- Activate spack env if using JCSDA Docker container
if [[ -f /opt/spack-environment/activate.sh ]]; then
source /opt/spack-environment/activate.sh
Expand Down

0 comments on commit cddd521

Please sign in to comment.