Skip to content

Commit 68c7352

Browse files
[web-5187] Workflows automation refactoring (DataDog#24649)
* initial commit Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * updates Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * template updates Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * updates Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * refactoring action catalog template Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * try with cache disabled Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * removes translated workflow details pages Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * needed to provide a base path Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * fixing search Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * remove console logs Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * fixing prod pull config Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * make action name part of data attr Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * Update local/bin/py/build/configurations/pull_config_preview.yaml Co-authored-by: StefonSimmons <57869435+StefonSimmons@users.noreply.github.com> * add default logo Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * fix Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> * Resets cache flag Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> --------- Signed-off-by: Brian Deutsch <brian.deutsch@datadoghq.com> Co-authored-by: StefonSimmons <57869435+StefonSimmons@users.noreply.github.com>
1 parent e6b23e1 commit 68c7352

33 files changed

+74
-822
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ Makefile.config
229229
# data
230230
data/permissions.json
231231
data/agent_config.json
232+
data/workflow_bundles.json
232233

233234
agent_config_types_list.txt
234235

Makefile

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,11 @@ node_modules: package.json yarn.lock
9494
@yarn install --immutable
9595

9696
source-dd-source:
97-
$(call source_repo,dd-source,https://github.com/DataDog/dd-source.git,main,true,domains/workflow/actionplatform/apps/tools/manifest_generator domains/workflow/actionplatform/apps/wf-actions-worker/src/runner/bundles/)
97+
$(call source_repo,dd-source,https://github.com/DataDog/dd-source.git,main,true,domains/workflow/actionplatform/documentation/stable_bundles.json)
9898

9999
# All the requirements for a full build
100100
dependencies: clean source-dd-source
101-
make hugpython all-examples data/permissions.json update_pre_build node_modules placeholders derefs
102-
103-
# make directories
104-
data/workflows/:
105-
mkdir -p $@
106-
107-
# dereference any source jsonschema files
108-
derefs: $(patsubst integrations_data/extracted/dd-source/domains/workflow/actionplatform/apps/wf-actions-worker/src/runner/bundles/%/manifest.json, data/workflows/%.json, $(wildcard integrations_data/extracted/dd-source/domains/workflow/actionplatform/apps/wf-actions-worker/src/runner/bundles/*/manifest.json))
109-
110-
data/workflows/%.json : integrations_data/extracted/dd-source/domains/workflow/actionplatform/apps/wf-actions-worker/src/runner/bundles/%/manifest.json node_modules | data/workflows/
111-
@node ./assets/scripts/workflow-process.js $< $@
101+
make hugpython all-examples data/permissions.json update_pre_build node_modules placeholders
112102

113103
# builds permissions json from rbac
114104
# Always run if PULL_RBAC_PERMISSIONS or we are running in gitlab e.g CI_COMMIT_REF_NAME exists

assets/scripts/components/grouped-item-listings.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,12 @@ export function initializeGroupedListings() {
116116
const activeCategory = document.querySelector('.controls .active');
117117
const activeCategoryFilter = (activeCategory) ? activeCategory.dataset.filter : '';
118118

119-
if(searchValue){
119+
if (searchValue) {
120120
url.searchParams.set('search', searchValue)
121-
}else{
121+
} else {
122122
url.searchParams.delete('search')
123123
}
124+
124125
clearTimeout(keyupTimeout);
125126

126127
keyupTimeout = setTimeout(() => {

assets/scripts/workflow-process.js

Lines changed: 0 additions & 48 deletions
This file was deleted.

content/ja/service_management/workflows/actions_catalog/aws_acm_deleteCertificate.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

content/ja/service_management/workflows/actions_catalog/aws_acm_describeCertificate.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

content/ja/service_management/workflows/actions_catalog/aws_acm_listCertificates.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

content/ja/service_management/workflows/actions_catalog/aws_acm_renewCertificate.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

content/ja/service_management/workflows/actions_catalog/aws_acm_requestPrivateCertificate.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

content/ja/service_management/workflows/actions_catalog/aws_acm_requestPublicCertificate.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)