Skip to content

Commit

Permalink
Use RCC source code from elabit/rcc
Browse files Browse the repository at this point in the history
For now, we use version 17.29.1 with micromamba 1.5.8 from GitHub. We have no
other choice, since the RCC source code is no longer available from
robocorp/rcc.

CMK-21718
  • Loading branch information
jherbel committed Feb 7, 2025
1 parent 1e75533 commit 03e6561
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/rcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_call: {}

env:
RCC_TAG: "v17.18.0" # Update omd/Licenses.csv in the Checkmk repo when changing this.
RCC_REF: "v17.29.1_micromamba_v1.5.8_from_github" # Update omd/Licenses.csv in the Checkmk repo when changing this.
GO_VERSION: "1.20.x"
RUBY_VERSION: "2.7"

Expand All @@ -32,7 +32,7 @@ jobs:
- id: restore-from-cache
uses: actions/cache/restore@v4
with:
key: rcc-${{ env.RCC_TAG }}-${{ env.GO_VERSION }}-${{ env.RUBY_VERSION }}
key: rcc-${{ env.RCC_REF }}-${{ env.GO_VERSION }}-${{ env.RUBY_VERSION }}
path: build
lookup-only: true

Expand All @@ -45,8 +45,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: robocorp/rcc
ref: ${{ env.RCC_TAG }}
repository: elabit/rcc
ref: ${{ env.RCC_REF }}
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
Expand All @@ -57,7 +57,7 @@ jobs:
- run: rake test
- uses: actions/cache/save@v4
with:
key: rcc-${{ env.RCC_TAG }}-${{ env.GO_VERSION }}-${{ env.RUBY_VERSION }}
key: rcc-${{ env.RCC_REF }}-${{ env.GO_VERSION }}-${{ env.RUBY_VERSION }}
path: build

upload:
Expand All @@ -72,7 +72,7 @@ jobs:
- uses: actions/cache/restore@v4
with:
path: build
key: rcc-${{ env.RCC_TAG }}-${{ env.GO_VERSION }}-${{ env.RUBY_VERSION }}
key: rcc-${{ env.RCC_REF }}-${{ env.GO_VERSION }}-${{ env.RUBY_VERSION }}
fail-on-cache-miss: true
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 03e6561

Please sign in to comment.