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

Disable sigstore-java test temporarily #162

Merged
merged 1 commit into from
Aug 22, 2024
Merged
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
78 changes: 39 additions & 39 deletions .github/workflows/custom-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,42 +139,42 @@ jobs:
--blob-file=artifact \
artifact.sigstore.json

sigstore-java:
runs-on: ubuntu-latest
needs: [sigstore-python]
steps:
- name: Set up JDK
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
with:
java-version: 17
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: "sigstore/sigstore-java"
fetch-tags: true

- name: Build cli from latest release tag, unpack distribution
run: |
git checkout $(git describe --tags --match="v[0-9]*" HEAD)
./gradlew :sigstore-cli:build
tar -xvf sigstore-cli/build/distributions/sigstore-cli-*.tar --strip-components 1

- name: Download bundle to verify
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: bundle

- name: Test published repository with sigstore-java
run: |
touch artifact

bin/sigstore-cli verify-bundle \
--staging-with-tuf-url-override $STAGING_URL \
--bundle artifact.sigstore.json \
--certificate-identity $IDENTITY \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
artifact
# sigstore-java:
# runs-on: ubuntu-latest
# needs: [sigstore-python]
# steps:
# - name: Set up JDK
# uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
# with:
# java-version: 17
# distribution: 'temurin'
#
# - name: Setup Gradle
# uses: gradle/actions/setup-gradle@v4
#
# - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# with:
# repository: "sigstore/sigstore-java"
# fetch-tags: true
#
# - name: Build cli from latest release tag, unpack distribution
# run: |
# git checkout $(git describe --tags --match="v[0-9]*" HEAD)
# ./gradlew :sigstore-cli:build
# tar -xvf sigstore-cli/build/distributions/sigstore-cli-*.tar --strip-components 1
#
# - name: Download bundle to verify
# uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
# with:
# name: bundle
#
# - name: Test published repository with sigstore-java
# run: |
# touch artifact
#
# bin/sigstore-cli verify-bundle \
# --staging-with-tuf-url-override $STAGING_URL \
# --bundle artifact.sigstore.json \
# --certificate-identity $IDENTITY \
# --certificate-oidc-issuer https://token.actions.githubusercontent.com \
# artifact