-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |