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

Refactor os-compatiblity-test CI #36052

Closed
wants to merge 1 commit into from
Closed
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
19 changes: 9 additions & 10 deletions .github/workflows/os-compatibility-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,24 @@ jobs:
permissions:
contents: read

container:
image: ghcr.io/gravitational/teleport-buildbox-centos7:teleport15-amd64
env:
GOCACHE: /tmp/gocache
WEBASSETS_SKIP_BUILD: 1
env:
GOCACHE: /tmp/gocache

steps:
- name: Checkout Teleport
uses: actions/checkout@v3 # Cannot upgrade to v4 while this runs in centos:7 due to nodejs GLIBC incompatibility
uses: actions/checkout@v4

- name: Prepare workspace
uses: ./.github/actions/prepare-workspace

- name: Run make
- name: Build release binaries
env:
WEBASSETS_SKIP_BUILD: 1
run: |
make -j"$(nproc)" binaries
make -C build.assets build-binaries

- name: Upload binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build
path: ${{ github.workspace }}/build/
Expand All @@ -59,7 +58,7 @@ jobs:
uses: actions/checkout@v4

- name: Download binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build
path: ${{ github.workspace }}/build
Expand Down