Skip to content

Commit

Permalink
Update Live test package versions (#41623)
Browse files Browse the repository at this point in the history
  • Loading branch information
g2vinay authored Aug 23, 2024
1 parent 38bc240 commit 093f6c5
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ com.azure:azure-verticals-agrifood-farming;1.0.0-beta.3;1.0.0-beta.4
com.azure:azure-xml;1.1.0;1.2.0-beta.1
com.azure:perf-test-core;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-ai-vision-imageanalysis;1.0.0-beta.2;1.0.0-beta.3
com.azure:identity-test-container;1.0-SNAPSHOT;1.0-SNAPSHOT
com.azure:identity-test-function;1.0-SNAPSHOT;1.0-SNAPSHOT
com.azure:identity-test-vm;1.0-SNAPSHOT;1.0-SNAPSHOT
com.azure:identity-test-webapp;0.0.1-SNAPSHOT;0.0.1-SNAPSHOT
com.azure:identity-test-container;1.0.0-beta.1;1.0.0-beta.1
com.azure:identity-test-function;1.0.0-beta.1;1.0.0-beta.1
com.azure:identity-test-vm;1.0.0-beta.1;1.0.0-beta.1
com.azure:identity-test-webapp;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-ai-vision-face;1.0.0-beta.1;1.0.0-beta.2
com.azure.spring:azure-monitor-spring-native;1.0.0-beta.1;1.0.0-beta.1
com.azure.spring:azure-monitor-spring-native-test;1.0.0-beta.1;1.0.0-beta.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ RUN git clone https://github.com/Azure/azure-sdk-for-java --single-branch --dept


FROM openjdk:17-oracle
COPY target/identity-test-container-1.0-SNAPSHOT-jar-with-dependencies.jar /identity-test.jar
COPY target/identity-test-container-1.0.0-beta.1-jar-with-dependencies.jar /identity-test.jar

CMD [ "java", "-version" ]
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.azure</groupId>
<artifactId>identity-test-container</artifactId>
<version>1.0-SNAPSHOT</version> <!-- {x-version-update;com.azure:identity-test-container;current} -->
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:identity-test-container;current} -->
<packaging>jar</packaging>

<name>Azure Identity Java Test Container</name>
Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/live-test-apps/identity-test-function/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.azure</groupId>
<artifactId>identity-test-function</artifactId>
<version>1.0-SNAPSHOT</version> <!-- {x-version-update;com.azure:identity-test-function;current} -->
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:identity-test-function;current} -->
<packaging>jar</packaging>

<name>Azure Java Functions</name>
Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/live-test-apps/identity-test-vm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.azure</groupId>
<artifactId>identity-test-vm</artifactId>
<version>1.0-SNAPSHOT</version> <!-- {x-version-update;com.azure:identity-test-vm;current} -->
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:identity-test-vm;current} -->
<packaging>jar</packaging>

<name>Azure Identity Java Test VM</name>
Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/live-test-apps/identity-test-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.azure</groupId>
<artifactId>identity-test-webapp</artifactId>
<version>0.0.1-SNAPSHOT</version> <!-- {x-version-update;com.azure:identity-test-webapp;current} -->
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:identity-test-webapp;current} -->
<name>identity-test-webapp</name>
<description>Web App MI Test</description>

Expand Down
4 changes: 2 additions & 2 deletions sdk/identity/test-resources-post.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mvn clean install -DskipTests "-Drevapi.skip=true" "-Dcheckstyle.skip=true" "-Dc


mvn clean install -DskipTests -f $webappRootPom | Write-Host
az webapp deploy --resource-group $(getVariable('IDENTITY_RESOURCE_GROUP')) --name $(getVariable('IDENTITY_WEBAPP_NAME')) --src-path "$webappRoot/target/identity-test-webapp-0.0.1-SNAPSHOT.jar" --type jar
az webapp deploy --resource-group $(getVariable('IDENTITY_RESOURCE_GROUP')) --name $(getVariable('IDENTITY_WEBAPP_NAME')) --src-path "$webappRoot/target/identity-test-webapp-1.0.0-beta.1.jar" --type jar

Write-Host "Building Function App"

Expand All @@ -88,7 +88,7 @@ Write-Host "Creating storage container"
az storage container create --name "vmcontainer" --account-name $DeploymentOutputs['IDENTITY_STORAGE_NAME_1'] --account-key $key | Write-Host

Write-Host "Uploading file to storage"
az storage blob upload --container-name "vmcontainer" --file "$vmRoot/target/identity-test-vm-1.0-SNAPSHOT-jar-with-dependencies.jar" --name "testfile.jar" --account-name $DeploymentOutputs['IDENTITY_STORAGE_NAME_1'] --account-key $key | Write-Host
az storage blob upload --container-name "vmcontainer" --file "$vmRoot/target/identity-test-vm-1.0.0-beta.1-jar-with-dependencies.jar" --name "testfile.jar" --account-name $DeploymentOutputs['IDENTITY_STORAGE_NAME_1'] --account-key $key | Write-Host

if ($IsMacOS -eq $false) {

Expand Down

0 comments on commit 093f6c5

Please sign in to comment.