Skip to content

Commit

Permalink
CI: drop CircleCI configuration file and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle committed Mar 26, 2024
1 parent f8b2446 commit 3336b60
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 173 deletions.
72 changes: 0 additions & 72 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,76 +16,4 @@ jobs:
POSTGRES_USER: postgres
POSTGRES_HOST_AUTH_METHOD: trust
environment:
BUNDLE_PATH: vendor/bundle
steps:
- checkout
- ruby/install-deps
- run:
name: "Set up DB"
command: |
bundle exec rails db:setup db:migrate
- run:
name: "Run tests"
command: script/ci/pipeline.sh tests "bundle exec rake"
- store_test_results:
path: tmp/test-results
- store_artifacts:
destination: test-results
path: tmp/test-results

prepare_app_image:
environment:
APP_NAMES: |
ci-pipeline
resource_class: medium
docker:
- image: cimg/base:stable
steps:
- heroku/install
- checkout
- setup_remote_docker:
version: default
docker_layer_caching: false

- run:
name: "Checking if we should wait on an older build or cancel redundant ones"
command: script/ci/wait_on_older_build_and_cancel_redundant_ones.sh

- run:
name: "Preparing app image"
command: |
script/ci/pipeline.sh prepare_image "script/ci/prepare_app_image.sh"
deploy_to_production:
resource_class: small
docker:
- image: cimg/base:stable
steps:
- heroku/install
- checkout
- run:
name: "Checking if we should wait on an older build or cancel redundant ones"
command: script/ci/wait_on_older_build_and_cancel_redundant_ones.sh
- run:
name: "Deploying to production"
command: |
script/ci/pipeline.sh deploy_production "script/ci/deploy.sh ci-pipeline"
workflows:
version: 2
test_and_deploy:
jobs:
- test:
context: shared-config
- prepare_app_image:
context: shared-config
- deploy_to_production:
context: shared-config
requires:
- test
- prepare_app_image
filters:
branches:
only:
- master
28 changes: 0 additions & 28 deletions script/ci/prepare_app_image.sh

This file was deleted.

73 changes: 0 additions & 73 deletions script/ci/wait_on_older_build_and_cancel_redundant_ones.sh

This file was deleted.

0 comments on commit 3336b60

Please sign in to comment.