Skip to content

Commit

Permalink
fix: enable tls tests by default
Browse files Browse the repository at this point in the history
Signed-off-by: ankitm123 <ankitmohapatra123@gmail.com>
  • Loading branch information
ankitm123 committed Jul 4, 2022
1 parent f63336f commit 1ace98c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
10 changes: 7 additions & 3 deletions .lighthouse/jenkins-x/bdd/terraform-tls.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ spec:
value: "/tmp/kubecfg"
- name: TF_VAR_jx_git_url
value: https://github.com/jenkins-x-bdd/cluster-{{ .Env.TF_VAR_cluster_name }}-dev.git
- name: TF_VAR_node_spot
value: "true"
- name: TF_VAR_kuberhealthy
value: "false"
- name: TF_VAR_jx_bot_username
value: jenkins-x-bot-bdd
- name: TF_VAR_jx_bot_token
Expand Down Expand Up @@ -61,9 +65,9 @@ spec:
echo "Removing kubernetes resources from state"
terraform state rm 'module.jx.module.cluster.helm_release.jx-git-operator[0]'
terraform state rm 'module.jx.module.cluster.kubernetes_config_map.jenkins_x_requirements[0]'
terraform state rm 'module.jx.module.cluster.module.jx-health[0].helm_release.cluster-checks'
terraform state rm 'module.jx.module.cluster.module.jx-health[0].helm_release.health-checks-install'
terraform state rm 'module.jx.module.cluster.module.jx-health[0].helm_release.kuberhealthy'
terraform state rm 'module.jx.module.cluster.module.jx-health[0].helm_release.cluster-checks' || echo "Resource does not exist"
terraform state rm 'module.jx.module.cluster.module.jx-health[0].helm_release.health-checks-install' || echo "Resource does not exist"
terraform state rm 'module.jx.module.cluster.module.jx-health[0].helm_release.kuberhealthy' || echo "Resource does not exist"

echo "lets connect to the remote cluster"
$(terraform output -raw connect)
Expand Down
2 changes: 1 addition & 1 deletion .lighthouse/jenkins-x/bdd/terraform.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:

echo "lets verify the log completes"
jx admin log -b

echo "installing the BDD test"
export GIT_ORGANISATION="jenkins-x-bdd"
export TEST_NAME="test-create-spring"
Expand Down
2 changes: 1 addition & 1 deletion .lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ spec:
name: podinfo
podTemplate: {}
serviceAccountName: bdd-bot
timeout: 240h0m0s
timeout: 2h0m0s
status: {}
4 changes: 2 additions & 2 deletions .lighthouse/jenkins-x/triggers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
source: "pullrequest-gitea.yaml"
- name: gsm
context: "gsm"
always_run: true
always_run: false
optional: false
trigger: (?m)^/test( all| gsm),?(s+|$)
rerun_command: /test gsm
Expand Down Expand Up @@ -81,7 +81,7 @@ spec:
source: "pullrequest.yaml"
- name: tls
context: "tls"
always_run: false
always_run: true
optional: false
trigger: (?m)^/test( all| tls),?(s+|$)
rerun_command: /test tls
Expand Down
2 changes: 1 addition & 1 deletion charts/jxgh/acme-jx/defaults.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
gitUrl: https://github.com/jenkins-x/acme
version: 0.0.24
version: 0.0.26
namespace: jx

0 comments on commit 1ace98c

Please sign in to comment.