Skip to content

Commit

Permalink
Remove git fetch calls from jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xnm committed Feb 27, 2025
1 parent a4adc10 commit b9db8a0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ analysis:licenses:
stage: analysis
timeout: 30m
script:
- git fetch --depth=1 origin main
- GRADLE_OPTS="-Xmx2560m" ./gradlew :dd-sdk-android-gradle-plugin:checkThirdPartyLicences --stacktrace --no-daemon

analysis:woke:
Expand All @@ -79,7 +78,6 @@ analysis:woke:
stage: analysis
timeout: 30m
script:
- git fetch --depth=1 origin master
- /usr/bin/woke --exit-1-on-failure

# TESTS
Expand All @@ -90,7 +88,6 @@ test:plugin:
stage: test
timeout: 1h
script:
- git fetch --depth=1 origin main
- rm -rf ~/.gradle/daemon/
- CODECOV_TOKEN=$(aws ssm get-parameter --region us-east-1 --name ci.dd-sdk-android-gradle-plugin.codecov-token --with-decryption --query "Parameter.Value" --out text)
- export DD_AGENT_HOST="$BUILDENV_HOST_IP"
Expand All @@ -115,7 +112,6 @@ publish:publish-sonatype:
- export GPG_PASSWORD=$(aws ssm get-parameter --region us-east-1 --name ci.dd-sdk-android-gradle-plugin.signing.gpg_passphrase --with-decryption --query "Parameter.Value" --out text)
- export OSSRH_USERNAME=$(aws ssm get-parameter --region us-east-1 --name ci.dd-sdk-android-gradle-plugin.signing.ossrh_username --with-decryption --query "Parameter.Value" --out text)
- export OSSRH_PASSWORD=$(aws ssm get-parameter --region us-east-1 --name ci.dd-sdk-android-gradle-plugin.signing.ossrh_password --with-decryption --query "Parameter.Value" --out text)
- git fetch --depth=1 origin main
- ./gradlew :dd-sdk-android-gradle-plugin:publishPluginMavenPublicationToMavenRepository --stacktrace --no-daemon

publish:publish-gradle-portal:
Expand All @@ -129,7 +125,6 @@ publish:publish-gradle-portal:
- aws ssm get-parameter --region us-east-1 --name ci.dd-sdk-android-gradle-plugin.gradle-properties --with-decryption --query "Parameter.Value" --out text >> ./gradle.properties
- export GPG_PRIVATE_KEY=$(aws ssm get-parameter --region us-east-1 --name ci.dd-sdk-android-gradle-plugin.signing.gpg_private_key --with-decryption --query "Parameter.Value" --out text)
- export GPG_PASSWORD=$(aws ssm get-parameter --region us-east-1 --name ci.dd-sdk-android-gradle-plugin.signing.gpg_passphrase --with-decryption --query "Parameter.Value" --out text)
- git fetch --depth=1 origin main
- ./gradlew :dd-sdk-android-gradle-plugin:publishPlugins --stacktrace --no-daemon

# SLACK NOTIFICATIONS
Expand Down

0 comments on commit b9db8a0

Please sign in to comment.