8000 feat(api, worker): openstack integration storage (#3900) · ovh/cds@c713968 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit c713968

Browse files
authored
feat(api, worker): openstack integration storage (#3900)
* feat(api, worker): openstack integration storage artifactUpload, artifactDownlaod, ServeStaticFiles Actions - and worker cache command can now use a dedicated openstack tenant Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
1 parent 1c46aae commit c713968

File tree

87 files changed

+1323
-910
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+1323
-910
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ cover.html
2121
.bash_aliases
2222
npm-debug.log
2323
debug.test
24+
myOpenstackIntegration.yml
25+
test_results.yml
26+
*.dump
2427
.tmp
2528
contrib/**/dist
2629

contrib/README.md

Lines changed: 12 additions & 7 deletions
F438
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,30 @@ CDS support several kind of extensions:
66

77
- Actions
88
- Plugins
9-
- Secret Backends
9+
- worker-models
10+
- workflow-templates
1011
- µServices
1112

1213
See [CDS documentation](https://github.com/ovh/cds) for more details.
1314

1415
## Actions
1516

16-
See [User Actions Documentation](https://ovh.github.io/cds/workflows/pipelines/pipelines.actions/)
17+
See [User Actions Documentation](https://ovh.github.io/cds/workflows/pipelines/actions/user/)
1718

1819
## Plugins
1920

20-
See [Plugins Documentation](https://ovh.github.io/cds/workflows/pipelines/pipelines.actions.user-actions/)
21+
See [Plugins Documentation](https://ovh.github.io/cds/workflows/pipelines/actions/plugins/)
22+
23+
## Worker Models
24+
25+
See [Worker Models Documentation](https://ovh.github.io/cds/workflows/pipelines/requirements/worker-model/)
26+
27+
## Workflow Templates
28+
29+
See [Workflow Templates Documentation](https://ovh.github.io/cds/workflows/template/)
2130

2231
## µServices
2332

2433
- [cds2es](https://github.com/ovh/cds/tree/master/contrib/uservices/cds2es)
2534
- [cds2http](https://github.com/ovh/cds/tree/master/contrib/uservices/cds2http)
2635
- [Hubot XMPP](https://github.com/ovh/cds/tree/master/contrib/uservices/hubot-xmpp)
27-
28-
## Contributions
29-
30-
By convention, plugins must have prefix `plugin`.

contrib/integrations/arsenal/plugin-arsenal/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ BUILDTIME := `date "+%m/%d/%y-%H:%M:%S"`
77
TARGET_DIR = ./dist
88
TARGET_NAME = arsenal
99

10-
PLUGIN_MANIFEST=`echo $TARGET_NAME.yml`
10+
PLUGIN_MANIFEST=`echo plugin.yml`
1111
export PLUGIN_MANIFEST
1212

1313
define PLUGIN_MANIFEST_BINARY
@@ -33,7 +33,7 @@ clean:
3333
@rm -rf $(TARGET_DIR)
3434

3535
build: $(TARGET_DIR)
36-
@cp $(TARGET_NAME).yml $(TARGET_DIR)/plugin.yml
36+
@cp plugin.yml $(TARGET_DIR)/plugin.yml
3737
@for GOOS in $(TARGET_OS); do \
3838
for GOARCH in $(TARGET_ARCH); do \
3939
EXTENSION=""; \
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: arsenal-deployment-plugin
22
type: integration-deploy_application
33
integration: Arsenal
4-
author: "François Samin"
4+
author: "OVH SAS"
55
description: "OVH Arsenal Deployment Plugin"
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: hello-deployment-plugin
2-
type: integration
2+
type: integration-deploy_application
33
integration: Hello
4-
author: "Yvonnick Esnault"
4+
author: "OVH SAS"
55
description: "Hello Example Deployment Plugin"

contrib/integrations/kubernetes/plugin-kubernetes/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ BUILDTIME := `date "+%m/%d/%y-%H:%M:%S"`
77
TARGET_DIR = ./dist
88
TARGET_NAME = kubernetes
99

10-
PLUGIN_MANIFEST=`echo $TARGET_NAME.yml`
10+
PLUGIN_MANIFEST=`echo plugin.yml`
1111
export PLUGIN_MANIFEST
1212

1313
define PLUGIN_MANIFEST_BINARY
@@ -37,7 +37,7 @@ clean:
3737
@rm -rf $(TARGET_DIR)
3838

3939
build: $(TARGET_DIR)
40-
@cp $(TARGET_NAME).yml $(TARGET_DIR)/plugin.yml
40+
@cp plugin.yml $(TARGET_DIR)/plugin.yml
4141
@for GOOS in $(TARGET_OS); do \
4242
for GOARCH in $(TARGET_ARCH); do \
4343
EXTENSION=""; \
@@ -60,6 +60,6 @@ publish:
6060
EXTENSION=""; \
6161
if test "$$GOOS" = "windows" ; then EXTENSION=".exe"; fi; \
6262
echo "Updating plugin binary $(TARGET_NAME)-$$GOOS-$$GOARCH$$EXTENSION"; \
63-
cdsctl admin plugins binary-add kubernetes-deployment-plugin $(TARGET_DIR)/plugin-$$GOOS-$$GOARCH.yml $(TARGET_DIR)/$(TARGET_NAME)-$$GOOS-$$GOARCH$$EXTENSION; \
63+
cdsctl admin plugins binary-add plugin-kubernetes-deployment $(TARGET_DIR)/plugin-$$GOOS-$$GOARCH.yml $(TARGET_DIR)/$(TARGET_NAME)-$$GOOS-$$GOARCH$$EXTENSION; \
6464
done; \
6565
done
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: kubernetes-deployment-plugin
2-
type: integration
1+
name: plugin-kubernetes-deployment
2+
type: integration-deploy_application
33
integration: Kubernetes
4-
author: "Benjamin Coenen"
4+
author: "OVH SAS"
55
description: "Kubernetes Deployment Plugin"

0 commit comments

Comments
 (0)
0