Update .gitlab-ci.yml file
This commit is contained in:
@@ -17,19 +17,17 @@
|
|||||||
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
||||||
|
|
||||||
default:
|
default:
|
||||||
image: python:3.11
|
image: alpine:latest
|
||||||
before_script:
|
before_script:
|
||||||
- pip3 install requests
|
- apk install zip
|
||||||
|
|
||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
|
||||||
test-job: # This job runs in the deploy stage.
|
test-job: # This job runs in the deploy stage.
|
||||||
stage: test # It only runs when *both* jobs in the test stage complete successfully.
|
stage: test # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
environment: production
|
environment: production
|
||||||
script:
|
script:
|
||||||
- echo "Translating text..."
|
- echo "Prepare to remove git "
|
||||||
- uname -a
|
- uname -a
|
||||||
- python -V
|
- ls -al
|
||||||
- echo "Text successfully translated."
|
|
||||||
|
|||||||
Reference in New Issue
Block a user