Skip to content

fix: wrong nested field setting #59

fix: wrong nested field setting

fix: wrong nested field setting #59

Workflow file for this run

name: upstream
on:
pull_request:
branches: [master, main]
jobs:
Karina:
runs-on: ubuntu-latest
env:
FILE_CHANGES_TO_CORE_ARTIFACTS: true
strategy:
fail-fast: false
matrix:
k8s:
- v1.18.6
suite:
- minimal
steps:
- uses: actions/checkout@v2
with:
path: kommons
- uses: actions/checkout@v2
with:
#Using Main branch of Karina Repository
repository: flanksource/karina
path: karina
- uses: actions/setup-go@v2
with:
go-version: "1.18" # The Go version to download (if necessary) and use.
- run: go version
- name: replace Module
run: |
cd karina
module=$(cat go.mod | grep github.com/flanksource/kommons | awk '{print $2}')
go mod edit -replace github.com/flanksource/kommons@$module=$GITHUB_WORKSPACE/kommons
cat go.mod
go mod tidy
- name: Test Make Linux
working-directory: ./karina
run: make linux
- name: Run e2e testing script
id: e2e
working-directory: ./karina
env:
SUITE: ${{ matrix.suite }}
KUBERNETES_VERSION: ${{matrix.k8s}}
BUILD: test (${{matrix.k8s}}, ${{ matrix.suite }})
ADDITIONAL_CONFIG: -c test/hosted-tests.yaml
run: ./test/test.sh
- name: Upload test results
uses: actions/upload-artifact@v2
with:
if-no-files-found: ignore
name: test-results-${{matrix.k8s}}-${{matrix.suite}}
path: test-results/
- name: Upload snapshots
uses: actions/upload-artifact@v2
with:
if-no-files-found: ignore
name: snapshot-${{matrix.k8s}}-${{matrix.suite}}
path: artifacts/snapshot.zip
canary-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: kommons
- uses: actions/checkout@v4
with:
repository: flanksource/canary-checker
path: canary-checker
branch: master
- uses: actions/setup-go@v4
with:
go-version: 1.20.x
- name: replace Module
run: |
cd canary-checker
module=$(cat go.mod | grep github.com/flanksource/kommons | awk '{print $2}')
go mod edit -replace github.com/flanksource/kommons@$module=$GITHUB_WORKSPACE/kommons
cat go.mod
go mod tidy
- name: Test Make Linux
working-directory: ./canary-checker
run: make linux
- name: Build
working-directory: ./canary-checker
run: make