Skip to content

Commit

Permalink
Move artifacts up before releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
clemens-tolboom committed Dec 13, 2023
1 parent 1849bd6 commit ef2aea4
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,27 @@ jobs:
git config user.name "molgenis-jenkins"
git config url.https://.insteadOf git://
- run:
name: Build Armadillo and R CICD image
command: |
./gradlew docker
./docker/bin/prepare.bash ci
- store_artifacts:
path: build/libs

- run:
name: Zip armadillo-compose
command: |
cd $CIRCLE_WORKING_DIRECTORY
mkdir build/artifacts
cd build/docker/
zip -r build/artifacts/armadillo-compose.zip armadillo-compose
- store_artifacts:
path: build/artifacts/armadillo-compose.zip

- run:
name: build, test, push docker
command: |
Expand All @@ -108,15 +129,6 @@ jobs:
-Dorg.ajoberstar.grgit.auth.username=${GITHUB_TOKEN} -Dorg.ajoberstar.grgit.auth.password
fi
- store_artifacts:
path: build/libs

- run:
name: Build Armadillo and R CICD image
command: |
./gradlew docker
./docker/bin/prepare.bash ci
- run:
name: Make sure all images declared in docker-compose.yml are available and ready
command: |
Expand Down Expand Up @@ -175,21 +187,6 @@ jobs:
docker images ls
docker compose rm
- store_artifacts:
path: build/libs

- run:
name: Zip armadillo-compose
command: |
cd $CIRCLE_WORKING_DIRECTORY
mkdir build/artifacts
cd build/docker/
zip -r $K/build/artifacts/armadillo-compose.zip armadillo-compose
- store_artifacts:
path: build/artifacts/armadillo-compose.zip

workflows:
build-deploy:
Expand Down

0 comments on commit ef2aea4

Please sign in to comment.