Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
935c5093
Unverified
Commit
935c5093
authored
4 years ago
by
Maxime Guyot
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Enable OVH CI (#6365)
parent
6bb47d8a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci/terraform.yml
+52
-10
52 additions, 10 deletions
.gitlab-ci/terraform.yml
tests/files/tf-ovh_ubuntu18-calico.yml
+7
-0
7 additions, 0 deletions
tests/files/tf-ovh_ubuntu18-calico.yml
with
59 additions
and
10 deletions
.gitlab-ci/terraform.yml
+
52
−
10
View file @
935c5093
...
...
@@ -101,16 +101,16 @@ tf-validate-aws:
# TF_VAR_public_key_path: ""
# TF_VAR_operating_system: ubuntu_18_04
#
.ovh_variables: &ovh_variables
#
OS_AUTH_URL: https://auth.cloud.ovh.net/v3
#
OS_PROJECT_ID: 8d3cd5d737d74227ace462dee0b903fe
#
OS_PROJECT_NAME: "9361447987648822"
#
OS_USER_DOMAIN_NAME: Default
#
OS_PROJECT_DOMAIN_ID: default
#
OS_USERNAME: 8XuhBMfkKVrk
#
OS_REGION_NAME: UK1
#
OS_INTERFACE: public
#
OS_IDENTITY_API_VERSION: "3"
.ovh_variables
:
&ovh_variables
OS_AUTH_URL
:
https://auth.cloud.ovh.net/v3
OS_PROJECT_ID
:
8d3cd5d737d74227ace462dee0b903fe
OS_PROJECT_NAME
:
"
9361447987648822"
OS_USER_DOMAIN_NAME
:
Default
OS_PROJECT_DOMAIN_ID
:
default
OS_USERNAME
:
8XuhBMfkKVrk
OS_REGION_NAME
:
UK1
OS_INTERFACE
:
public
OS_IDENTITY_API_VERSION
:
"
3"
# Elastx is generously donating resources for Kubespray on Openstack CI
# Contacts: @gix @bl0m1
...
...
@@ -172,3 +172,45 @@ tf-elastx_ubuntu18-calico:
TF_VAR_flavor_k8s_node
:
3f73fc93-ec61-4808-88df-2580d94c1a9b
# v1-standard-2
TF_VAR_image
:
ubuntu-18.04-server-latest
TF_VAR_k8s_allowed_remote_ips
:
'
["0.0.0.0/0"]'
tf-ovh_cleanup
:
stage
:
unit-tests
tags
:
[
light
]
image
:
python
environment
:
ovh
variables
:
<<
:
*ovh_variables
before_script
:
-
pip install -r scripts/openstack-cleanup/requirements.txt
script
:
-
./scripts/openstack-cleanup/main.py
tf-ovh_ubuntu18-calico
:
extends
:
.terraform_apply
when
:
on_success
environment
:
ovh
variables
:
<<
:
*ovh_variables
TF_VERSION
:
0.12.24
PROVIDER
:
openstack
CLUSTER
:
$CI_COMMIT_REF_NAME
ANSIBLE_TIMEOUT
:
"
60"
SSH_USER
:
ubuntu
TF_VAR_number_of_k8s_masters
:
"
0"
TF_VAR_number_of_k8s_masters_no_floating_ip
:
"
1"
TF_VAR_number_of_k8s_masters_no_floating_ip_no_etcd
:
"
0"
TF_VAR_number_of_etcd
:
"
0"
TF_VAR_number_of_k8s_nodes
:
"
0"
TF_VAR_number_of_k8s_nodes_no_floating_ip
:
"
1"
TF_VAR_number_of_gfs_nodes_no_floating_ip
:
"
0"
TF_VAR_number_of_bastions
:
"
0"
TF_VAR_number_of_k8s_masters_no_etcd
:
"
0"
TF_VAR_use_neutron
:
"
0"
TF_VAR_floatingip_pool
:
"
Ext-Net"
TF_VAR_external_net
:
"
6011fbc9-4cbf-46a4-8452-6890a340b60b"
TF_VAR_network_name
:
"
Ext-Net"
TF_VAR_flavor_k8s_master
:
"
defa64c3-bd46-43b4-858a-d93bbae0a229"
# s1-8
TF_VAR_flavor_k8s_node
:
"
defa64c3-bd46-43b4-858a-d93bbae0a229"
# s1-8
TF_VAR_image
:
"
Ubuntu
18.04"
TF_VAR_k8s_allowed_remote_ips
:
'
["0.0.0.0/0"]'
This diff is collapsed.
Click to expand it.
tests/files/tf-ovh_ubuntu18-calico.yml
0 → 100644
+
7
−
0
View file @
935c5093
---
dns_min_replicas
:
1
deploy_netchecker
:
true
sonobuoy_enabled
:
true
# Ignore ping errors
ignore_assert_errors
:
true
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment