Skip to content

Commit

Permalink
bump artifacts v3->v4 (#1792)
Browse files Browse the repository at this point in the history
* artifacts v3->v4

* refactor upload/download artifacts for v4

* added matrix vars

* downgrade podman to match kubic release?

* replace doesn't exist

* bring back recent podman

* added runtime to artifacts names

* trying kubic from podman install docs

* endless trying

* dear yaml

* distinct names for vxlan logs

* add timeout

* use outputs for cross-wf arg pass

* use needs

* carve out clab build step

* go ver env var fix

* carve out smoke tests

* carve out srl tests

* added file changes dep

* download all coverage artifacts

* added go mod cache for static check step
  • Loading branch information
hellt authored Dec 19, 2023
1 parent 91a2848 commit f811652
Show file tree
Hide file tree
Showing 6 changed files with 266 additions and 159 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build-containerlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: build-clab

"on":
workflow_call:
inputs:
go_ver:
required: true
type: string

jobs:
build-clab:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: WillAbides/[email protected]
with:
go-version: ${{ inputs.go_ver }}

- name: Cache go modules
uses: actions/cache@v3
with:
# In order:
# * Module download cache
# * Build cache (Linux)
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build containerlab
run: make build-with-podman-debug BINARY=containerlab
# store clab binary as artifact
- name: Upload containerlab binary
uses: actions/upload-artifact@v4
with:
name: containerlab
path: containerlab
compression-level: 0
Loading

0 comments on commit f811652

Please sign in to comment.