Skip to content

Commit

Permalink
💥 fix: testando workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoDorea committed Jul 26, 2023
1 parent eacf28c commit 30036d2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/loadrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
uses: actions/checkout@v2

- name: Setup LoadRunner
uses: echo 'setup load runner'
# Adicione aqui os comandos para configurar o ambiente do LoadRunner
run: echo 'setup load runner'
# Adicione aqui os comandos para configurar o ambiente do LoadRunner

- name: Run LoadRunner Test
uses: echo 'setup load runner test'
# Adicione aqui os comandos para executar o teste de desempenho do LoadRunner
run: echo 'setup load runner test'
# Adicione aqui os comandos para executar o teste de desempenho do LoadRunner

- name: Send Notification
uses: echo 'send notification'
# Adicione aqui os comandos para enviar notificações
run: echo 'send notification'
# Adicione aqui os comandos para enviar notificações
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Define a imagem base que será utilizada (pode ser uma imagem do LoadRunner pré-configurada)
FROM loadrunner-image:latest

# Instala as dependências necessárias para o GitLab CI/CD
RUN apt-get update -y \
&& apt-get install -y git curl

# Configura as variáveis de ambiente necessárias para o LoadRunner
ENV LR_PATH=/path/to/loadrunner
ENV LR_SCRIPT=/path/to/loadrunner_script

# Clona o repositório contendo os scripts de teste do LoadRunner
RUN git clone <URL_DO_REPOSITORIO_GIT> $LR_PATH

# Define o diretório de trabalho dentro do container
WORKDIR $LR_PATH

# Comando para iniciar o teste de performance utilizando o LoadRunner
CMD ["loadrunner_executable", "-Test", "$LR_SCRIPT"]

0 comments on commit 30036d2

Please sign in to comment.