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

docs: add guide for CI/CD template testing#15528

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

Merged
matifali merged 8 commits intomainfromatif/test-templates
Nov 20, 2024
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Enhance template testing with SSH command execution
Add SSH configuration and example commands to test the workspace creation using the new template version. This ensures the template functions as expected before promotion.
  • Loading branch information
@matifali
matifali committedNov 18, 2024
commit5569c9bdc52b51a0f9e0061e3003dafb99a13b12
8 changes: 7 additions & 1 deletiondocs/tutorials/testing-templates.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,7 +95,13 @@ jobs:

- name: Create a test workspace
run: |
coder create -t $TEMPLATE_NAME --template-version ${{ steps.name.outputs.version_name }} --yes
coder create -t $TEMPLATE_NAME --template-version ${{ steps.name.outputs.version_name }} test-${{ steps.name.outputs.version_name }} --yes

- name: Run some example commands
run: |
coder config-ssh --yes
# run some example commands
coder ssh test-${{ steps.name.outputs.version_name }} -- make build

- name: Promote template version
if: success()
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp