Skip to content

Commit b838235

Browse files
committed
Updated acr/tomcat/README.md workflow
1 parent 8cf6536 commit b838235

File tree

15 files changed

+25
-44
lines changed

15 files changed

+25
-44
lines changed

.gitignore

+2-21
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,2 @@
1-
.DS_Store
2-
.classpath
3-
.DS_Store
4-
.factorypath
5-
.idea/
6-
.project
7-
.settings/
8-
.vscode/
9-
nbactions.xml
10-
nb-configuration.xml
11-
parrot.jar
12-
target/
13-
*.iml
14-
dependency-reduced-pom.xml
15-
host.json
16-
local.settings.json
17-
providers.tf
18-
terraform.tfstate
19-
terraform.tfstate.backup
20-
.terraform.lock.hcl
21-
.terraform/
1+
# Created by venv; see https://docs.python.org/3/library/venv.html
2+
*

WORKFLOWS.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,13 @@
55
| Create an Azure Resource Group | [![group/create/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/group_create_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/group_create_README_md.yml) | 0 0 * * 1 | Week 1 |
66
| Delete an Azure Resource Group | [![group/delete/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/group_delete_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/group_delete_README_md.yml) | 0 0 * * 2 | Week 2 |
77
| Create an Azure App Service Plan | [![appservice/create-plan/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/appservice_create-plan_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/appservice_create-plan_README_md.yml) | 0 0 * * 3 | Week 3 |
8-
| Build and push a Spring Boot application to Azure Container Registry| [![acr/springboot/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_springboot_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_springboot_README_md.yml) | 0 0 * * 5 | Week 5 |
98
| Create an Azure Container Apps Environment| [![containerapp/create-environment/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_create-environment_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_create-environment_README_md.yml) | 0 0 * * 6 | Week 6 |
10-
| Build and push a Quarkus application to Azure Container Registry | [![acr/quarkus/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_quarkus_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_quarkus_README_md.yml) | 0 5 * * 1 | Week 8 |
119
| Deploy a Quarkus application to Azure Container Apps | [![containerapp/quarkus/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_quarkus_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_quarkus_README_md.yml) | 0 5 * * 2 | Week 9 |
12-
| Build and push a Tomcat image to Azure Container Registry | [![acr/tomcat/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_tomcat_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_tomcat_README_md.yml) | 0 5 * * 3 | Week 10 |
1310
| Deploy Tomcat to Azure Container Apps | [![containerapp/tomcat/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_tomcat_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_tomcat_README_md.yml) | 0 5 * * 4 | Week 11 |
1411
| Build and push a WildFly image to Azure Container Registry | [![acr/wildfly/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_wildfly_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_wildfly_README_md.yml) | 0 5 * * 5 | Week 12 |
1512
| Deploy WildFly to Azure Container Apps | [![containerapp/wildfly/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_wildfly_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_wildfly_README_md.yml) | 0 5 * * 6 | Week 13 |
16-
| Build and push a Piranha Web Profile image to Azure Container Registry | [![acr/piranha/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_piranha_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_piranha_README_md.yml) | 0 5 * * 0 | Week 14 |
1713
| Deploy Piranha Web Profile to Azure Container Apps | [![containerapp/piranha/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_piranha_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_piranha_README_md.yml) | 0 10 * * 1 | Week 15 |
18-
| Build and push a Micronaut application to Azure Container Registry | [![acr/micronaut/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_micronaut_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_micronaut_README_md.yml) | 0 10 * * 2 | Week 16 |
1914
| Deploy a Micronaut application to Azure Container Apps| [![containerapp/micronaut/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_micronaut_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_micronaut_README_md.yml) | 0 10 * * 3 | Week 17 |
20-
| Build and push a Payara image to Azure Container Registry | [![acr/payara/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_payara_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_payara_README_md.yml) | 0 10 * * 5 | Week 19 |
2115
| Create an Azure File Share | [![storage/create-file-share/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/storage_create-file-share_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/storage_create-file-share_README_md.yml) | 0 10 * * 0 | Week 21 |
2216
| Deploy Glassfish to Azure Container Apps| [![containerapp/glassfish/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_glassfish_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_glassfish_README_md.yml) | 0 15 * * 1 | Week 22 |
2317
| Deploy a Dropwizard application to Azure Container Apps | [![containerapp/dropwizard/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_dropwizard_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_dropwizard_README_md.yml) | 0 15 * * 3 |
@@ -119,6 +113,12 @@
119113
| [Create and push a Helidon application to Azure Container Registry](acr/helidon/README.md) | [![acr/helidon/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_helidon_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_helidon_README_md.yml) | 0 6 * * 0 | Week 7 |
120114
| [Create and push a Hello World job to Azure Container Registry](acr/helloworldjob/README.md) | [![acr/helloworldjob/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_helloworldjob_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_helloworldjob_README_md.yml) | 0 7 * * 0 | Week 8 |
121115
| [Build and push a Jetty image to Azure Container Registry](acr/jetty/README.md) | [![acr/jetty/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_jetty_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_jetty_README_md.yml) | 0 8 * * 0 | Week 9 |
116+
| [Build and push a Micronaut application to Azure Container Registry](acr/micronaut/README.md) | [![acr/micronaut/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_micronaut_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_micronaut_README_md.yml) | 0 9 * * 0 | Week 10 |
117+
| [Build and push a Payara image to Azure Container Registry](acr/payara/README.md) | [![acr/payara/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_payara_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_payara_README_md.yml) | 0 10 * * 0 | Week 11 |
118+
| [Build and push a Piranha Web Profile image to Azure Container Registry](acr/piranha/README.md) | [![acr/piranha/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_piranha_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_piranha_README_md.yml) | 0 11 * * 0 | Week 12 |
119+
| [Build and push a Quarkus application to Azure Container Registry](acr/quarkus/README.md) | [![acr/quarkus/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_quarkus_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_quarkus_README_md.yml) | 0 12 * * 0 | Week 13 |
120+
| [Build and push a Spring Boot application to Azure Container Registry](acr/springboot/README.md) | [![acr/springboot/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_springboot_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_springboot_README_md.yml) | 0 13 * * 0 | Week 14 |
121+
| [Build and push a Tomcat image to Azure Container Registry](acr/tomcat/README.md) | [![acr/tomcat/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_tomcat_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_tomcat_README_md.yml) | 0 14 * * 3 | Week 15 |
122122
| Azure Kubernetes Service examples
123123
| [Create a Kubernetes cluster](aks/create/README.md)| [![aks/create/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/aks_create_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/aks_create_README_md.yml) | 0 0 * * 2 |
124124
| Azure Container Apps examples

acr/micronaut/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This example assumes you have previously completed the following examples:
1717
fi
1818
1919
-->
20-
<!-- workflow.cron(0 10 * * 2) -->
20+
<!-- workflow.cron(0 9 * * 0) -->
2121
<!-- workflow.include(../create/README.md) -->
2222

2323
## Build the example

acr/micronaut/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<artifactId>acr-micronaut</artifactId>
88
<version>1-SNAPSHOT</version>
99
<packaging>jar</packaging>
10-
<name>Build and push a Micronaut application to ACR</name>
10+
<name>Build and push a Micronaut application to Azure Container Registry</name>
1111
<properties>
1212
<!-- dependencies -->
1313
<micronaut.aot.version>1.1.0</micronaut.aot.version>

acr/payara/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
fi
1313
1414
-->
15-
<!-- workflow.cron(0 10 * * 5) -->
15+
<!-- workflow.cron(0 10 * * 0) -->
1616
<!-- workflow.include(../create/README.md) -->
1717

1818
This example assumes you have previously completed the following examples:

acr/payara/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>examples.azure.acr</groupId>
6-
<artifactId>acr-payara</artifactId>
6+
<artifactId>payara</artifactId>
77
<version>1-SNAPSHOT</version>
88
<packaging>war</packaging>
9-
<name>Build and push a Payara container image to ACR</name>
9+
<name>Build and push a Payara container image to Azure Container Registry</name>
1010
<properties>
1111
<!-- other -->
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

acr/piranha/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# -----------------------------------------------------------------------------
77

88
FROM mcr.microsoft.com/openjdk/jdk:17-ubuntu
9-
COPY target/acr-piranha.war /opt/piranha/ROOT.war
9+
COPY target/piranha.war /opt/piranha/ROOT.war
1010
RUN apt update -y && \
1111
apt-get -y install curl && \
1212
mkdir -p /opt/piranha && \

acr/piranha/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This example assumes you have previously completed the following examples:
1717
fi
1818
1919
-->
20-
<!-- workflow.cron(0 5 * * 0) -->
20+
<!-- workflow.cron(0 11 * * 0) -->
2121
<!-- workflow.include(../create/README.md) -->
2222

2323
## Build the example locally

acr/piranha/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>examples.azure.acr</groupId>
6-
<artifactId>acr-piranha</artifactId>
6+
<artifactId>piranha</artifactId>
77
<version>1-SNAPSHOT</version>
88
<packaging>war</packaging>
99
<name>Build and push a Piranha Micro application to ACR</name>
@@ -14,7 +14,7 @@
1414
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
1515
</properties>
1616
<build>
17-
<finalName>acr-piranha</finalName>
17+
<finalName>piranha</finalName>
1818
<plugins>
1919
<plugin>
2020
<groupId>org.apache.maven.plugins</groupId>

acr/quarkus/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This example assumes you have previously completed the following examples:
1717
fi
1818
1919
-->
20-
<!-- workflow.cron(0 5 * * 1) -->
20+
<!-- workflow.cron(0 12 * * 0) -->
2121
<!-- workflow.javaVersion(17) -->
2222
<!-- workflow.include(../create/README.md) -->
2323

acr/quarkus/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>examples.azure.acr</groupId>
6-
<artifactId>acr-quarkus</artifactId>
6+
<artifactId>quarkus</artifactId>
77
<version>1-SNAPSHOT</version>
88
<name>Build and push a Quarkus application to ACR</name>
99
<properties>

acr/springboot/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ EXPOSE 8080
2929
#
3030
# Copy the JAR file.
3131
#
32-
COPY target/acr-springboot.jar /opt/springboot/acr-springboot.jar
32+
COPY target/springboot.jar /opt/springboot/springboot.jar
3333

3434
#
3535
# Set file ownership
@@ -44,4 +44,4 @@ USER springboot
4444
#
4545
# Startup command.
4646
#
47-
CMD ["java", "-jar", "/opt/springboot/acr-springboot.jar"]
47+
CMD ["java", "-jar", "/opt/springboot/springboot.jar"]

acr/springboot/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This example assumes you have previously completed the following examples:
1717
fi
1818
1919
-->
20-
<!-- workflow.cron(0 0 * * 5) -->
20+
<!-- workflow.cron(0 13 * * 0) -->
2121
<!-- workflow.javaVersion(17) -->
2222
<!-- workflow.include(../create/README.md) -->
2323

acr/springboot/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>examples.azure.acr</groupId>
6-
<artifactId>acr-springboot</artifactId>
6+
<artifactId>springboot</artifactId>
77
<version>1-SNAPSHOT</version>
88
<packaging>jar</packaging>
99
<name>Build and push a Spring Boot Application to ACR</name>
@@ -16,7 +16,7 @@
1616
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
1717
</properties>
1818
<build>
19-
<finalName>acr-springboot</finalName>
19+
<finalName>springboot</finalName>
2020
<plugins>
2121
<plugin>
2222
<groupId>org.apache.maven.plugins</groupId>

acr/tomcat/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This example assumes you have previously completed the following examples:
1717
fi
1818
1919
-->
20-
<!-- workflow.cron(0 5 * * 3) -->
20+
<!-- workflow.cron(0 14 * * 0) -->
2121
<!-- workflow.include(../create/README.md) -->
2222

2323
## Build the WAR file

0 commit comments

Comments
 (0)