Skip to content

Commit 7136914

Browse files
committed
Just tests
1 parent 12d3cf9 commit 7136914

File tree

1 file changed

+47
-47
lines changed

1 file changed

+47
-47
lines changed

.github/workflows/main.yml

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@ permissions:
1111
contents: read
1212

1313
jobs:
14-
deploy-infrastructure:
15-
runs-on: ubuntu-latest
16-
env:
17-
ARM_SKIP_PROVIDER_REGISTRATION: true
18-
ARM_USE_OIDC: true
19-
ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
20-
ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
21-
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
22-
steps:
23-
- uses: actions/checkout@v4
24-
- name: Setup Terraform
25-
uses: hashicorp/setup-terraform@v3
26-
with:
27-
terraform_version: 1.8.3
28-
terraform_wrapper: false
29-
- name: configure provider
30-
run: cp .github/provider.tf .
31-
- name: Terraform init
32-
run: terraform init
33-
- name: Terraform apply
34-
run: terraform plan -var "create_vm=true" -var "create_app_service=true" -var "ssh_key=${{ secrets.SSH_PUBLIC_KEY }}"
35-
# run: terraform apply -auto-approve -var "create_vm=true" -var "create_app_service=true" -var "ssh_key=${{ secrets.SSH_PUBLIC_KEY }}"
14+
# deploy-infrastructure:
15+
# runs-on: ubuntu-latest
16+
# env:
17+
# ARM_SKIP_PROVIDER_REGISTRATION: true
18+
# ARM_USE_OIDC: true
19+
# ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
20+
# ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
21+
# ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
22+
# steps:
23+
# - uses: actions/checkout@v4
24+
# - name: Setup Terraform
25+
# uses: hashicorp/setup-terraform@v3
26+
# with:
27+
# terraform_version: 1.8.3
28+
# terraform_wrapper: false
29+
# - name: configure provider
30+
# run: cp .github/provider.tf .
31+
# - name: Terraform init
32+
# run: terraform init
33+
# - name: Terraform apply
34+
# run: terraform plan -var "create_vm=true" -var "create_app_service=true" -var "ssh_key=${{ secrets.SSH_PUBLIC_KEY }}"
35+
# # run: terraform apply -auto-approve -var "create_vm=true" -var "create_app_service=true" -var "ssh_key=${{ secrets.SSH_PUBLIC_KEY }}"
3636
azurevm_test:
37-
needs: deploy-infrastructure
37+
#needs: deploy-infrastructure
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Install libvips
@@ -64,30 +64,30 @@ jobs:
6464
AZURE_PRINCIPAL_ID: ${{secrets.AZURE_PRINCIPAL_ID}}
6565
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
6666
run: bundle exec rake test_azure_vm
67-
teardown-infrastructure:
68-
runs-on: ubuntu-latest
69-
needs: [azurevm_test]
70-
#needs: [deploy-infrastructure]
71-
env:
72-
ARM_SKIP_PROVIDER_REGISTRATION: true
73-
ARM_USE_OIDC: true
74-
ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
75-
ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
76-
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
77-
steps:
78-
- uses: actions/checkout@v4
79-
- name: Setup Terraform
80-
uses: hashicorp/setup-terraform@v3
81-
with:
82-
terraform_version: 1.8.3
83-
terraform_wrapper: false
84-
- name: configure provider
85-
run: cp .github/provider.tf .
86-
- name: Terraform init
87-
run: terraform init
88-
- name: Terraform apply
89-
run: terraform plan
90-
# run: terraform apply -auto-approve
67+
# teardown-infrastructure:
68+
# runs-on: ubuntu-latest
69+
# needs: [azurevm_test]
70+
# #needs: [deploy-infrastructure]
71+
# env:
72+
# ARM_SKIP_PROVIDER_REGISTRATION: true
73+
# ARM_USE_OIDC: true
74+
# ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
75+
# ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
76+
# ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
77+
# steps:
78+
# - uses: actions/checkout@v4
79+
# - name: Setup Terraform
80+
# uses: hashicorp/setup-terraform@v3
81+
# with:
82+
# terraform_version: 1.8.3
83+
# terraform_wrapper: false
84+
# - name: configure provider
85+
# run: cp .github/provider.tf .
86+
# - name: Terraform init
87+
# run: terraform init
88+
# - name: Terraform apply
89+
# run: terraform plan
90+
# # run: terraform apply -auto-approve
9191

9292

9393
# test:

0 commit comments

Comments
 (0)