Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jobs: remove postgres job #7

Merged
merged 3 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/atlas-orb@0.0.1
atlas-orb: ariga/atlas-orb@0.0.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.