diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d6bebdbc..76123db3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -87,14 +87,14 @@ jobs: sed -i -e "s/%CLOUDS_YAML%/$(base64 -w 0 < clouds.yaml)/" cloud-init.yaml - name: terraform plan id: plan - if: github.event_name == 'pull_request' + #if: github.event_name == 'pull_request' run: | cd deploy terraform plan -no-color -var-file="$EGI_SITE.tfvars" continue-on-error: true - name: Update Pull Request uses: actions/github-script@v7 - if: github.event_name == 'pull_request' + #if: github.event_name == 'pull_request' env: PLAN: "terraform\n${{ steps.plan.outputs.stdout }}" with: @@ -123,13 +123,13 @@ jobs: run: exit 1 - name: Terraform Apply id: terraform-apply - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + #if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: | cd deploy terraform apply -auto-approve -var-file="$EGI_SITE.tfvars" - name: Get VM ID id: terraform-vm-id - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + #if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: | cd deploy terraform output -raw instance-id @@ -155,7 +155,7 @@ jobs: mkdir -p ~/.config/openstack touch ~/.config/openstack/secure.yaml - name: Get the status file from swift - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + #if: github.ref == 'refs/heads/main' && github.event_name == 'push' uses: nick-fields/retry@v3 with: timeout_minutes: 10 @@ -167,7 +167,7 @@ jobs: openstack --os-cloud backend object save fedcloud-catchall "${{ steps.terraform-vm-id.outputs.stdout }}" && openstack --os-cloud backend object delete fedcloud-catchall "${{ steps.terraform-vm-id.outputs.stdout }}" - name: Look for errors - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + #if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: | cd deploy # show the status in the build log