Skip to content

Commit

Permalink
jobs: remove postgres job (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm authored Apr 30, 2024
1 parent cd8ff8f commit d4a71b2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 116 deletions.
7 changes: 0 additions & 7 deletions .circleci/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@ workflows:
requires:
- command-test-setup
- command-test-migrate-push
- atlas-orb/postgres:
context: ariga-atlas
filters: *filters
working_directory: testdata
dir_name: my-cool-project
search_path: public
# The orb must be re-packed for publishing, and saved to the workspace.
- orb-tools/pack:
filters: *release-filters
Expand All @@ -123,6 +117,5 @@ workflows:
- orb-tools/pack
- command-test-setup
- command-test-migrate-push
- atlas-orb/postgres
context: orb-publisher
filters: *release-filters
22 changes: 18 additions & 4 deletions src/examples/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,24 @@ description: >
usage:
version: 2.1
orbs:
atlas-orb: ariga/[email protected].1
atlas-orb: ariga/[email protected].3
workflows:
postgres-dir:
postgres-example:
jobs:
- atlas-orb/postgres:
- push-dir:
context: the-context-has-ATLAS_TOKEN
dir_name: "my-cool-project"
docker:
- image: cimg/base:current
- image: cimg/postgres:16.2
environment:
POSTGRES_USER: postgres
POSTGRES_DB: postgres
POSTGRES_PASSWORD: pass
steps:
- checkout
- atlas-orb/setup:
version: "latest"
cloud_token_env: "ATLAS_TOKEN"
- atlas-orb/migrate_push:
dir_name: my-cool-project
dev_url: postgres://postgres:pass@localhost:5432/postgres?sslmode=disable
105 changes: 0 additions & 105 deletions src/jobs/postgres.yml

This file was deleted.

0 comments on commit d4a71b2

Please sign in to comment.