From eee3e0d5a4f955edafa944395ad18add8712de11 Mon Sep 17 00:00:00 2001 From: "Paul P.H. Wilson" Date: Tue, 19 Sep 2023 07:21:18 -0500 Subject: [PATCH] remove reference to CircleCI --- circle.yml | 179 ----------------------------------------------------- 1 file changed, 179 deletions(-) delete mode 100644 circle.yml diff --git a/circle.yml b/circle.yml deleted file mode 100644 index 0495b0a626..0000000000 --- a/circle.yml +++ /dev/null @@ -1,179 +0,0 @@ -version: 2 -jobs: - # Update docker container - deploy_latest: # Cyclus/dev -> Cyclus:latest - docker: - - image: circleci/ruby:2.4-node - working_directory: ~/cyclus - steps: - # Ensure your image has git (required by git to clone via SSH) so that CircleCI can clone your repo - - checkout - - run: - name: Place the proper Dockerfile - command: cp docker/cyclus-ci/Dockerfile . - - setup_remote_docker - - run: - name: log into Docker - command: | - docker login -u $DOCKER_USER -p $DOCKER_PASS - - run: - name: Build Docker container - command: docker build --rm=false -t cyclus/cyclus:latest . - - run: - name: Push on DockerHub - command: docker push cyclus/cyclus:latest # push to docker depot - - deploy_stable: - docker: # Cyclus/master -> Cyclus:stable - - image: circleci/ruby:2.4-node - working_directory: ~/cyclus - steps: - - checkout - - run: - name: Place the proper Dockerfile - command: cp docker/cyclus-ci/Dockerfile . - - setup_remote_docker - - run: - name: Log on DockerHub - command: | - docker login -u $DOCKER_USER -p $DOCKER_PASS - - run: - name: Tag and Push on DockerHub - command: | - docker tag cyclus/cyclus:latest cyclus/cyclus:stable # creation - docker push cyclus/cyclus:stable # push to docker depot - - - # Debian package generation (on master update) - deb_generation: - docker: - - image: circleci/ruby:2.4-node - working_directory: ~/cyclus - steps: - - checkout - - setup_remote_docker - - run: - name: Tag and Push on DockerHub - command: | - docker/deb-ci/build_upload_deb.sh 14 - docker/deb-ci/build_upload_deb.sh 16 - -# Checking Cycamore and Cymetric compatibilities with the changes - cycamore_master: ## Cycamore/master against Cyclus/dev - docker: - - image: cyclus/cyclus-deps - working_directory: /root - steps: - # Ensure your image has git (required by git to clone via SSH) so that CircleCI can clone your repo - - run: apt-get -qq update; apt-get -y install git openssh-client - - run: - name: save SHA to a file - command: echo $CIRCLE_SHA1 > .circle-sha - - restore_cache: - keys: - - v1-repo-{{ checksum ".circle-sha" }} - - run: - name: Checkout Cycamore Master - command: | - git clone https://github.com/cyclus/cycamore.git - cd cycamore - git fetch --all - git checkout master - - run: - name: Build Cycamore - command: | - cd cycamore - python install.py -j 2 --build-type=Release \ - -DBLAS_LIBRARIES="/opt/conda/lib/libblas.so" \ - -DLAPACK_LIBRARIES="/opt/conda/lib/liblapack.so" - - run: - name: Unit Test - command: /root/.local/bin/cycamore_unit_tests; exit $? - - run: - name: Nosetests - command: nosetests -w ~/cycamore/tests; exit $? - - cymetric_master: ## Cymetric/master against Cyclus/dev + Cycamore/dev - docker: - - image: cyclus/cyclus-deps - working_directory: /root - steps: - # Ensure your image has git (required by git to clone via SSH) so that CircleCI can clone your repo - - run: apt-get -qq update; apt-get -y install git openssh-client - - run: - name: save SHA to a file - command: echo $CIRCLE_SHA1 > .circle-sha - - restore_cache: - keys: - - v1-repo-{{ checksum ".circle-sha" }} - - run: - name: Checkout Cycamore Master - command: | - git clone https://github.com/cyclus/cycamore.git - cd cycamore - git fetch --all - git checkout master - - run: - name: Build Cycamore - command: | - cd cycamore - python install.py -j 2 --build-type=Release \ - -DBLAS_LIBRARIES="/opt/conda/lib/libblas.so" \ - -DLAPACK_LIBRARIES="/opt/conda/lib/liblapack.so" - - run: cd ~/ - - run: - name: Checkout Cymetric Master - command: | - git clone https://github.com/cyclus/cymetric.git - cd cymetric - git fetch --all - git checkout master - - run: - name: Build/Install Cymetric - command: | - cd cymetric - python setup.py install - - run: - name: Cymetric Nosetest - command: nosetests -w ~/cymetric/tests; exit $? - - # some external triggers - cyXX_trig: - machine: true - steps: - - run: - name: Cymetric/Cycamore Master Triggers - command: | - curl -X POST https://circleci.com/api/v1.1/project/github/cyclus/cycamore/tree/master?circle-token=$CYCAMORE_CIRCLE_TOKEN - curl -X POST https://circleci.com/api/v1.1/project/github/cyclus/cymetric/tree/master?circle-token=$CYMETRIC_CIRCLE_TOKEN - -workflows: - version: 2 #Needed ?? (already on the top of the file) - build_and_test: - jobs: - - # Merge on Master - - deploy_latest: - filters: - branches: - only: master - - cyXX_trig: - filters: - branches: - only: master - requires: - - deploy_latest - - # The following should now be done on version tag. - - deploy_stable: - filters: - branches: - ignore: /.*/ - tags: - only: /.*/ - - deb_generation: - filters: - branches: - ignore: /.*/ - tags: - only: /.*/