Skip to content

Commit 51f70b3

Browse files
authored
Merge branch 'main' into gradlew_check
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
2 parents 86fa6e8 + 7e6f443 commit 51f70b3

259 files changed

Lines changed: 10237 additions & 231 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build_hive.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Publish Test Results
5353
if: failure()
54-
uses: actions/upload-artifact@v2
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: test-results-${{ matrix.os }}
5757
path: '**/build/test-results'

.github/workflows/build_mr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Publish Test Results
5353
if: failure()
54-
uses: actions/upload-artifact@v2
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: test-results-${{ matrix.os }}
5757
path: '**/build/test-results'

.github/workflows/build_spark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Publish Test Results
5353
if: failure()
54-
uses: actions/upload-artifact@v2
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: test-results-${{ matrix.os }}
5757
path: '**/build/test-results'

.github/workflows/build_spark_20.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Publish Test Results
5353
if: failure()
54-
uses: actions/upload-artifact@v2
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: test-results-${{ matrix.os }}
5757
path: '**/build/test-results'

.github/workflows/build_spark_20_scala_210.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Publish Test Results
5353
if: failure()
54-
uses: actions/upload-artifact@v2
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: test-results-${{ matrix.os }}
5757
path: '**/build/test-results'

.github/workflows/build_spark_20_scala_211.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Publish Test Results
5353
if: failure()
54-
uses: actions/upload-artifact@v2
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: test-results-${{ matrix.os }}
5757
path: '**/build/test-results'

.github/workflows/build_spark_30.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Publish Test Results
5353
if: failure()
54-
uses: actions/upload-artifact@v2
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: test-results-${{ matrix.os }}
5757
path: '**/build/test-results'

.github/workflows/build_spark_30_scala_213.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Publish Test Results
5353
if: failure()
54-
uses: actions/upload-artifact@v2
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: test-results-${{ matrix.os }}
5757
path: '**/build/test-results'

.github/workflows/publish_snapshot.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
id-token: write
1313
contents: write
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- name: Set up JDK 8
1717
uses: actions/setup-java@v3
1818
with:
@@ -109,24 +109,25 @@ jobs:
109109
- name: debug output directories
110110
run: tree maven
111111

112-
- uses: actions/checkout@v3
112+
- uses: actions/checkout@v4
113113
with:
114114
repository: 'opensearch-project/opensearch-build-libraries'
115115
path: 'build'
116+
ref: '9.6.2'
116117

117-
- name: Configure AWS credentials
118-
uses: aws-actions/configure-aws-credentials@v2
118+
- name: Load secret
119+
uses: 1password/load-secrets-action@v2
119120
with:
120-
role-to-assume: ${{ secrets.PUBLISH_SNAPSHOTS_ROLE }}
121-
aws-region: us-east-1
121+
# Export loaded secrets as environment variables
122+
export-env: true
123+
env:
124+
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
125+
SONATYPE_USERNAME: op://opensearch-infra-secrets/maven-central-portal-credentials/username
126+
SONATYPE_PASSWORD: op://opensearch-infra-secrets/maven-central-portal-credentials/password
122127

123128
- name: Get credentials and publish snapshots to maven
124129
run: |
125-
export SONATYPE_USERNAME=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-username --query SecretString --output text)
126-
export SONATYPE_PASSWORD=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-password --query SecretString --output text)
127-
echo "::add-mask::$SONATYPE_USERNAME"
128-
echo "::add-mask::$SONATYPE_PASSWORD"
129-
export SNAPSHOT_REPO_URL="https://aws.oss.sonatype.org/content/repositories/snapshots/"
130+
export SNAPSHOT_REPO_URL="https://central.sonatype.com/repository/maven-snapshots/"
130131
build/resources/publish/publish-snapshot.sh $MAVEN_HOME
131132
132133

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ metastore_db
2020
out/
2121
localRepo/
2222
.vscode/
23-
*.jar
23+
*.jar
24+
.DS_Store

0 commit comments

Comments
 (0)