Skip to content
Open
Show file tree
Hide file tree
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
80 changes: 0 additions & 80 deletions .github/workflows/build.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/yb-ctl-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: yb-ctl-test

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- master
paths:
- '**/yb-ctl*'

pull_request:
branches:
- master
paths:
- '**/yb-ctl*'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
yb-ctl-test:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ macos-latest, ubuntu-18.04 ]
python-version: [ 2.7, 3.8 ]

steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- uses: actions/checkout@v2

- name: Run yb-ctl-test
run: |
set -x
tmpdir=$(mktemp -d)
cp -r scripts/installation "${tmpdir}/"
cd "${tmpdir}/installation"
test/yb-ctl-test.sh
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "submodules/yugabyte-installation"]
path = submodules/yugabyte-installation
url = https://github.com/yugabyte/yugabyte-installation.git
[submodule "submodules/yugabyte-bash-common"]
path = submodules/yugabyte-bash-common
url = https://github.com/yugabyte/yugabyte-bash-common.git
Expand Down
2 changes: 1 addition & 1 deletion bin/yb-ctl
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ set -euo pipefail
set_sanitizer_runtime_options

# Invoke the actual yb-ctl script.
"$YB_SRC_ROOT"/submodules/yugabyte-installation/bin/yb-ctl "$@"
"$YB_SRC_ROOT"/scripts/installation/bin/yb-ctl "$@"
Loading