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

Commit19d21fe

Browse files
committed
coder 2.1.4
1 parenta10fe0c commit19d21fe

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed

‎.github/workflows/test.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name:test
2+
3+
on:
4+
push:
5+
branches:["main"]
6+
pull_request:
7+
branches:["**"]
8+
9+
jobs:
10+
test:
11+
strategy:
12+
matrix:
13+
os:[ubuntu-22.04, macos-13]
14+
15+
runs-on:${{ matrix.os }}
16+
17+
steps:
18+
-name:Set up Homebrew
19+
id:set-up-homebrew
20+
uses:Homebrew/actions/setup-homebrew@master
21+
22+
-name:Cache Homebrew Bundler RubyGems
23+
id:cache
24+
uses:actions/cache@v3
25+
with:
26+
path:${{ steps.set-up-homebrew.outputs.gems-path }}
27+
key:${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
28+
restore-keys:${{ runner.os }}-rubygems-
29+
30+
-name:Install Homebrew Bundler RubyGems
31+
if:steps.cache.outputs.cache-hit != 'true'
32+
run:brew install-bundler-gems
33+
34+
-run:brew test-bot --only-cleanup-before
35+
36+
-run:brew test-bot --only-setup
37+
38+
-run:brew test-bot --only-tap-syntax
39+
40+
-run:brew test-bot --only-formulae
41+
if:github.event_name == 'pull_request'

‎Formula/coder.rb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
classCoder <Formula
2+
desc"Provisions remote development environments via Terraform"
3+
homepage"https://github.com/coder/coder"
4+
version"2.1.4"
5+
6+
ifOS.mac?
7+
ifHardware::CPU.arm?
8+
url"https://github.com/coder/coder/releases/download/v2.1.4/coder_2.1.4_darwin_arm64.zip"
9+
sha256"ac67c032e81fed7ef3b2e1fc5bfafb878e7551c081d0a136f5a88583c279c060"
10+
else
11+
url"https://github.com/coder/coder/releases/download/v2.1.4/coder_2.1.4_darwin_amd64.zip"
12+
sha256"693d6c450891627d879123ea9a08dc5917dafee7de6c639c5c9b496abe6f250b"
13+
end
14+
else
15+
url"https://github.com/coder/coder/releases/download/v2.1.4/coder_2.1.4_linux_amd64.tar.gz"
16+
sha256"41666bbe3afacd153fbe6c1a2d908bb4fb7a88e821205cb7136a0bad2d1cd6dc"
17+
end
18+
19+
definstall
20+
bin.install"coder"
21+
end
22+
testdo
23+
version_output=shell_output("#{bin}/coder version")
24+
assert_matchversion.to_s,version_output
25+
refute_match"AGPL",version_output
26+
assert_match"Full build",version_output
27+
28+
assert_match"You are not logged in",shell_output("#{bin}/coder netcheck 2>&1",1)
29+
assert_match"postgres://",shell_output("#{bin}/coder server postgres-builtin-url")
30+
end
31+
end
File renamed without changes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp