diff --git a/.github/actions/rosa-create-cluster/action.yml b/.github/actions/rosa-create-cluster/action.yml index 405f618..d29186d 100644 --- a/.github/actions/rosa-create-cluster/action.yml +++ b/.github/actions/rosa-create-cluster/action.yml @@ -137,6 +137,7 @@ runs: repository: "camunda/camunda-tf-rosa" ref: ${{ inputs.tf-modules-revision }} path: ${{ inputs.tf-modules-path }} + fetch-depth: 0 - name: Terraform Init shell: bash diff --git a/.github/actions/rosa-delete-cluster/action.yml b/.github/actions/rosa-delete-cluster/action.yml index 00697d6..d385eb4 100644 --- a/.github/actions/rosa-delete-cluster/action.yml +++ b/.github/actions/rosa-delete-cluster/action.yml @@ -53,6 +53,7 @@ runs: repository: "camunda/camunda-tf-rosa" ref: ${{ inputs.tf-modules-revision }} path: ${{ inputs.tf-modules-path }} + fetch-depth: 0 - name: Terraform Init shell: bash @@ -68,7 +69,7 @@ runs: working-directory: "${{ inputs.tf-modules-path }}/modules/rosa-hcp/" run: | terraform plan -destroy -no-color -out rosa-destroy.plan -var "cluster_name=${{ inputs.cluster-name }}" -var "offline_access_token=${{ inputs.rh-token }}" -var "htpasswd_password=dUmmyPassword$123!" - +# TODO: remove s3 - name: Terraform Apply Destroy shell: bash id: apply-destroy diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3f7ff5c..f1b01d4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -87,7 +87,9 @@ jobs: rh-token: ${{ steps.secrets.outputs.RH_OPENSHIFT_TOKEN }} cluster-name: "${{ steps.commit_info.outputs.cluster_name }}" admin-username: "cluster-admin" - admin-password: "${{ steps.secrets.outputs.CI_OPENSHIFT_MAIN_PASSWORD }}" + #admin-password: "${{ steps.secrets.outputs.CI_OPENSHIFT_MAIN_PASSWORD }}" + # TODO: change this + admin-password: "myUnsecure1234567!pass" aws-region: ${{ env.AWS_REGION }} namespace: "myns" s3-backend-bucket: ${{ env.TF_S3_BUCKET }}