Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab pipeline failed - iconv(): Wrong encoding #70

Closed
nsaumini opened this issue Mar 15, 2021 · 1 comment
Closed

Gitlab pipeline failed - iconv(): Wrong encoding #70

nsaumini opened this issue Mar 15, 2021 · 1 comment

Comments

@nsaumini
Copy link

.gitlab-ci.yml


image: lorisleiva/laravel-docker:8.0

stages:
  - setup
  - test

prepare:
  stage: setup
  cache:
    key: "reports-application-$CI_COMMIT_BRANCH"
    paths:
      - .env
      - vendor
    policy: push
  script:
    - cp .env.example .env
    - composer install --prefer-dist --no-ansi --no-interaction --no-progress --no-scripts
    - php artisan key:generate

unit_test:
  stage: test
  cache:
    key: "reports-application-$CI_COMMIT_BRANCH"
    paths:
      - .env
      - vendor
    policy: pull
  script:
    - vendor/bin/phpunit

On test stage, I'm getting following error ErrorException: iconv(): Wrong encoding, conversion from "ASCII" to "Windows-1252//TRANSLIT" is not allowed

Can anyone help me to resolve this issue ?

@nsaumini
Copy link
Author

Found solution in #30 Fix iconv issue with alpine image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant