Pipeline failed while using Gitlab CI Yaml tempalte as PHP
Summary
Pipeline fails when i use .gitlab-ci.yml for php template
Steps to reproduce
i created my first project using index.php then i craeted a new file from Repository > File menu. there i created new file for .gitlab-ci.yml and selected Gitlab CI Yaml tempalte as PHP then in pipeline it is continiously failing and giving me this error
Example Project
https://gitlab.com/mohitchawla29/php-test.git I set this to public project so you can check
What is the current bug behavior?
Attached below the error i see in pipelines
What is the expected correct behavior?
Pipeline must pass this as i am using default Gitlab CI Yaml tempalte for php
Relevant logs and/or screenshots
Skipping Git submodules setup Checking cache for default... FATAL: file does not exist Failed to extract cache $ apt-get update -yqq W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead. ERROR: Job failed: exit code 1
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)