Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Castopod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ad Aures
Castopod
Commits
525698d8
Unverified
Commit
525698d8
authored
3 years ago
by
Yassine Doghri
Browse files
Options
Downloads
Patches
Plain Diff
ci: remove git hooks before uninstalling composer dev dependencies
parent
231d578d
No related branches found
Branches containing commit
Tags
v1.0.0-alpha.57
Tags containing commit
1 merge request
!137
refactor: upgrade to php 8 + enforce type declarations, code quality + style + fix some bugs
Pipeline
#874
failed
3 years ago
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+8
-3
8 additions, 3 deletions
.gitlab-ci.yml
app/Controllers/HomeController.php
+1
-1
1 addition, 1 deletion
app/Controllers/HomeController.php
with
9 additions
and
4 deletions
.gitlab-ci.yml
+
8
−
3
View file @
525698d8
...
...
@@ -41,6 +41,11 @@ before_script:
-
php composer.phar install --prefer-dist --no-ansi --no-interaction --no-progress --ignore-platform-reqs
-
npm install
commit-message
:
stage
:
init
script
:
-
npx commitlint CI_COMMIT_MESSAGE
tests
:
stage
:
quality
script
:
...
...
@@ -55,6 +60,9 @@ code-review:
bundle_app
:
stage
:
bundle
script
:
# delete installed git hooks because captainhooks (dev dependency) will be removed
-
rm -rf ./.git/hooks
# remove dev dependencies using the --no-dev option
-
php composer.phar install --no-dev --prefer-dist --no-ansi --no-interaction --no-progress --ignore-platform-reqs
...
...
@@ -91,9 +99,6 @@ release_app:
# IMPORTANT: delete local git tags before release to prevent eventual script failure (ie. tag already exists)
-
git tag | xargs git tag -d
# IMPORTANT: no need to run git hooks, just remove them
-
rm -rf ./.git/hooks
# run semantic-release script (configured in `.releaserc.json` file)
-
npm run release
only
:
...
...
This diff is collapsed.
Click to expand it.
app/Controllers/HomeController.php
+
1
−
1
View file @
525698d8
...
...
@@ -13,7 +13,7 @@ use App\Models\PodcastModel;
class
HomeController
extends
BaseController
{
/**
* @return
mixed
* @return
RedirectResponse|string
*/
public
function
index
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment