Skip to content

Commit

Permalink
moved everything to base
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Oct 15, 2024
1 parent 4374feb commit f4e39be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ env:
NODE_VERSION: 20
APP_NAME: reportversion
DEPLOY_ENV: dev2
SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}


jobs:
build_publish_ocr:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -81,9 +79,7 @@ jobs:
env:
RESOURCE_GROUP_NAME: ${{ env.APP_NAME}}-rg-${{ env.DEPLOY_ENV }}
run: |
# echo subscription_id=\""$SUBSCRIPTION_ID"\" >> terraform.tfvars
echo resource_group_name=\""$RESOURCE_GROUP_NAME"\" >> terraform.tfvars
# echo client_id=\""$CLIENT_ID"\" >> terraform.tfvars
echo name=\""$APP_NAME"\" >> terraform.tfvars
az config set defaults.group=$RESOURCE_GROUP_NAME
- name: Set environment
Expand Down
17 changes: 0 additions & 17 deletions ops/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,5 @@ variable "resource_group_name" {
description = "value of the Azure resource group to deploy to"
}

variable "subscription_id" {
description = "value of the Azure Subscription ID to use"
}

variable "client_id" {
description = "Client ID"
}

variable "docker_tag" {
}

variable "docker_registry_path" {
}

variable "docker_registry_url" {
}

variable "name" {
}

0 comments on commit f4e39be

Please sign in to comment.