refactor: migrar GitLab → Gitea (aulas 10, 11, 13)
- Aula 10: Gitea + Registry + Actions + Runner (substituiu GitLab) - gitea-values.yaml: PostgreSQL standalone, Valkey standalone, ~800Mi RAM - setup.sh/cleanup.sh: namespace gitea, Helm gitea-charts/gitea + actions - README.md: documentação completa com de→para (GitLab/Harbor/Tekton vs Gitea) - Aula 11: ArgoCD (GitOps) — removido GitLab Runner (runner vive na aula-10) - setup.sh: só ArgoCD, integração SSH com Gitea - node-bugado/.gitea/workflows/ci.yml: pipeline convertida - Aula 13: Container Factory — atualizado para Gitea - setup.sh/cleanup.sh: referências GitLab → Gitea - pipelines/postgresql/ci.yml: Gitea Actions workflow - README.md: conexão com act_runner explicada - CLAUDE.md: tabela de aulas atualizada
This commit is contained in:
34
aula-13/images/large-test/Dockerfile
Normal file
34
aula-13/images/large-test/Dockerfile
Normal file
@@ -0,0 +1,34 @@
|
||||
# Imagem de teste grande (~1.5GB) para benchmark de lazy pulling
|
||||
FROM alpine:3.21
|
||||
|
||||
# Camada 1: Base tools (~50MB)
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
curl \
|
||||
wget \
|
||||
jq \
|
||||
python3 \
|
||||
py3-pip
|
||||
|
||||
# Camada 2: Dados dummy 1 (~300MB)
|
||||
RUN dd if=/dev/urandom of=/data1.bin bs=1M count=300
|
||||
|
||||
# Camada 3: Dados dummy 2 (~300MB)
|
||||
RUN dd if=/dev/urandom of=/data2.bin bs=1M count=300
|
||||
|
||||
# Camada 4: Dados dummy 3 (~300MB)
|
||||
RUN dd if=/dev/urandom of=/data3.bin bs=1M count=300
|
||||
|
||||
# Camada 5: Dados dummy 4 (~300MB)
|
||||
RUN dd if=/dev/urandom of=/data4.bin bs=1M count=300
|
||||
|
||||
# Camada 6: Dados dummy 5 (~300MB)
|
||||
RUN dd if=/dev/urandom of=/data5.bin bs=1M count=300
|
||||
|
||||
# Script de teste que acessa apenas arquivos pequenos
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
# Entrypoint simples que NÃO acessa os arquivos grandes
|
||||
# Isso permite testar o lazy pulling - container inicia sem precisar dos dados
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user