Skip to content

Commit

Permalink
Added unit test for docker (#110)
Browse files Browse the repository at this point in the history
Added unit test for docker

Signed-off-by: Yuvraj <[email protected]>
  • Loading branch information
yindia authored Jun 21, 2021
1 parent 7a43a97 commit b11a9e8
Show file tree
Hide file tree
Showing 13 changed files with 1,333 additions and 336 deletions.
2 changes: 1 addition & 1 deletion flytectl/.github/workflows/generate-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

jobs:
build:
generate-docs:
name: Generate documentation
runs-on: ubuntu-latest
steps:
Expand Down
28 changes: 28 additions & 0 deletions flytectl/.github/workflows/sandbox.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test Getting started

on:
pull_request:
branches:
- master

jobs:
sandbox:
name: Test Getting started
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
- name: Build Flytectl binary
run: make compile
- name: Create a sandbox cluster
run: bin/flytectl sandbox start
- name: Register cookbook
run: bin/flytectl register examples -d development -p flytesnacks || true
- name: Teardown Sandbox cluster
run: bin/flytectl sandbox teardown
159 changes: 0 additions & 159 deletions flytectl/cmd/sandbox/sandbox_util.go

This file was deleted.

136 changes: 0 additions & 136 deletions flytectl/cmd/sandbox/sandbox_util_test.go

This file was deleted.

Loading

0 comments on commit b11a9e8

Please sign in to comment.