Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github actions access token migration #1255

Merged
merged 2 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/gradle-data-capturing-samples-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,21 @@ jobs:
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/gradle-build-action@v3
with:
develocity-access-key: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}
- name: Inject data capture script into Gradle build using Groovy DSL
working-directory: common-develocity-gradle-configuration-groovy
run: |
# apply sample file
echo "apply from: file(\"../build-data-capturing-gradle-samples/${{matrix.sample-file}}\")" >> build.gradle
- name: Run Gradle build using Groovy DSL
working-directory: common-develocity-gradle-configuration-groovy
run: ./gradlew tasks -Dgradle.enterprise.url=https://ge.solutions-team.gradle.com
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}
run: ./gradlew tasks -Ddevelocity.url=https://ge.solutions-team.gradle.com
- name: Inject data capture script into Gradle build using Kotlin DSL
working-directory: common-develocity-gradle-configuration-kotlin
run: |
# apply sample file
echo "apply(from = \"../build-data-capturing-gradle-samples/${{matrix.sample-file}}.kts\")" >> build.gradle.kts
- name: Run Gradle build using Kotlin DSL
working-directory: common-develocity-gradle-configuration-kotlin
run: ./gradlew tasks -Dgradle.enterprise.url=https://ge.solutions-team.gradle.com
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}
run: ./gradlew tasks -Ddevelocity.url=https://ge.solutions-team.gradle.com
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
-f -e 2>&1 | tee -a /tmp/build.log
echo "hasUnknownParams=$(grep "Build caching was not enabled for this goal execution because the following parameters were not handled" /tmp/build.log | wc -l)" >> $GITHUB_OUTPUT
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}
- name: Verify no unmapped mojo parameters
if: (success() || failure()) && steps.build.outputs.hasUnknownParams != '0'
run: exit 1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
echo "$(mvn -f common-develocity-maven-configuration/pom.xml -Ddevelocity.url=https://ge.solutions-team.gradle.com -X -B clean validate)" >> $GITHUB_OUTPUT
echo "${delimiter}" >> $GITHUB_OUTPUT
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}
- name: Validate extension loaded
# Asserting that extension was loaded checking a log entry
run: exit 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quarkus-build-caching-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: |
./mvnw --batch-mode clean package integration-test
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}
- name: Upload integration tests reports (on failure only)
if: ${{ failure() }}
uses: actions/upload-artifact@v4
Expand Down
Loading