Skip to content
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

Feature: GitHub runner as systemd service #3

Open
wants to merge 156 commits into
base: feature/CI
Choose a base branch
from

Conversation

PedroRegisPOAR
Copy link
Contributor

@PedroRegisPOAR PedroRegisPOAR commented Jan 3, 2024

Resumo

Estado atual do PR, tem-se:

Quebrado (apenas na execução do workflow, TODO: só testei com a versão antiga, antes de atualizar para 23.11):

  • podman (deve ser algo com a unidade do systemd, mas o docker funciona 🤔 )
  • sudo (troubleshooting sem escopo, mas deve ser algo com escalar privilégio na unidade não ser permitido rs)

rodrigondec and others added 3 commits December 12, 2023 14:32
* adiciona CI

* adiciona git ignore

* adiciona .env.example

* corrige lint

* altera CI

* arquivos iniciais

* adiciona flake.nix

* adiciona envrc

* readme

* adiciona arquivos

* scripts bash

* adiciona arquivos do container

* adiciona makefile

* remove arquivos inúteis

* alterações

* altera flake

* instala nix + podman e roda alpine

* adiciona build da imagem

* altera branch

* corrige CI

* adiciona pacote

* podman nativo

* utiliza apt-get install -y

* adiciona user e altera pastas

* adiciona print do LS

* reorganiza build da imagem

* corrige script de install_runner

* corrige install_runner

* adiciona script para instalar nix

* corrige install_runner DE FATO (?)

* roda a instalação

* remove stdout excessivos

* adiciona httpie

* corrige entrypoint

* testes

* altera container

* modifica install_runner

* adiciona opção no runner_token

* corrige entrypoint

* corrige comandos

* altera sudoers

* coisas para o dumb-init

* adiciona dumb-init

* Ajustes no flake.nix

* Cria VM NixOS com docker e script para iniciar github-runner

* Cria VM NixOS com docker e script para iniciar github-runner

* Cria VM NixOS com docker e script para iniciar github-runner

* Revert commit errado

* Revert commit errado again

* Testa docker action

* Testa docker action com cat /etc/os*release

* Testa docker action com cat /etc/os*release

* Testa docker do runner

* Mais testes no CI

* Documenta como executar VM e runner

---------

Co-authored-by: Pedro O. A. Regis <[email protected]>
@PedroRegisPOAR PedroRegisPOAR requested a review from peidrao January 4, 2024 17:01
Copy link
Member

@rodrigondec rodrigondec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Primeira olhada

@peidrao
Copy link

peidrao commented Jan 8, 2024

Qual o propósito desse PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants