Skip to content

Commit 1ed719f

Browse files
committed
Merge pull request #94 from nossas/hotfix/remove-certificate-domains
Domínios: Remover Certificados Automatizados
2 parents f1f7446 + 5fc1888 commit 1ed719f

File tree

14 files changed

+2
-1011
lines changed

14 files changed

+2
-1011
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
branches-ignore:
55
- "*/an-*"
66
- "feature/webhook-an"
7+
tags:
8+
- v*
79
workflow_call:
810
# inputs:
911
# environment:

.github/workflows/publish.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ on:
77
- "hotfix/*"
88
tags:
99
- v*
10-
# paths:
11-
# - "packages/**"
12-
# - "utils/**"
13-
# - "package.json"
14-
# - "Dockerfile"
15-
# - "tsconfig.json"
16-
# - "pnpm-*"
1710
jobs:
1811
tests:
1912
name: Tests for all apis and libs

migrations/metadata/actions.graphql

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ type Mutation {
44
): DomainResult
55
}
66

7-
type Mutation {
8-
create_or_update_certificate(
9-
dns_hosted_zone_id: Int!
10-
): UpdateCertificateResult
11-
}
12-
137
type Mutation {
148
create_record(
159
record: RecordInput
@@ -28,20 +22,6 @@ type Mutation {
2822
): DeleteRecordsResult
2923
}
3024

31-
type Mutation {
32-
resync_mailchimp_start(
33-
is_community: Boolean
34-
id: Int!
35-
): MailchimpStart
36-
}
37-
38-
type Query {
39-
resync_mailchimp_status(
40-
is_community: Boolean
41-
id: Int!
42-
): MailchimpStatus
43-
}
44-
4525
input DomainInput {
4626
domain_name: String!
4727
community_id: Int!

migrations/metadata/actions.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ actions:
55
handler: '{{API_DOMAINS_URL}}/actions/create-domain'
66
permissions:
77
- role: user
8-
- name: create_or_update_certificate
9-
definition:
10-
kind: synchronous
11-
handler: '{{API_DOMAINS_URL}}/actions/create-or-update-certificate'
12-
permissions:
13-
- role: common_user
14-
- role: user
15-
comment: This mutation update routers configuration based on traefik and etcd
168
- name: create_record
179
definition:
1810
kind: synchronous
@@ -31,19 +23,6 @@ actions:
3123
handler: '{{API_DOMAINS_URL}}/actions/delete-record'
3224
permissions:
3325
- role: user
34-
- name: resync_mailchimp_start
35-
definition:
36-
kind: synchronous
37-
handler: '{{ACTION_BASE_URL}}/start-resync-mailchimp'
38-
forward_client_headers: true
39-
permissions:
40-
- role: user
41-
- name: resync_mailchimp_status
42-
definition:
43-
kind: ""
44-
handler: '{{ACTION_BASE_URL}}/status-resync-mailchimp'
45-
permissions:
46-
- role: user
4726
custom_types:
4827
enums: []
4928
input_objects:

migrations/metadata/databases/default/tables/public_certificates.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,3 @@ select_permissions:
3131
community_users:
3232
user_id:
3333
_eq: X-Hasura-User-Id
34-
event_triggers:
35-
- name: check_certificate
36-
definition:
37-
enable_manual: false
38-
insert:
39-
columns: '*'
40-
retry_conf:
41-
interval_sec: 360
42-
num_retries: 20
43-
timeout_sec: 60
44-
webhook: '{{API_DOMAINS_URL}}/events/check-certificate'

migrations/metadata/databases/default/tables/public_dns_hosted_zones.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,3 @@ update_permissions:
7979
user_id:
8080
_eq: X-Hasura-User-Id
8181
check: null
82-
event_triggers:
83-
- name: create_certificate
84-
definition:
85-
enable_manual: true
86-
update:
87-
columns:
88-
- ns_ok
89-
retry_conf:
90-
interval_sec: 10
91-
num_retries: 0
92-
timeout_sec: 60
93-
webhook: '{{API_DOMAINS_URL}}/events/create-certificate'

0 commit comments

Comments
 (0)