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

[hotfix] remove deprecated database tasks from pipeline #81

Merged
merged 1 commit into from
Mar 21, 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
17 changes: 0 additions & 17 deletions gocd/deploy.pipeline.gocd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,23 +89,6 @@ common:
arguments:
- -c
- ./tasks tf_apply_db_roles
# Applies permissions for migration_role
- exec:
command: /bin/bash
arguments:
- -c
- ./tasks grant_db_permissions
- exec:
command: /bin/bash
arguments:
- -c
- ./tasks run_db_migrations
# Applies permissions for application_role for tables created during migration
- exec:
command: /bin/bash
arguments:
- -c
- ./tasks grant_db_permissions
- exec:
command: /bin/bash
arguments:
Expand Down
3 changes: 0 additions & 3 deletions terraform-db-roles/application-role.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# We need to grant permissions to DB tables after migrations ran at least once.
# See ./tasks grant_db_permissions

resource "postgresql_role" "application_role" {
name = "application_role"
}
Expand Down
3 changes: 0 additions & 3 deletions terraform-db-roles/migration-role.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# We need to grant permissions to DB tables after migrations ran at least once.
# See ./tasks grant_db_permissions

resource "postgresql_role" "migration_role" {
name = "migration_role"
}
Expand Down
Loading