Skip to content

Commit

Permalink
Update README, make multiscale-run a container _for_ multiscale-run (#8)
Browse files Browse the repository at this point in the history
Julia is too painful, thus this is not a container containing
multiscale-run any longer, but one that can be used to install
multiscale-run.

Currently disabled, as STEPS can't be built with a modern GCC.
  • Loading branch information
matz-e authored Dec 11, 2024
1 parent 37200c8 commit ac8c01f
Show file tree
Hide file tree
Showing 6 changed files with 135 additions and 268 deletions.
10 changes: 10 additions & 0 deletions .github/actions/build_container/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,21 @@ inputs:
description: Extra args to pass to buildah
required: false
default: ''
DOCKERHUB_USER:
description: Username for Dockerhub authentication
required: true
DOCKERHUB_PASSWORD:
description: Password for Dockerhub authentication
required: true
GHCR_USER:
description: Username for GHCR authentication
required: true
GHCR_TOKEN:
description: Token for GHCR authentication
required: true
GHCR_PATH:
description: Path for the GitHub container registry
required: true
SPACK_DEPLOYMENT_KEY_PUB:
description: Public key for spack deployments
required: true
Expand All @@ -49,6 +58,7 @@ runs:
echo "${{ inputs.SPACK_DEPLOYMENT_KEY_PUB }}" > ${{ inputs.BUILD_PATH }}/key.pub
echo "${{ inputs.SPACK_DEPLOYMENT_KEY_PRIVATE }}" > ${{ inputs.BUILD_PATH }}/key
aws ecr get-login-password --region us-east-1 | buildah login --username AWS --password-stdin ${{ inputs.AWS_ECR_URL }}
buildah login --username ${{ inputs.DOCKERHUB_USER }} --password ${{ inputs.DOCKERHUB_PASSWORD }} docker.io
buildah login --username ${{ inputs.GHCR_USER }} --password ${{ inputs.GHCR_TOKEN }} ghcr.io
# This is written like that in case $BUILDAH_EXTRA_ARGS has args that require spaces,
# which is tricky with shell variable expansion. Similar to Kaniko, see also:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/spacktainer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
--label ch.epfl.bbpgitlab.ci-commit-branch="$GITHUB_REF_NAME" --build-arg
SPACK_BRANCH=develop
# ' --label org.opencontainers.image.created="$CI_JOB_STARTED_AT"'
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
SPACK_DEPLOYMENT_KEY_PUB: ${{ secrets.SPACK_DEPLOYMENT_KEY_PUB }}
SPACK_DEPLOYMENT_KEY_PRIVATE: ${{ secrets.SPACK_DEPLOYMENT_KEY_PRIVATE }}
runtime-container-job:
Expand Down Expand Up @@ -56,6 +58,8 @@ jobs:
--label ch.epfl.bbpgitlab.ci-commit-branch="$GITHUB_REF_NAME" --build-arg
SPACK_BRANCH=develop
# ' --label org.opencontainers.image.created="$CI_JOB_STARTED_AT"'
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
SPACK_DEPLOYMENT_KEY_PUB: ${{ secrets.SPACK_DEPLOYMENT_KEY_PUB }}
SPACK_DEPLOYMENT_KEY_PRIVATE: ${{ secrets.SPACK_DEPLOYMENT_KEY_PRIVATE }}
spacktainer-build-job:
Expand All @@ -64,10 +68,10 @@ jobs:
spacktainer:
- appositionizer
- brain-indexer
- brayns
# - brayns
- connectome-manipulator
- functionalizer
- multiscale-run
# - multiscale-run
- neurodamus-hippocampus
- neurodamus-neocortex
- system-benchmarks
Expand Down Expand Up @@ -111,5 +115,7 @@ jobs:
--build-arg MIRROR_AUTH_ARG="\"--s3-access-key-id='${{ secrets.AWS_CACHE_ACCESS_KEY_ID }}
--s3-access-key-secret=${{ secrets.AWS_CACHE_SECRET_ACCESS_KEY }}'\""
# ' --label org.opencontainers.image.created="$CI_JOB_STARTED_AT"'
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
SPACK_DEPLOYMENT_KEY_PUB: ${{ secrets.SPACK_DEPLOYMENT_KEY_PUB }}
SPACK_DEPLOYMENT_KEY_PRIVATE: ${{ secrets.SPACK_DEPLOYMENT_KEY_PRIVATE }}
220 changes: 0 additions & 220 deletions .gitlab-ci.yml

This file was deleted.

Loading

0 comments on commit ac8c01f

Please sign in to comment.