Skip to content

GitLab CI/CD (porting Github Action) #1920

Closed
Closed

Description

@varna

Description

Hello, we are using GitLab. It doesn't have integration for vite-plus CI/CD.

Suggested solution

Create equivalent of Github Actions on GitLab CI/CD, under voidzero org, in a public repo, where MRs could be made.

https://docs.gitlab.com/ci/migration/github_actions/#:~:text=GitHub%20Actions%20and%20GitLab%20CI,stored%20in%20the%20project%20repository.

Alternative

Vibe code our own in our own org.

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.

Activity

  1. added theissue type on Jun 23, 2026
  2. self-assigned this
    on Jun 24, 2026
  3. naokihaba commented on Jun 24, 2026

    @naokihaba
    Collaborator

    @varna

    Thanks for the request. I just wanted to clarify what you're looking for. Are you thinking of a GitLab CI equivalent to voidzero-dev/setup-vp?

    https://github.com/voidzero-dev/setup-vp

    Essentially, something we can reuse in .gitlab-ci.yml that handles the Vite+ installation, Node and package manager setup, and dependency caching, just like the GitHub Action does now.

  4. varna commented on Jun 25, 2026

    @varna
    Author

    @varna

    Thanks for the request. I just wanted to clarify what you're looking for. Are you thinking of a GitLab CI equivalent to voidzero-dev/setup-vp?

    https://github.com/voidzero-dev/setup-vp

    Essentially, something we can reuse in .gitlab-ci.yml that handles the Vite+ installation, Node and package manager setup, and dependency caching, just like the GitHub Action does now.

    Yep ✅

  5. naokihaba commented on Jun 25, 2026

    @naokihaba
    Collaborator

    @fengmk2

    We've received a request for a GitLab CI version of setup-vp.

    To support this properly, I think we'd need to set up an official place for reusable configs or components under the voidzero-dev organization, much like how setup-vp works for GitHub Actions. It probably means we'd have to create and maintain a new repository for it.

    What do you think about providing official support for this?

  6. fengmk2 commented on Jun 25, 2026

    @fengmk2
    Member

    Should this new repository be hosted on GitHub or GitLab? If it's on GitHub, will it be impossible to automate testing and verify GitLab's functionality?

  7. naokihaba commented on Jun 25, 2026

    @naokihaba
    Collaborator

    I'm not too familiar with GitLab CI/CD, but I checked their docs and it looks like include:remote lets you pull in a YAML file from any public URL via HTTP or HTTPS.

    So if we put a GitLab CI template in voidzero-dev/setup-vp and make sure the repo is public, GitLab users can just point to the raw GitHub URL like thi

    include:
      - remote: 'https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1/gitlab/setup-vp.yml'

    This way, we don't actually have to host the source on GitLab.

    The only catch is that hosting it on GitHub only covers distribution. To ensure the template actually works, we’d likely need a GitLab project or a mirror somewhere to run the pipelines and verify it.

  8. fengmk2 commented on Jun 25, 2026

    @fengmk2
    Member

    @naokihaba Can you implement this feature? I can test it out in our internal GitLab CI environment 🤗

  9. naokihaba commented on Jun 25, 2026

    @naokihaba
    Collaborator

    Leave it to me!

  10. naokihaba commented on Jun 25, 2026

    @naokihaba
    Collaborator

    We will handle this in the repository below.
    I will create the issue soon.
    https://github.com/voidzero-dev/setup-vp

  11. naokihaba commented on Jul 6, 2026

    @naokihaba
    Collaborator

    Once the pull request is merged or a tag is released, we will run a final smoke test using include:remote.

    At this point, we just need to run the smoke test, so I will go ahead and close this task for now.

    voidzero-dev/setup-vp#97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions