Skip to content

Commit

Permalink
Fix missing Linux ARM64 attestations. (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois authored Jul 4, 2024
1 parent 8dd2416 commit 6b5b412
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 135 deletions.
119 changes: 0 additions & 119 deletions .circleci/config.yml

This file was deleted.

8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,20 @@ jobs:
matrix:
# N.B.: macos-12 is the oldest non-deprecated Intel Mac runner and macos-14 is the oldest
# non-deprecated ARM Mac runner.
os: [ubuntu-22.04, macos-12, macos-14, windows-2022]
os: [ubuntu-22.04, linux-arm64, macos-12, macos-14, windows-2022]
env:
SCIENCE_AUTH_API_GITHUB_COM_BEARER: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Setup Python 3.12
if: ${{ matrix.os != 'linux-arm64' }}
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Setup Python 3.12
if: ${{ matrix.os == 'linux-arm64' }}
run: |
python3.12 -m venv .venv
echo "$(pwd)/.venv/bin" >> "${GITHUB_PATH}"
- name: Setup Nox
run: pip install nox
- name: Checkout Lift
Expand Down
21 changes: 7 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
matrix:
# N.B.: macos-12 is the oldest non-deprecated Intel Mac runner and macos-14 is the oldest
# non-deprecated ARM Mac runner.
os: [ ubuntu-22.04, macos-12, macos-14, windows-2022 ]
os: [ ubuntu-22.04, linux-arm64, macos-12, macos-14, windows-2022 ]
environment: Release
env:
SCIENCE_AUTH_API_GITHUB_COM_BEARER: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -58,9 +58,15 @@ jobs:
discussions: write
steps:
- name: Setup Python 3.12
if: ${{ matrix.os != 'linux-arm64' }}
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Setup Python 3.12
if: ${{ matrix.os == 'linux-arm64' }}
run: |
python3.12 -m venv .venv
echo "$(pwd)/.venv/bin" >> "${GITHUB_PATH}"
- name: Setup Nox
run: pip install nox
- name: Checkout lift ${{ needs.determine-tag.outputs.release-tag }}
Expand Down Expand Up @@ -90,16 +96,3 @@ jobs:
files: dist/science-*
fail_on_unmatched_files: true
discussion_category_name: Announcements
aarch64-release-trigger:
name: Trigger Circle CI Linux aarch64 Github Release
needs:
- determine-tag
- github-release
runs-on: ubuntu-22.04
steps:
- name: Trigger aarch64 release
uses: CircleCI-Public/[email protected]
with:
GHA_Meta: "${{ needs.determine-tag.outputs.release-tag }}"
env:
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## 0.4.1

This release fixes missing attestations for Linux ARM64 artifacts.

## 0.4.0

Update dependencies and configure releases to include artifact attestations in Sigstore.
Expand Down
2 changes: 1 addition & 1 deletion science/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

from packaging.version import Version

__version__ = "0.4.0"
__version__ = "0.4.1"

VERSION = Version(__version__)

0 comments on commit 6b5b412

Please sign in to comment.