Skip to content

Commit

Permalink
try use the new aiida-core image
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Sep 16, 2023
1 parent ae75f06 commit 93b487c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,9 @@ aiida-registry-app/node_modules
aiida-registry-app/dist
aiida-registry-app/dist-ssr

# data genarated
plugins_metadata.json
result.json

# python
build/
build/
3 changes: 3 additions & 0 deletions aiida_registry/fetch_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ def complete_plugin_data(
if plugin_data["hosted_on"] == "github.com" and GITHUB_TOKEN:
commits_count = get_github_commits_count(plugin_data["code_home"])
else:
# when running locally, we don't have a GITHUB_TOKEN
# all the repositories are cloned locally
# this may take a while (10s per plugin)
try:
clone_repository(plugin_data["code_home"], plugin_data["name"])
commits_count = get_git_commits_count(plugin_data["name"])
Expand Down
3 changes: 2 additions & 1 deletion bin/aiida-registry
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def html():
@cli.command()
@click.option(
"--container-image",
default="aiidateam/aiida-core:latest",
# should use aiidateam/aiida-core-with-services:lastest after the version is released
default="aiidateam/aiida-core-with-services:edge",
help="Container image to use for the install",
)
def test_install(container_image):
Expand Down

0 comments on commit 93b487c

Please sign in to comment.