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

Fix missing Linux ARM64 attestations. #67

Merged
merged 1 commit into from
Jul 4, 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
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__)