Skip to content

Commit

Permalink
[E2E] - Fixing E2E Build (#736)
Browse files Browse the repository at this point in the history
Fixing the E2E build
  • Loading branch information
gambol99 committed May 17, 2023
1 parent 2daec2e commit bb435de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/e2e/integration/clean-protection.bats
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ teardown() {
@test "We should be able to redeploy the controller with namespace protection disabled" {
CHART="charts/terranetes-controller"

if [[ "${USE_CHART}" == "true" ]]; then
if [[ "${USE_CHART}" == "false" ]]; then
cat <<EOF > ${BATS_TMPDIR}/my_values.yaml
replicaCount: 1
controller:
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/integration/custom-state-backend.bats
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ EOF
@test "We should be able to update the controller to use a custom backend" {
CHART="charts/terranetes-controller"

if [[ "${USE_CHART}" == "true" ]]; then
if [[ "${USE_CHART}" == "false" ]]; then
cat <<EOF > ${BATS_TMPDIR}/my_values.yaml
controller:
backendTemplate: terraform-backend-config
Expand Down Expand Up @@ -208,7 +208,7 @@ EOF
@test "We should be able to revert the changes to the terranetes controller" {
CHART="charts/terranetes-controller"

if [[ "${USE_CHART}" == "true" ]]; then
if [[ "${USE_CHART}" == "false" ]]; then
cat <<EOF > ${BATS_TMPDIR}/my_values.yaml
replicaCount: 1
controller:
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/integration/setup.bats
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ teardown() {
@test "We should be able to deploy the helm chart" {
CHART="charts/terranetes-controller"

if [[ ${USE_CHART} == true ]]; then
if [[ ${USE_CHART} == "false" ]]; then
cat <<EOF > ${BATS_TMPDIR}/my_values.yaml
replicaCount: 1
controller:
Expand Down

0 comments on commit bb435de

Please sign in to comment.