Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(git-clone module): added post_clone_script.#357

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
iamriajul wants to merge5 commits intocoder:main
base:main
Choose a base branch
Loading
fromiamriajul:feat/post-clone-script-for-git-clone-module

Conversation

iamriajul
Copy link

Description

Custom script to run after cloning the repository. Runs always after git clone, even if the repository already exists.

Type of Change

  • New module
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path:registry/coder/modules/git-clone
New version:v1.2.0
Breaking change: [ ] Yes [x] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun run fmt)
  • Changes tested locally

Related Issues

@matifalimatifali added the version:minorAdd to PRs requiring a minor version upgrade labelAug 23, 2025
@DevelopmentCats
Copy link
Contributor

@iamriajul

These are from the logs of the failing test ingit-clone

 Error: Expected: 128  Received: 0          at <anonymous> (/home/runner/work/registry/registry/registry/coder/modules/git-clone/main.test.ts:33:29)  28 |     const state = await runTerraformApply(import.meta.dir, {  29 |       agent_id: "foo",  30 |       url: "fake-url",  31 |     });  32 |     const output = await executeScriptInContainer(state, "alpine/git");  33 |     expect(output.exitCode).toBe(128);                                   ^  error: expect(received).toBe(expected)    Expected: 128  Received: 0          at <anonymous> (/home/runner/work/registry/registry/registry/coder/modules/git-clone/main.test.ts:33:29)  (fail) git-clone > runs with git [2524.00ms]

@DevelopmentCats
Copy link
Contributor

DevelopmentCats commentedSep 30, 2025
edited
Loading

Once these are resolved I will test, and then we can merge

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

@DevelopmentCatsDevelopmentCatsAwaiting requested review from DevelopmentCats

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
version:minorAdd to PRs requiring a minor version upgrade
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@iamriajul@DevelopmentCats@matifali

[8]ページ先頭

©2009-2025 Movatter.jp