Skip to content

Commit 1e4dea3

Browse files
galiachengedburns
andauthored
Submit new ARM VM sizes and fix pipeline failure (#335)
* fix pipeline. * increase pom * Update ARM VM sizes (#3) * Increment pom due to other outstanding PR. --------- Co-authored-by: Ed Burns <edburns@microsoft.com>
1 parent 719ec79 commit 1e4dea3

File tree

5 files changed

+50
-52
lines changed

5 files changed

+50
-52
lines changed

.github/workflows/checkARMVMSize.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@ jobs:
1717
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.repository_owner == 'azure-javaee')
1818
runs-on: ubuntu-latest
1919
steps:
20-
- name: Checkout oracle/weblogic-azure:main
20+
- name: Checkout weblogic-azure
2121
uses: actions/checkout@v2
2222
with:
23-
repository: oracle/${{ env.repoName }}
24-
ref: main
25-
path: ${{ env.repoName }}
23+
path: weblogic-azure
2624

2725
- uses: azure/login@v1
2826
id: azure-login
@@ -55,7 +53,7 @@ jobs:
5553
# Print the extracted value
5654
echo "$vm_size_list"
5755
58-
latest_locations=$(az account list-locations --query '[].name' -o tsv)
56+
latest_locations=$(az account list-locations --query '[?not_null(metadata.latitude)] .name' -o tsv)
5957
6058
new_sizes=""
6159
for location in $latest_locations; do

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<properties>
4141
<!-- versions start -->
4242
<!-- weblogic azure aks versions -->
43-
<version.wls-on-aks-azure-marketplace>1.0.83</version.wls-on-aks-azure-marketplace>
43+
<version.wls-on-aks-azure-marketplace>1.0.86</version.wls-on-aks-azure-marketplace>
4444
<!-- weblogic azure vm versions -->
4545
<version.arm-oraclelinux-wls>1.0.29</version.arm-oraclelinux-wls>
4646
<version.arm-oraclelinux-wls-admin>1.0.54</version.arm-oraclelinux-wls-admin>

resources/azure-common.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ identifier.userAssignedIdentities=Microsoft.ManagedIdentity/userAssignedIdentiti
7373
identifier.resourcesDeployment=Microsoft resources deployment
7474
label.tagsLabel=Tags for the resources.
7575

76-
azure.armBased.vmSize.list="Standard_D2plds_v5","Standard_D4plds_v5","Standard_D8plds_v5","Standard_D16plds_v5","Standard_D32plds_v5","Standard_D48plds_v5","Standard_D64plds_v5","Standard_D2pls_v5","Standard_D4pls_v5","Standard_D8pls_v5","Standard_D16pls_v5","Standard_D32pls_v5","Standard_D48pls_v5","Standard_D64pls_v5","Standard_D2pds_v5","Standard_D4pds_v5","Standard_D8pds_v5","Standard_D16pds_v5","Standard_D32pds_v5","Standard_D48pds_v5","Standard_D64pds_v5","Standard_D2ps_v5","Standard_D4ps_v5","Standard_D8ps_v5","Standard_D16ps_v5","Standard_D32ps_v5","Standard_D48ps_v5","Standard_D64ps_v5","Standard_E2pds_v5","Standard_E4pds_v5","Standard_E8pds_v5","Standard_E16pds_v5","Standard_E20pds_v5","Standard_E32pds_v5","Standard_E2ps_v5","Standard_E4ps_v5","Standard_E8ps_v5","Standard_E16ps_v5","Standard_E20ps_v5","Standard_E32ps_v5","Standard_B2pls_v2","Standard_B2ps_v2","Standard_B2pts_v2","Standard_B4pls_v2","Standard_B4ps_v2","Standard_B8pls_v2","Standard_B8ps_v2","Standard_B16pls_v2","Standard_B16ps_v2"
76+
azure.armBased.vmSize.list="Standard_D2plds_v5","Standard_D4plds_v5","Standard_D8plds_v5","Standard_D16plds_v5","Standard_D32plds_v5","Standard_D48plds_v5","Standard_D64plds_v5","Standard_D2pls_v5","Standard_D4pls_v5","Standard_D8pls_v5","Standard_D16pls_v5","Standard_D32pls_v5","Standard_D48pls_v5","Standard_D64pls_v5","Standard_D2pds_v5","Standard_D4pds_v5","Standard_D8pds_v5","Standard_D16pds_v5","Standard_D32pds_v5","Standard_D48pds_v5","Standard_D64pds_v5","Standard_D2ps_v5","Standard_D4ps_v5","Standard_D8ps_v5","Standard_D16ps_v5","Standard_D32ps_v5","Standard_D48ps_v5","Standard_D64ps_v5","Standard_E2pds_v5","Standard_E4pds_v5","Standard_E8pds_v5","Standard_E16pds_v5","Standard_E20pds_v5","Standard_E32pds_v5","Standard_E2ps_v5","Standard_E4ps_v5","Standard_E8ps_v5","Standard_E16ps_v5","Standard_E20ps_v5","Standard_E32ps_v5","Standard_B2pls_v2","Standard_B2ps_v2","Standard_B2pts_v2","Standard_B4pls_v2","Standard_B4ps_v2","Standard_B8pls_v2","Standard_B8ps_v2","Standard_B16pls_v2","Standard_B16ps_v2","Standard_D2pls_v6","Standard_D4pls_v6","Standard_D8pls_v6","Standard_D16pls_v6","Standard_D32pls_v6","Standard_D48pls_v6","Standard_D64pls_v6","Standard_D96pls_v6","Standard_D2pds_v6","Standard_D4pds_v6","Standard_D8pds_v6","Standard_D16pds_v6","Standard_D32pds_v6","Standard_D48pds_v6","Standard_D64pds_v6","Standard_D96pds_v6","Standard_D2plds_v6","Standard_D4plds_v6","Standard_D8plds_v6","Standard_D16plds_v6","Standard_D32plds_v6","Standard_D48plds_v6","Standard_D64plds_v6","Standard_D96plds_v6","Standard_D2ps_v6","Standard_D4ps_v6","Standard_D8ps_v6","Standard_D16ps_v6","Standard_D32ps_v6","Standard_D48ps_v6","Standard_D64ps_v6","Standard_D96ps_v6","Standard_E2ps_v6","Standard_E4ps_v6","Standard_E8ps_v6","Standard_E16ps_v6","Standard_E32ps_v6","Standard_E48ps_v6","Standard_E64ps_v6","Standard_E96ps_v6","Standard_E2pds_v6","Standard_E4pds_v6","Standard_E8pds_v6","Standard_E16pds_v6","Standard_E32pds_v6","Standard_E48pds_v6","Standard_E64pds_v6","Standard_E96pds_v6"
Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
#!/bin/bash
2-
# Copyright (c) 2021, Oracle and/or its affiliates.
3-
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4-
5-
# Verify the service using systemctl status
6-
function verifyServiceStatus()
7-
{
8-
serviceName=$1
9-
systemctl status $serviceName | grep "active (running)"
10-
if [[ $? != 0 ]]; then
11-
echo "$serviceName is not in active (running) state"
12-
exit 1
13-
fi
14-
echo "$serviceName is active (running)"
15-
}
16-
17-
#Verify the service using systemctl is-active
18-
function verifyServiceActive()
19-
{
20-
serviceName=$1
21-
state=$(systemctl is-active $serviceName)
22-
if [[ $state == "active" ]]; then
23-
echo "$serviceName is active"
24-
else
25-
echo "$serviceName is not active"
26-
exit 1
27-
fi
28-
}
29-
30-
echo "Testing on admin server"
31-
servicesList="rngd wls_admin"
32-
33-
for service in $servicesList
34-
do
35-
verifyServiceStatus $service
36-
verifyServiceActive $service
37-
done
38-
39-
exit 0
1+
#!/bin/bash
2+
# Copyright (c) 2021, Oracle and/or its affiliates.
3+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4+
5+
# Verify the service using systemctl status
6+
function verifyServiceStatus()
7+
{
8+
serviceName=$1
9+
systemctl status $serviceName | grep "active (running)"
10+
if [[ $? != 0 ]]; then
11+
echo "$serviceName is not in active (running) state"
12+
exit 1
13+
fi
14+
echo "$serviceName is active (running)"
15+
}
16+
17+
#Verify the service using systemctl is-active
18+
function verifyServiceActive()
19+
{
20+
serviceName=$1
21+
state=$(systemctl is-active $serviceName)
22+
if [[ $state == "active" ]]; then
23+
echo "$serviceName is active"
24+
else
25+
echo "$serviceName is not active"
26+
exit 1
27+
fi
28+
}
29+
30+
echo "Testing on admin server"
31+
servicesList="rngd wls_admin"
32+
33+
for service in $servicesList
34+
do
35+
verifyServiceStatus $service
36+
verifyServiceActive $service
37+
done
38+
39+
exit 0
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#!/bin/bash
2-
# Copyright (c) 2021, Oracle and/or its affiliates.
3-
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4-
5-
echo "#adminPasswordOrKey#" | sudo -S [ -d "/u01/app/wls/install/oracle/middleware/oracle_home/wlserver/modules" ] && exit 0
6-
exit 1
1+
#!/bin/bash
2+
# Copyright (c) 2021, Oracle and/or its affiliates.
3+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4+
5+
echo "#adminPasswordOrKey#" | sudo -S [ -d "/u01/app/wls/install/oracle/middleware/oracle_home/wlserver/modules" ] && exit 0
6+
exit 1

0 commit comments

Comments
 (0)