Skip to content

Commit 30e7160

Browse files
committed
cisetup
1 parent 443420a commit 30e7160

2 files changed

Lines changed: 3 additions & 23 deletions

File tree

.github/cisetup.sh

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818
#
19+
cd $HOME
1920
sudo apt-get -y install curl wget jq
2021
# ensure local bin exists and is on PATH for this script
2122
mkdir -p "$HOME/.local/bin"
@@ -62,23 +63,3 @@ curl -sL https://taskfile.dev/install.sh | sh -s -- -d -b $HOME/.local/bin; \
6263
echo "TASK IS: $(which task)"; \
6364
task --version &&
6465
ops -t && ls -lah $resolved_ops_bin
65-
66-
67-
#WSK_VERSION=1.2.0
68-
#WSK_BASE=https://github.com/apache/openwhisk-cli/releases/download
69-
#ARCH=amd64
70-
#WSK_URL="$WSK_BASE/$WSK_VERSION/OpenWhisk_CLI-$WSK_VERSION-linux-$ARCH.tgz"
71-
#curl -sSL https://install.python-poetry.org | python3.12 -
72-
#curl -sSL "$WSK_URL" | tar xzvf - -C ~/.local/bin/
73-
#VER="v4.5.4"
74-
#ARCH="$(dpkg --print-architecture)"
75-
#URL="https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F$VER/kustomize_${VER}_linux_${ARCH}.tar.gz"
76-
#curl -sL $URL | tar tzvf - -C ~/.local/bin
77-
#YQ_VER=v4.27.2
78-
#YQ_BIN=yq_linux_amd64
79-
#sudo wget https://github.com/mikefarah/yq/releases/download/${YQ_VER}/${YQ_BIN} -O /usr/bin/yq && sudo chmod +x /usr/bin/yq
80-
#MC_VER=RELEASE.2025-05-21T01-59-54Z
81-
#sudo wget https://dl.min.io/client/mc/release/linux-${ARCH}/archive/mc.${MC_VER} -O /usr/bin/mc && sudo chmod +x /usr/bin/mc
82-
#URL="https://dl.k8s.io/release/$VER/bin/linux/$ARCH/kubectl"
83-
#curl -sSL "$URL" | sudo tee /usr/local/bin/kubectl && sudo chmod +x /usr/bin/kubectl
84-
#kubectl version

.github/workflows/check.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ jobs:
2828
name: Check OpenServerless Operator
2929
runs-on: ubuntu-22.04
3030
steps:
31-
- name: Setup
32-
run: bash .github/cisetup.sh
3331
- name: Checkout
3432
uses: actions/checkout@v2
3533
with:
@@ -52,7 +50,8 @@ jobs:
5250
uses: actions/setup-python@v4
5351
with:
5452
python-version: 3.12
55-
53+
- name: Setup
54+
run: bash .github/cisetup.sh
5655
- name: Kind
5756
run: ops clusters kind create
5857
# - name: Setup

0 commit comments

Comments
 (0)