Return to simple CircleCI config

This commit is contained in:
Eugene Burmakin 2025-02-03 20:00:50 +01:00
parent 15e2fde2f2
commit 1a67878aaf

View file

@ -1,14 +1,8 @@
version: 2.1 version: 2.1
executors:
docker-executor:
machine:
image: ubuntu-2204:current
orbs: orbs:
ruby: circleci/ruby@2.1.4 ruby: circleci/ruby@2.1.4
browser-tools: circleci/browser-tools@1.4.8 browser-tools: circleci/browser-tools@1.4.8
docker: circleci/docker@2.8.2
jobs: jobs:
test: test:
@ -22,6 +16,7 @@ jobs:
POSTGRES_DB: test_database POSTGRES_DB: test_database
POSTGRES_PASSWORD: mysecretpassword POSTGRES_PASSWORD: mysecretpassword
- image: redis:7.0 - image: redis:7.0
steps: steps:
- checkout - checkout
- run: - run:
@ -41,29 +36,7 @@ jobs:
- store_artifacts: - store_artifacts:
path: coverage path: coverage
workflows: workflows:
version: 2 rspec:
test:
jobs: jobs:
- test - test
build-docker-image-only:
jobs:
- docker/publish:
image: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
update-description: true
build-docker-image-only-with-buildkit:
jobs:
- docker/publish:
image: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
dockerfile: ./docker/Dockerfile.dev
remote-docker-version: 20.10.12
update-description: true
use-buildkit: true
use-remote-docker: true
use-docker-credentials-store: true
tag: "rc"
docker-username: DOCKERHUB_USERNAME
docker-password: DOCKERHUB_TOKEN