Skip to content

Commit 08a3834

Browse files
authored
Supporting marketplace integrations from APW (#28811)
* template and style update Signed-off-by: Brian Deutsch <[email protected]> * Remove marketplace Signed-off-by: Brian Deutsch <[email protected]> --------- Signed-off-by: Brian Deutsch <[email protected]>
1 parent a1a21e3 commit 08a3834

File tree

4 files changed

+47
-37
lines changed

4 files changed

+47
-37
lines changed

assets/styles/components/_integrations.scss

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ $screen-md-max: ($screen-lg-min - 1) !default;
3636
}
3737

3838
table {
39+
table-layout: fixed;
3940
tr {
4041
th:empty {
4142
display: none;

layouts/integrations/_markup/render-image.html

+10-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,19 @@
55
Anything else attempts to load from dd-app-listings bucket
66
*/
77
-}}
8-
{{- $app_id := .Page.Params.integration_id | default .Page.Params.name -}}
8+
99
{{- $img := replaceRE `(./)?images/` "" .Destination -}}
1010
{{- $url := split $img "/" -}}
1111
{{- $app_listings_bucket := cond (eq hugo.Environment "live") "dd-app-listings" "dd-app-listings-staging" -}}
12+
{{- $app_id := "" -}}
13+
14+
{{- if .Page.Params.app_id -}}
15+
{{- $app_id = .Page.Params.app_id -}}
16+
{{- else if .Page.Params.integration_id -}}
17+
{{- $app_id = .Page.Params.integration_id -}}
18+
{{- else -}}
19+
{{- $app_id = .Page.Params.name -}}
20+
{{- end -}}
1221

1322
{{- if or (strings.Contains .Destination "https://raw.githubusercontent.com") (strings.Contains .Destination "https://s3.amazonaws.com/") -}}
1423
<img src="{{ (.Destination | safeURL) }}"

local/bin/py/build/configurations/pull_config.yaml

+18-18
Original file line numberDiff line numberDiff line change
@@ -124,24 +124,24 @@
124124
- "*/README.md"
125125
- "*/datadog_checks/*/__about__.py"
126126

127-
- repo_name: marketplace
128-
contents:
129-
130-
- action: marketplace-integrations
131-
branch: master
132-
globs:
133-
- "*/metadata.csv"
134-
- "*/manifest.json"
135-
- "*/assets/service_checks.json"
136-
- "*/README.md"
137-
- "*/images/*.png"
138-
- "*/images/*.jpg"
139-
- "*/images/*.jpeg"
140-
- "*/images/*.svg"
141-
options:
142-
front_matters:
143-
algolia:
144-
subcategory: Marketplace Integrations
127+
# - repo_name: marketplace
128+
# contents:
129+
130+
# - action: marketplace-integrations
131+
# branch: master
132+
# globs:
133+
# - "*/metadata.csv"
134+
# - "*/manifest.json"
135+
# - "*/assets/service_checks.json"
136+
# - "*/README.md"
137+
# - "*/images/*.png"
138+
# - "*/images/*.jpg"
139+
# - "*/images/*.jpeg"
140+
# - "*/images/*.svg"
141+
# options:
142+
# front_matters:
143+
# algolia:
144+
# subcategory: Marketplace Integrations
145145

146146
- repo_name: ansible-datadog
147147
contents:

local/bin/py/build/configurations/pull_config_preview.yaml

+18-18
Original file line numberDiff line numberDiff line change
@@ -124,24 +124,24 @@
124124
- "*/README.md"
125125
- "*/datadog_checks/*/__about__.py"
126126

127-
- repo_name: marketplace
128-
contents:
129-
130-
- action: marketplace-integrations
131-
branch: master
132-
globs:
133-
- "*/metadata.csv"
134-
- "*/manifest.json"
135-
- "*/assets/service_checks.json"
136-
- "*/README.md"
137-
- "*/images/*.png"
138-
- "*/images/*.jpg"
139-
- "*/images/*.jpeg"
140-
- "*/images/*.svg"
141-
options:
142-
front_matters:
143-
algolia:
144-
subcategory: Marketplace Integrations
127+
# - repo_name: marketplace
128+
# contents:
129+
130+
# - action: marketplace-integrations
131+
# branch: master
132+
# globs:
133+
# - "*/metadata.csv"
134+
# - "*/manifest.json"
135+
# - "*/assets/service_checks.json"
136+
# - "*/README.md"
137+
# - "*/images/*.png"
138+
# - "*/images/*.jpg"
139+
# - "*/images/*.jpeg"
140+
# - "*/images/*.svg"
141+
# options:
142+
# front_matters:
143+
# algolia:
144+
# subcategory: Marketplace Integrations
145145

146146

147147
- repo_name: ansible-datadog

0 commit comments

Comments
 (0)