Skip to content
Snippets Groups Projects
Commit 1814e31e authored by Adam Fekete's avatar Adam Fekete
Browse files

restructuring

parent 52ccd986
No related branches found
No related tags found
1 merge request!121Draft: Resolve "Refactoring the infrastructure"
Showing
with 26 additions and 10 deletions
......@@ -3,4 +3,4 @@
**/.gitmodules
**/.dockerignore
.gitlab-ci
.gitlab-ci.yml
\ No newline at end of file
image: gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-fair/ci-runner
# variables:
# DEV_IMAGE: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
# STAGING_IMAGE: ${CI_REGISTRY_IMAGE}:staging
# IMAGE_NAME: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
stages:
- build
......@@ -17,14 +16,10 @@ build to develop:
before_script:
- echo "Building the single user notebook image"
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
# - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
# - docker info
# Using cache to speed up the build process
# - docker pull ${STAGING_IMAGE} || true
- docker info
script:
# Using cache to speed up the build process --cache-from ${CI_REGISTRY_IMAGE}:${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}
- docker build -t ${DEV_IMAGE} .
- docker push ${DEV_IMAGE}
- docker build -t ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG} .
- docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
rules:
# Execute jobs when a new commit is pushed to master branch
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop"
......
File moved
File moved
File moved
File moved
from pathlib import Path
def main():
"""
This script is used to check the dependencies of the project.
"""
print("Checking dependencies...")
# check_dependencies()
print("Dependencies checked.")
if __name__ == "__main__":
# main()
for tutorial in Path("./tutorials/").iterdir():
print(tutorial)
print(p)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment