Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/development' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
DefGh committed Dec 14, 2023
2 parents 48c6d24 + 900f6ed commit 9cd7030
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions .github/Templates/All in one/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,18 @@ jobs:
- name: Set Environment Variables
run: |
if [ "${{ github.ref }}" == "refs/heads/development" ]; then
echo "DEPLOYMENT_ENV=dev" >> $GITHUB_ENV
echo "ASPNETCORE_ENVIRONMENT=Development" >> $GITHUB_ENV
echo "DOCKER_REPO_PATH=dev" >> $GITHUB_ENV
echo "K8S_NAMESPACE=dev" >> $GITHUB_ENV
elif [ "${{ github.ref }}" == "refs/heads/qa" ]; then
echo "DEPLOYMENT_ENV=qa" >> $GITHUB_ENV
echo "ASPNETCORE_ENVIRONMENT=QA" >> $GITHUB_ENV
echo "DOCKER_REPO_PATH=qa" >> $GITHUB_ENV
echo "K8S_NAMESPACE=qa" >> $GITHUB_ENV
elif [ "${{ github.ref }}" == "refs/heads/staging" ]; then
echo "DEPLOYMENT_ENV=staging" >> $GITHUB_ENV
echo "ASPNETCORE_ENVIRONMENT=Staging" >> $GITHUB_ENV
echo "DOCKER_REPO_PATH=staging" >> $GITHUB_ENV
echo "K8S_NAMESPACE=staging" >> $GITHUB_ENV
elif [ "${{ github.ref }}" == "refs/heads/main" ]; then
echo "DEPLOYMENT_ENV=prod" >> $GITHUB_ENV
echo "ASPNETCORE_ENVIRONMENT=Production" >> $GITHUB_ENV
echo "DOCKER_REPO_PATH=prod" >> $GITHUB_ENV
echo "K8S_NAMESPACE=prod" >> $GITHUB_ENV
Expand Down
3 changes: 0 additions & 3 deletions .github/Templates/Seperate production/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,14 @@ jobs:
- name: Set Environment Variables
run: |
if [ "${{ github.ref }}" == "refs/heads/development" ]; then
echo "DEPLOYMENT_ENV=dev" >> $GITHUB_ENV
echo "ASPNETCORE_ENVIRONMENT=Development" >> $GITHUB_ENV
echo "DOCKER_REPO_PATH=dev" >> $GITHUB_ENV
echo "K8S_NAMESPACE=dev" >> $GITHUB_ENV
elif [ "${{ github.ref }}" == "refs/heads/qa" ]; then
echo "DEPLOYMENT_ENV=qa" >> $GITHUB_ENV
echo "ASPNETCORE_ENVIRONMENT=QA" >> $GITHUB_ENV
echo "DOCKER_REPO_PATH=qa" >> $GITHUB_ENV
echo "K8S_NAMESPACE=qa" >> $GITHUB_ENV
elif [ "${{ github.ref }}" == "refs/heads/staging" ]; then
echo "DEPLOYMENT_ENV=staging" >> $GITHUB_ENV
echo "ASPNETCORE_ENVIRONMENT=Staging" >> $GITHUB_ENV
echo "DOCKER_REPO_PATH=staging" >> $GITHUB_ENV
echo "K8S_NAMESPACE=staging" >> $GITHUB_ENV
Expand Down
1 change: 0 additions & 1 deletion .github/Templates/Seperate production/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ env:
DOCKER_REPO_BASE: "repopanda.pandatech.it/pandatech/repository/pandatech"
DOCKER_REPO_PATH: "prod"
K8S_NAMESPACE: "prod"
DEPLOYMENT_ENV: "prod"
ASPNETCORE_ENVIRONMENT: "Production"

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/Templates/Seperate/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ env:
DOCKER_REPO_BASE: "repopanda.pandatech.it/pandatech/repository/pandatech"
DOCKER_REPO_PATH: "dev"
K8S_NAMESPACE: "dev"
DEPLOYMENT_ENV: "dev"
ASPNETCORE_ENVIRONMENT: "Development"

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/Templates/Seperate/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ env:
DOCKER_REPO_BASE: "repopanda.pandatech.it/pandatech/repository/pandatech"
DOCKER_REPO_PATH: "prod"
K8S_NAMESPACE: "prod"
DEPLOYMENT_ENV: "prod"
ASPNETCORE_ENVIRONMENT: "Production"

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/Templates/Seperate/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ env:
DOCKER_REPO_BASE: "repopanda.pandatech.it/pandatech/repository/pandatech"
DOCKER_REPO_PATH: "qa"
K8S_NAMESPACE: "qa"
DEPLOYMENT_ENV: "qa"
ASPNETCORE_ENVIRONMENT: "QA"

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/Templates/Seperate/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ env:
DOCKER_REPO_BASE: "repopanda.pandatech.it/pandatech/repository/pandatech"
DOCKER_REPO_PATH: "staging"
K8S_NAMESPACE: "staging"
DEPLOYMENT_ENV: "staging"
ASPNETCORE_ENVIRONMENT: "Staging"

jobs:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,14 @@ jobs:
- name: Set Environment Variables
run: |
if [ "${{ github.ref }}" == "refs/heads/development" ]; then
echo "DEPLOYMENT_ENV=dev" >> $GITHUB_ENV
echo "ASPNETCORE_ENVIRONMENT=Development" >> $GITHUB_ENV
echo "DOCKER_REPO_PATH=dev" >> $GITHUB_ENV
echo "K8S_NAMESPACE=dev" >> $GITHUB_ENV
elif [ "${{ github.ref }}" == "refs/heads/qa" ]; then
echo "DEPLOYMENT_ENV=qa" >> $GITHUB_ENV
echo "ASPNETCORE_ENVIRONMENT=QA" >> $GITHUB_ENV
echo "DOCKER_REPO_PATH=qa" >> $GITHUB_ENV
echo "K8S_NAMESPACE=qa" >> $GITHUB_ENV
elif [ "${{ github.ref }}" == "refs/heads/staging" ]; then
echo "DEPLOYMENT_ENV=staging" >> $GITHUB_ENV
echo "ASPNETCORE_ENVIRONMENT=Staging" >> $GITHUB_ENV
echo "DOCKER_REPO_PATH=staging" >> $GITHUB_ENV
echo "K8S_NAMESPACE=staging" >> $GITHUB_ENV
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ env:
DOCKER_REPO_BASE: "repopanda.pandatech.it/pandatech/repository/pandatech"
DOCKER_REPO_PATH: "prod"
K8S_NAMESPACE: "prod"
DEPLOYMENT_ENV: "prod"
ASPNETCORE_ENVIRONMENT: "Production"

jobs:
Expand Down

0 comments on commit 9cd7030

Please sign in to comment.