Skip to content

Commit

Permalink
chore: fix aws ami build action
Browse files Browse the repository at this point in the history
  • Loading branch information
fd0r committed Jan 18, 2024
1 parent 58dc450 commit 8636127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cifar_benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
curl --fail-with-body \
-H "Authorization: Bearer ${{ secrets.NEW_ML_PROGRESS_TRACKER_TOKEN }}" \
-H "Content-Type: application/json; charset=UTF-8" \
--json @to_upload.json \
-d @to_upload.json \
-X POST "${{ secrets.NEW_ML_PROGRESS_TRACKER_URL }}experiment"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish_aws_ami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
# FIXME: We still need to check that it matches a version tag
# This won't work on automatically triggered based on release
- name: Checkout Concrete ML Repository
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ inputs.version || github.ref_name}}
Expand All @@ -33,7 +32,6 @@ jobs:

# To use the files and all
- name: Checkout Concrete ML Repository
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 1
Expand Down Expand Up @@ -74,7 +72,7 @@ jobs:
SIGNATURE="$(bash slab/scripts/hmac_calculator.sh payload.json '${{ secrets.JOB_SECRET }}')"
curl -v -k \
curl --fail-with-body -v -k \
-H "Content-Type: application/json" \
-H "X-Slab-Repository: ${{ github.repository }}" \
-H "X-Slab-Command: build_aws_ami" \
Expand Down

0 comments on commit 8636127

Please sign in to comment.