-
Notifications
You must be signed in to change notification settings - Fork 0
K8s github runner #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
PedroRegisPOAR
wants to merge
86
commits into
main
Choose a base branch
from
feature/k8s
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 20 commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
aff20f8
Transforma VM em k8s
PedroRegisPOAR 49b81d1
ajusts
PedroRegisPOAR 41f2c70
Adds alias
PedroRegisPOAR d101c11
Corrige eexemplo mais simples
PedroRegisPOAR 4d53bb4
networking.firewall.enable = false;
PedroRegisPOAR b5c1a57
runs-on: arc-runner-set
PedroRegisPOAR ffae541
bump
PedroRegisPOAR c506c35
Multiplos ajustes, e workflow_dispatch
PedroRegisPOAR 7e8c21a
Simplifica testes
PedroRegisPOAR 57c57a9
Testa instalar nix
PedroRegisPOAR 6ba80ff
Testa instalar curl para instalar nix
PedroRegisPOAR d7e8c2a
Debugando o ambiente
PedroRegisPOAR 7ddd270
Debugando o ambiente
PedroRegisPOAR 0a0f949
Debugando o ambiente, 3
PedroRegisPOAR 682a1e6
Debugando o ambiente, 4
PedroRegisPOAR 12eab64
Debugando o ambiente, 5
PedroRegisPOAR 41864ad
Debugando o ambiente, 6
PedroRegisPOAR ff6d19b
Simplifica instruções
PedroRegisPOAR d29ed06
Ajusta texto
PedroRegisPOAR 1fff743
Ajustes, pricipalmente time.timeZone = "America/Recife";
PedroRegisPOAR 113b773
Ajusts
PedroRegisPOAR e356c86
Reduz RAM para 8Gigas
PedroRegisPOAR bc968d8
Debugando o ambiente, DinD tests, 0
PedroRegisPOAR dd3b62b
Debugando o ambiente, DinD tests, 1
PedroRegisPOAR 7504015
Debugando o ambiente, DinD tests, 2
PedroRegisPOAR a50873a
Debugando o ambiente, DinD tests, 3
PedroRegisPOAR 8d12241
Debugando o ambiente, DinD tests, 4
PedroRegisPOAR 0415e21
WIP
PedroRegisPOAR d927884
WIP, testanod dind
PedroRegisPOAR 3e338b1
WIP, testanod dind
PedroRegisPOAR 34ca7e2
WIP, testanod dind
PedroRegisPOAR 574f26d
WIP, testanod dind
PedroRegisPOAR 410a0ac
WIP, testanod dind
PedroRegisPOAR ab096f3
WIP, testanod dind
PedroRegisPOAR d3d3cde
WIP, testanod dind
PedroRegisPOAR 7ba7a15
WIP, testanod dind
PedroRegisPOAR c6ede82
WIP, refatorando, vários patchs
PedroRegisPOAR a1ac2e0
WIP, dind ainda quebrado
PedroRegisPOAR a0949ae
Adiciona anotações
PedroRegisPOAR 2590f3a
Adiciona como testar DinD
PedroRegisPOAR a818cc8
Adiciona link para vídeo
PedroRegisPOAR f5f08b2
Adiciona TODO sobre hardening
PedroRegisPOAR 2a92ed7
Adds example
PedroRegisPOAR 1438778
Adiciona test-kaniko.yml
PedroRegisPOAR 74f2052
Comenta touch /dev/kvm
PedroRegisPOAR 3480670
Workaround runs-on: kaniko-worker
PedroRegisPOAR 4db6a5a
Testa nodeSelector e volta com runs-on: arc-runner-set
PedroRegisPOAR 0826f06
Volta com instalação parte 2 com helm
PedroRegisPOAR 07ab3d1
Ajustes
PedroRegisPOAR 6335753
runs-on: nixos
PedroRegisPOAR 5a18743
runs-on: self-hosted
PedroRegisPOAR 50d276e
Testando ambiente
PedroRegisPOAR 900b631
Testando ambiente
PedroRegisPOAR 319c556
Testando ambiente
PedroRegisPOAR eb07b6e
Testando ambiente
PedroRegisPOAR e590713
Testando ambiente
PedroRegisPOAR 2885188
Testando ambiente
PedroRegisPOAR 1a9354c
Testando ambiente
PedroRegisPOAR e49b77c
Testando ambiente
PedroRegisPOAR b82e139
Testando ambiente
PedroRegisPOAR 64ee160
WIP: github-runner funciona
PedroRegisPOAR decb76c
Testa --privileged
PedroRegisPOAR e0b9738
Testa --privileged
PedroRegisPOAR 5c4dd19
Testa --privileged
PedroRegisPOAR 3c7454a
Testa outros metadados do ambiente
PedroRegisPOAR c0f7aa5
Testa docker build Dockerfile
PedroRegisPOAR b1b6a4e
Pequenos ajustes
PedroRegisPOAR 50a152e
Testa GNU hello
PedroRegisPOAR f31f930
Testa python39
PedroRegisPOAR fe1ae72
Testa free proveniente do pacote procps
PedroRegisPOAR c78fe2e
Volta para nixpkgs 22.11
PedroRegisPOAR 4235e37
Refactor
PedroRegisPOAR a4cc0d1
Super atualização 22.11 -> 23.11 + VNC
PedroRegisPOAR 32fbaaa
Super atualização 22.11 -> 23.11 + VNC
PedroRegisPOAR ba13697
Super atualização 22.11 -> 23.11 + VNC, 3
PedroRegisPOAR fb08840
Remove overlay não usado
PedroRegisPOAR 9caab68
Reduz RAM e número de cores
PedroRegisPOAR afcf7be
Corrige comando de executar a VM
PedroRegisPOAR bf0fafe
Adiciona TODO
PedroRegisPOAR 12c362d
Ajusta histórico
PedroRegisPOAR 129819e
nc -vz localhost 3001
PedroRegisPOAR 26f7fb9
Muda ordem do teste do docker
PedroRegisPOAR 84d7a17
Resolve race condition, hopefully
PedroRegisPOAR bd5b344
Remove atributo antigo
PedroRegisPOAR 62d1549
Deletes k8s helpers examples
PedroRegisPOAR 93ccd57
Salva no remoto
PedroRegisPOAR File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,37 +1,37 @@ | ||
| name: tests | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| branchs: | ||
| - 'feature/**' | ||
| - 'fix/**' | ||
| - 'refactor/**' | ||
| on: workflow_dispatch | ||
| # on: | ||
| # push: | ||
| # branches: | ||
| # - main | ||
| # pull_request: | ||
| # branchs: | ||
| # - 'feature/**' | ||
| # - 'fix/**' | ||
| # - 'refactor/**' | ||
|
|
||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: self-hosted | ||
| runs-on: arc-runner-set | ||
| name: Testes | ||
| steps: | ||
| - name: checkout PR merge commit | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Rodar um echo | ||
| run: echo 'teste' | ||
| run: echo 'Olá mundo!' | ||
|
|
||
| - name: Executa docker do host | ||
| - name: Metadatas | ||
| run: | | ||
| # sudo apt-get install -y podman | ||
| docker pull alpine | ||
| docker images | ||
| docker info | ||
|
|
||
| - name: Run alpine OCI image with docker and metadatas | ||
| run: | | ||
| docker run alpine cat /etc/os*release | ||
| cat /etc/os*release | ||
| cat /etc/group | ||
| uname -a | ||
| nix flake metadata nixpkgs | ||
| id | ||
| sudo id | ||
|
|
||
| - name: Executa instalação via apt para teste mínimo | ||
| run: | | ||
| sudo apt-get update && sudo apt-get install -y hello | ||
| hello | ||
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.