Skip to content

Commit

Permalink
wip add action
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed Jan 15, 2025
1 parent 87936cb commit 29b356c
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/a.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: PiT
on:
workflow_dispatch:
push:
jobs:
prepare:
runs-on: ubuntu-latest
services:
docker:
image: docker:dind
options: --privileged --shm-size=2g
steps:
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: |
echo "OK OK "
node --version
type node
# - name: Install Docker
# run: |
# apt-get update
# apt-get install -y docker.io
# - name: Test Docker
# run: |
# docker version
# docker info
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1
- name: Load images
run: |
docker ps
kind get clusters
id
pwd
apt list --installed
40 changes: 40 additions & 0 deletions .github/workflows/mcm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Create Cluster

on:
workflow_dispatch:

# jobs:
# create-cluster:
# runs-on: ubuntu-latest
# steps:
# - name: Create k8s Kind Cluster
# uses: helm/kind-action@v1
jobs:
push_container:
runs-on: ubuntu-latest
services:
docker:
image: docker:dind
options: --privileged --shm-size=2g
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock:ro
container:
image: ubuntu:latest
steps:
- uses: actions/setup-node@v4
with:
node-version: '20.9.0'
# - name: Install Docker
# run: |
# apt-get update
# apt-get install -y docker.io
# - name: Test Docker
# run: |
# docker version
# docker info
# - name: Create k8s Kind Cluster
# uses: helm/kind-action@v1
# - name: Load images
# run: |
# echo "Sleeping for 100000 seconds"
# sleep 1000000

0 comments on commit 29b356c

Please sign in to comment.