Skip to content

Commit

Permalink
Merge branch '83-fix-cg-kit-upstream-to-pypi' into 'master'
Browse files Browse the repository at this point in the history
Resolve "Fix CG-kit upstream to PyPI"

Closes #83

See merge request joneal/OrchestrationRuntime!69
  • Loading branch information
ylee88 committed Oct 3, 2024
2 parents f6e9258 + 9ecf9eb commit 2a19a50
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
26 changes: 0 additions & 26 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ variables:
GIT_STRATEGY: clone
MILHOJA_PROJECT_PATH: /nfs/gce/projects/Milhoja
MILHOJA_TEST_CLONE: $MILHOJA_PROJECT_PATH/MilhojaTest
CGKIT_CODE_REPO: $MILHOJA_PROJECT_PATH/cg-kit
FCOMPARE_EXE: $MILHOJA_PROJECT_PATH/amrex/Tools/Plotfile/fcompare.gnu.ex
SEDOV_BASELINE_2D: $MILHOJA_PROJECT_PATH/MilhojaTest/baselines/162a03d3/SedovMpi_2D
SEDOV_BASELINE_3D: $MILHOJA_PROJECT_PATH/MilhojaTest/baselines/162a03d3/SedovMpi_3D
Expand All @@ -48,16 +47,7 @@ test_milhoja_pypkg:
- echo $SHELL
- export CI_BASE_PATH=$(dirname $HOME/$CI_PROJECT_DIR)
- export MILHOJA_CODE_REPO=$CI_BASE_PATH/OrchestrationRuntime
- export CGKIT_PATH=$CI_BASE_PATH/cg-kit
- echo $MILHOJA_CODE_REPO
- echo $CGKIT_CODE_REPO
- echo $CGKIT_PATH
##-- Clean-up from prior runs
# Copy cgkit to this space so that it can be installed without needing special
# permissions. CGKIT_PATH must be set for tox to work below.
- rm -rf $CGKIT_PATH
- cp -R $CGKIT_CODE_REPO $CGKIT_PATH
- ls $CGKIT_PATH
##-- Create Conda env
- module load anaconda3/2021.05
- eval "$(conda 'shell.bash' 'hook')"
Expand Down Expand Up @@ -102,7 +92,6 @@ test_gnu:
# - cd ..
# - cp -R ./OrchestrationRuntime $MILHOJA_CODE_REPO
- export MILHOJA_INSTALL_PATH=$CI_BASE_PATH
- export CGKIT_PATH=$CI_BASE_PATH/cg-kit
- export SEDOV_REGRESSION_TEST=$MILHOJA_CODE_REPO/tools/compare_sedov_results.py
# The following are used to determine the HW family of the CI runner (i.e., HWFAMILY)
- . $MILHOJA_TEST_CLONE/gce/available_gce_machines.sh
Expand All @@ -114,19 +103,14 @@ test_gnu:
- echo $MILHOJA_CODE_REPO
- echo $MILHOJA_WORK_CLONE
- echo $MILHOJA_INSTALL_PATH
- echo $CGKIT_CODE_REPO
- echo $SEDOV_REGRESSION_TEST
- echo $FCOMPARE_EXE
##-- Install pristine clone of external test repo
- pushd $CI_BASE_PATH
- ls
- rm -rfv Milhoja_[123]D_${HWFAMILY}_*
- rm -rfv $MILHOJA_WORK_CLONE
- rm -rfv $CGKIT_PATH
- ls
##-- Copy cgkit to this space so that it can be installed without needing special
# permissions.
- cp -R $CGKIT_CODE_REPO $CGKIT_PATH
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.cels.anl.gov/joneal/MilhojaTest.git -b pushtile_supported
- cd $MILHOJA_WORK_CLONE
- git log -1 --oneline
Expand All @@ -151,7 +135,6 @@ test_gnu:
- python -m pip install --upgrade pip
- pip install --upgrade setuptools
- pip install nose
- pip install --editable=file://${CGKIT_PATH}
- pip install numpy
- pip install scipy
- pip install pandas
Expand Down Expand Up @@ -213,16 +196,7 @@ test_sphinx:
- echo $SHELL
- export CI_BASE_PATH=$(dirname $HOME/$CI_PROJECT_DIR)
- export MILHOJA_CODE_REPO=$CI_BASE_PATH/OrchestrationRuntime
- export CGKIT_PATH=$CI_BASE_PATH/cg-kit
- echo $MILHOJA_CODE_REPO
- echo $CGKIT_CODE_REPO
- echo $CGKIT_PATH
##-- Clean-up from prior runs
# Copy cgkit to this space so that it can be installed without needing special
# permissions. CGKIT_PATH must be set for tox to work below.
- rm -rf $CGKIT_PATH
- cp -R $CGKIT_CODE_REPO $CGKIT_PATH
- ls $CGKIT_PATH
##-- Create Conda env
- module load anaconda3/2021.05
- eval "$(conda 'shell.bash' 'hook')"
Expand Down
5 changes: 0 additions & 5 deletions tools/milhoja_pypkg/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ env_list =
description = Run the Milhoja full test suite
passenv =
COVERAGE_FILE
CGKIT_PATH
setenv =
COV_FILE = {env:COVERAGE_FILE:.coverage_milhoja}
DOC_ROOT = docs
deps =
--editable=file://{env:CGKIT_PATH}
setuptools
coverage: coverage
usedevelop =
Expand All @@ -44,7 +42,6 @@ commands =
# This should only *report* issues. It should *not* alter any files.
description = Run code quality checks
deps =
--editable=file://{env:CGKIT_PATH}
setuptools
flake8
commands =
Expand All @@ -62,7 +59,6 @@ commands = black {toxinidir}
[testenv:html]
description = Generate Milhoja's HTML documentation
deps =
--editable=file://{env:CGKIT_PATH}
sphinx
sphinxcontrib-bibtex
sphinx_rtd_theme
Expand All @@ -73,7 +69,6 @@ commands =
[testenv:pdf]
description = Generate Milhoja's PDF documentation
deps =
--editable=file://{env:CGKIT_PATH}
sphinx
sphinxcontrib-bibtex
depends = html
Expand Down

0 comments on commit 2a19a50

Please sign in to comment.