Skip to content

Commit

Permalink
Try an e2e build.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Mar 29, 2024
1 parent 3b3a16f commit f3e251c
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/build-tenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.

name: Auto-update buildboxes
name: Build tenv
on:
push:
branches: [main]
Expand Down Expand Up @@ -96,20 +96,7 @@ jobs:
aws s3 cp --sse=aws:kms --sse-kms-key-id="${KMS_KEY_ID}" tenv*.aarch64.rpm "s3://${PACKAGE_BUCKET}/rpm/amazonlinux/2/aarch64/"
aws s3 cp --sse=aws:kms --sse-kms-key-id="${KMS_KEY_ID}" tenv*.aarch64.rpm "s3://${PACKAGE_BUCKET}/rpm/amazonlinux/2023/aarch64/"
triggers:
name: Trigger workflow
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- name: "AL2: Update metadata"
env:
GHE_TOKEN: ${{ secrets.GHE_TOKEN }}
run: |
curl -X POST \
-H "Authorization: Bearer ${GHE_TOKEN}" \
-H "Accept: application/vnd.github.v3+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/northwood-labs/package-building/actions/workflows/${{ matrix.workflows }}/dispatches" \
-d '{"ref":"main"}'
metadata:
name: Generate metadata
uses: northwood-labs/package-building/.github/workflows/generate-rpm-meta.yml@main
secrets: inherit

0 comments on commit f3e251c

Please sign in to comment.