Skip to content

Commit ac27050

Browse files
marinakogrjeberhard
authored andcommitted
Forward recent changes from release/4.2 to main
1 parent 62a1704 commit ac27050

39 files changed

+518
-211
lines changed

Jenkinsfile.armoke

Lines changed: 87 additions & 35 deletions
Large diffs are not rendered by default.

Jenkinsfile.oke

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33
//
44

5-
CRON_SETTINGS = '''H 3 * * 0-4 % MAVEN_PROFILE_NAME=oke-gate;CLUSTER_NAME=seqone;PARALLEL_RUN=false
6-
H 1 * * 0-4 % MAVEN_PROFILE_NAME=oke-sequential;CLUSTER_NAME=seqtwo;PARALLEL_RUN=false
7-
H 2 * * 0-4 % MAVEN_PROFILE_NAME=oke-parallel;CLUSTER_NAME=parone;PARALLEL_RUN=true'''
5+
CRON_SETTINGS = '''H 3 * * 6 % MAVEN_PROFILE_NAME=oke-weekly-sequential;CLUSTER_NAME=seqweek;PARALLEL_RUN=false
6+
H 18 * * 0-4 % MAVEN_PROFILE_NAME=oke-sequential;CLUSTER_NAME=seqone;PARALLEL_RUN=false
7+
H 12 * * 0-4 % MAVEN_PROFILE_NAME=oke-parallel;CLUSTER_NAME=parone;PARALLEL_RUN=true'''
8+
9+
10+
811

912
pipeline {
1013
agent { label 'large' }
@@ -83,18 +86,18 @@ pipeline {
8386

8487
string(name: 'OKE_KUBE_VERSION',
8588
description: 'kube version for oke cluster',
86-
defaultValue: '1.29.1'
89+
defaultValue: '1.30.1'
8790
)
8891
string(name: 'IMAGE_ID',
8992
description: 'oci image id for node pool, find image OCID for your region from https://docs.oracle.com/iaas/images/',
9093
//defaultValue OKE1.26.2: 'ocid1.image.oc1.phx.aaaaaaaaaizmtmozeudeeuq7o5ir7dkl2bkxbbb3tgomshqbqn6jpomrsjza'
9194
//1.27.2 oke defaultValue: 'ocid1.image.oc1.phx.aaaaaaaaypr5r5drojwytghw6e6mvpjsscrnkuwtmqlmvmix7kjb2zcnc7wa'
92-
defaultValue: 'ocid1.image.oc1.phx.aaaaaaaa22u45gr3ikxnc6rius2qil2kz5k3e7p476c4usr6qnvql4l5dxea'
95+
defaultValue: 'ocid1.image.oc1.phx.aaaaaaaahgrs3zcwrvutjtni557ttrt62uggseijsmqxacr7dym423uaokcq'
9396

9497
)
9598
string(name: 'KUBECTL_VERSION',
9699
description: 'kubectl version',
97-
defaultValue: '1.26.2'
100+
defaultValue: '1.30.0'
98101
)
99102
string(name: 'HELM_VERSION',
100103
description: 'Helm version',
@@ -115,9 +118,9 @@ pipeline {
115118
)
116119

117120
choice(name: 'MAVEN_PROFILE_NAME',
118-
description: 'Profile to use in mvn command to run the tests. Possible values are oke-gate,oke-parallel, oke-sequential. Refer to weblogic-kubernetes-operator/integration-tests/pom.xml on the branch.',
121+
description: 'Profile to use in mvn command to run the tests. Possible values are oke-weekly-sequential,oke-parallel, oke-sequential. Refer to weblogic-kubernetes-operator/integration-tests/pom.xml on the branch.',
119122
choices: [
120-
'oke-gate',
123+
'oke-weekly-sequential',
121124
'oke-sequential',
122125
'oke-parallel'
123126
]
@@ -144,7 +147,7 @@ pipeline {
144147
)
145148
string(name: 'NODE_SHAPE',
146149
description: '',
147-
defaultValue: "VM.Standard.E4.Flex"
150+
defaultValue: "VM.Standard.E5.Flex"
148151
)
149152
string(name: 'MOUNT_TARGET_OCID',
150153
description: 'only for debug runs on wko-oke-dev',
@@ -683,7 +686,7 @@ EOF
683686
${WORKSPACE}/terraform/oke.delete.sh ${OCI_PROP_FILE} ${WORKSPACE}/terraform ${AVAILABILITY_DOMAIN}
684687
fi
685688

686-
if [ "${MAVEN_PROFILE_NAME}" = "oke-gate" ] && [ "${BRANCH}" = "release/4.2" ]; then
689+
if [ "${MAVEN_PROFILE_NAME}" = "oke-sequential" ] && [ "${BRANCH}" = "release/4.2" ]; then
687690
compname="wkt"
688691
wkt_compartment_ocid=$(oci iam compartment list --compartment-id-in-subtree true --all | jq --arg compname "$compname" '.data[] | select(."name"==$compname)' | jq -r ."id")
689692
sec_list_id=$(oci network security-list list --compartment-id="$wkt_compartment_ocid" --display-name=Security-List-wktiso1 | jq -r '.data[] | ."id"')

integration-tests/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,10 +469,10 @@
469469
</profile>
470470

471471
<profile>
472-
<id>oke-gate</id>
472+
<id>oke-weekly-sequential</id>
473473
<properties>
474474
<skipITs>false</skipITs>
475-
<groups>oke-gate</groups>
475+
<groups>oke-weekly-sequential</groups>
476476
</properties>
477477
</profile>
478478
<profile>

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItConfigDistributionStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
@DisplayName("Verify the overrideDistributionStrategy applies the overrides accordingly to the value set")
134134
@Tag("kind-parallel")
135135
@Tag("okd-wls-mrg")
136-
@Tag("oke-parallel")
136+
@Tag("oke-weekly-sequential")
137137
@IntegrationTest
138138
@Tag("olcne-mrg")
139139
class ItConfigDistributionStrategy {

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItCrossDomainTransaction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
*/
108108
@DisplayName("Verify cross domain transaction is successful")
109109
@IntegrationTest
110-
@Tag("oke-sequential")
110+
@Tag("oke-weekly-sequential")
111111
@Tag("kind-parallel")
112112
@Tag("okd-wls-srg")
113113
class ItCrossDomainTransaction {

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItDBOperator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
@DisplayName("Test to create FMW model in image domain and WebLogic domain using Oracle "
110110
+ "database created using Oracle Database Operator")
111111
@IntegrationTest
112-
@Tag("oke-gate")
112+
@Tag("oke-weekly-sequential")
113113
@Tag("kind-parallel")
114114
class ItDBOperator {
115115

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItDedicatedMode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
*/
6969
@DisplayName("Test Operator and WebLogic domain with Dedicated set to true")
7070
@Tag("kind-sequential")
71-
@Tag("oke-gate")
71+
@Tag("oke-weekly-sequential")
7272
@Tag("okd-wls-mrg")
7373
@IntegrationTest
7474
class ItDedicatedMode {

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItFmwDomainInPVUsingWDT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
*/
6060
@DisplayName("Test to creat a FMW domain in persistent volume using WDT")
6161
@IntegrationTest
62-
@Tag("oke-gate")
62+
@Tag("oke-weekly-sequential")
6363
@Tag("kind-sequential")
6464
@Tag("okd-fmw-cert")
6565
class ItFmwDomainInPVUsingWDT {

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItFmwDomainInPVUsingWLST.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
@Tag("okd-fmw-cert")
7373
@IntegrationTest
7474
@Tag("olcne-sequential")
75-
@Tag("oke-gate")
75+
@Tag("oke-weekly-sequential")
7676
class ItFmwDomainInPVUsingWLST {
7777

7878
private static String dbNamespace = null;

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItFmwDomainInPvUserCreateRcu.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
@DisplayName("Test for initializeDomainOnPV when user per-creates RCU")
9999
@IntegrationTest
100100
@Tag("kind-sequential")
101-
@Tag("oke-gate")
101+
@Tag("oke-weekly-sequential")
102102
public class ItFmwDomainInPvUserCreateRcu {
103103

104104
private static String opNamespace = null;

0 commit comments

Comments
 (0)