Skip to content

Commit

Permalink
Fix the GitHub Composite Actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubois committed Sep 24, 2021
1 parent e99b594 commit f5246ad
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 34 deletions.
34 changes: 17 additions & 17 deletions src/main/resources/nubesgen/.github/workflows/gitops.yml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,27 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Apply Terraform configuration
uses: microsoft/nubesgen-actions/gitops-apply-terraform@main
uses: microsoft/nubesgen-actions/gitops-apply-terraform@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
tf_storage_account: ${{ secrets.TF_STORAGE_ACCOUNT }}
<%#runtimeDocker%>
<%#applicationTypeAppService%>
<%#runtimeSpring%>
- name: Build and deploy a Docker image of a Spring Boot project
uses: microsoft/nubesgen-actions/gitops-build-and-deploy-to-app-service-docker-spring@main
uses: microsoft/nubesgen-actions/gitops-build-and-deploy-to-app-service-docker-spring@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
<%/runtimeSpring%>
<%#runtimeQuarkus%>
- name: Build and deploy a Docker image of a Quarkus native project
uses: microsoft/nubesgen-actions/gitops-build-and-deploy-to-app-service-docker-quarkus-native@main
uses: microsoft/nubesgen-actions/gitops-build-and-deploy-to-app-service-docker-quarkus-native@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
<%/runtimeQuarkus%>
<%#runtimeDefault%>
- name: Build and deploy a Docker image
uses: microsoft/nubesgen-actions/gitops-build-and-deploy-to-app-service-docker@main
uses: microsoft/nubesgen-actions/gitops-build-and-deploy-to-app-service-docker@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
<%/runtimeDefault%>
Expand All @@ -68,7 +68,7 @@ jobs:
steps:
<%#runtimeMaven%>
- name: Build a Java project using Maven
uses: microsoft/nubesgen-actions/gitops-build-java-maven@main
uses: microsoft/nubesgen-actions/gitops-build-java-maven@v0.1.0
<%#runtimeQuarkus%>
with:
build_command: mvn package -Pprod,azure -Dquarkus.package.type=uber-jar
Expand All @@ -77,7 +77,7 @@ jobs:
<%/runtimeMaven%>
<%#runtimeGradle%>
- name: Build a Java project using Gradle
uses: microsoft/nubesgen-actions/gitops-build-java-gradle@main
uses: microsoft/nubesgen-actions/gitops-build-java-gradle@v0.1.0
<%#runtimeQuarkus%>
with:
build_command: gradle quarkusBuild -Dquarkus.package.type=uber-jar
Expand All @@ -89,7 +89,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Deploy a Java application to Azure App Service
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-java@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-java@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
<%/applicationTypeAppService%>
Expand All @@ -99,18 +99,18 @@ jobs:
steps:
<%#runtimeMaven%>
- name: Build a Java function using Maven
uses: microsoft/nubesgen-actions/gitops-build-function-java-maven@main
uses: microsoft/nubesgen-actions/gitops-build-function-java-maven@v0.1.0
<%/runtimeMaven%>
<%#runtimeGradle%>
- name: Build a Java function using Gradle
uses: microsoft/nubesgen-actions/gitops-build-function-java-gradle@main
uses: microsoft/nubesgen-actions/gitops-build-function-java-gradle@v0.1.0
<%/runtimeGradle%>
deploy:
needs: [manage-infrastructure, build]
runs-on: ubuntu-20.04
steps:
- name: Deploy a Java function to Azure Functions
uses: microsoft/nubesgen-actions/gitops-deploy-to-function-java@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-function-java@v0.1.0
<%/applicationTypeFunction%>
<%/runtimeJava%>
<%#runtimeDotnet%>
Expand All @@ -119,14 +119,14 @@ jobs:
steps:
<%#applicationTypeAppService%>
- name: Build a .NET application
uses: microsoft/nubesgen-actions/gitops-build-dotnet@main
uses: microsoft/nubesgen-actions/gitops-build-dotnet@v0.1.0
with:
dotnet_version: ${{ env.DOTNET_VERSION }}
application_package_path: ${{ env.APP_PACKAGE_PATH }}
<%/applicationTypeAppService%>
<%#applicationTypeFunction%>
- name: Build a .NET serverless function
uses: microsoft/nubesgen-actions/gitops-build-function-dotnet@main
uses: microsoft/nubesgen-actions/gitops-build-function-dotnet@v0.1.0
with:
dotnet_version: ${{ env.DOTNET_VERSION }}
application_package_path: ${{ env.APP_PACKAGE_PATH }}
Expand All @@ -137,13 +137,13 @@ jobs:
steps:
<%#applicationTypeAppService%>
- name: Deploy a .NET application to Azure App Service
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-dotnet@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-dotnet@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
<%/applicationTypeAppService%>
<%#applicationTypeFunction%>
- name: Deploy a .NET function to Azure Functions
uses: microsoft/nubesgen-actions/gitops-deploy-to-function-dotnet@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-function-dotnet@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
<%/applicationTypeFunction%>
Expand All @@ -153,7 +153,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Build a NodeJS project
uses: microsoft/nubesgen-actions/gitops-build-nodejs@main
uses: microsoft/nubesgen-actions/gitops-build-nodejs@v0.1.0
with:
nodejs_version: ${{ env.NODEJS_VERSION }}
application_package_path: ${{ env.APP_PACKAGE_PATH }}
Expand All @@ -163,13 +163,13 @@ jobs:
steps:
<%#applicationTypeAppService%>
- name: Deploy a NodeJS application to Azure App Service
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-nodejs@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-nodejs@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
<%/applicationTypeAppService%>
<%#applicationTypeFunction%>
- name: Deploy a NodeJS application to Azure App Service
uses: microsoft/nubesgen-actions/gitops-deploy-to-function-nodejs@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-function-nodejs@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
<%/applicationTypeFunction%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Apply Terraform configuration
uses: microsoft/nubesgen-actions/gitops-apply-terraform@main
uses: microsoft/nubesgen-actions/gitops-apply-terraform@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
tf_storage_account: ${{ secrets.TF_STORAGE_ACCOUNT }}
- name: Build and deploy a Docker image of a Spring Boot project
uses: microsoft/nubesgen-actions/gitops-build-and-deploy-to-app-service-docker-spring@main
uses: microsoft/nubesgen-actions/gitops-build-and-deploy-to-app-service-docker-spring@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Apply Terraform configuration
uses: microsoft/nubesgen-actions/gitops-apply-terraform@main
uses: microsoft/nubesgen-actions/gitops-apply-terraform@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
tf_storage_account: ${{ secrets.TF_STORAGE_ACCOUNT }}
build:
runs-on: ubuntu-20.04
steps:
- name: Build a .NET application
uses: microsoft/nubesgen-actions/gitops-build-dotnet@main
uses: microsoft/nubesgen-actions/gitops-build-dotnet@v0.1.0
with:
dotnet_version: ${{ env.DOTNET_VERSION }}
application_package_path: ${{ env.APP_PACKAGE_PATH }}
Expand All @@ -38,6 +38,6 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Deploy a .NET application to Azure App Service
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-dotnet@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-dotnet@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Apply Terraform configuration
uses: microsoft/nubesgen-actions/gitops-apply-terraform@main
uses: microsoft/nubesgen-actions/gitops-apply-terraform@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
tf_storage_account: ${{ secrets.TF_STORAGE_ACCOUNT }}
build:
runs-on: ubuntu-20.04
steps:
- name: Build a Java project using Gradle
uses: microsoft/nubesgen-actions/gitops-build-java-gradle@main
uses: microsoft/nubesgen-actions/gitops-build-java-gradle@v0.1.0
deploy:
needs: [manage-infrastructure, build]
runs-on: ubuntu-20.04
steps:
- name: Deploy a Java application to Azure App Service
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-java@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-java@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Apply Terraform configuration
uses: microsoft/nubesgen-actions/gitops-apply-terraform@main
uses: microsoft/nubesgen-actions/gitops-apply-terraform@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
tf_storage_account: ${{ secrets.TF_STORAGE_ACCOUNT }}
build:
runs-on: ubuntu-20.04
steps:
- name: Build a Java project using Maven
uses: microsoft/nubesgen-actions/gitops-build-java-maven@main
uses: microsoft/nubesgen-actions/gitops-build-java-maven@v0.1.0
deploy:
needs: [manage-infrastructure, build]
runs-on: ubuntu-20.04
steps:
- name: Deploy a Java application to Azure App Service
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-java@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-java@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Apply Terraform configuration
uses: microsoft/nubesgen-actions/gitops-apply-terraform@main
uses: microsoft/nubesgen-actions/gitops-apply-terraform@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
tf_storage_account: ${{ secrets.TF_STORAGE_ACCOUNT }}
build:
runs-on: ubuntu-20.04
steps:
- name: Build a NodeJS project
uses: microsoft/nubesgen-actions/gitops-build-nodejs@main
uses: microsoft/nubesgen-actions/gitops-build-nodejs@v0.1.0
with:
nodejs_version: ${{ env.NODEJS_VERSION }}
application_package_path: ${{ env.APP_PACKAGE_PATH }}
Expand All @@ -38,6 +38,6 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Deploy a NodeJS application to Azure App Service
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-nodejs@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-app-service-nodejs@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Apply Terraform configuration
uses: microsoft/nubesgen-actions/gitops-apply-terraform@main
uses: microsoft/nubesgen-actions/gitops-apply-terraform@v0.1.0
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
tf_storage_account: ${{ secrets.TF_STORAGE_ACCOUNT }}
build:
runs-on: ubuntu-20.04
steps:
- name: Build a Java function using Maven
uses: microsoft/nubesgen-actions/gitops-build-function-java-maven@main
uses: microsoft/nubesgen-actions/gitops-build-function-java-maven@v0.1.0
deploy:
needs: [manage-infrastructure, build]
runs-on: ubuntu-20.04
steps:
- name: Deploy a Java function to Azure Functions
uses: microsoft/nubesgen-actions/gitops-deploy-to-function-java@main
uses: microsoft/nubesgen-actions/gitops-deploy-to-function-java@v0.1.0

0 comments on commit f5246ad

Please sign in to comment.