- Notifications
You must be signed in to change notification settings - Fork4
coder 2.1.4#97
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
Uh oh!
There was an error while loading.Please reload this page.
Merged
coder 2.1.4#97
Changes from1 commit
Commits
Show all changes
11 commits Select commitHold shift + click to select a range
a10fe0c
coder@1: rename legacy formulas
aslilac19d21fe
coder 2.1.4
aslilacf3e9290
fix indentation
aslilacccbae36
use `version`
aslilac41fa32a
ah, gnu-sed
aslilacf2ff8a4
and nice script cleanup
aslilacf10257d
add v2 update script
aslilac19e640c
and fix comments
aslilacce151a7
-> scripts/
aslilacd89f2bf
add concurrency workflow config
aslilac5a4a7e9
update README
aslilacFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
coder 2.1.4
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit19d21fe36d6257dac59fcd2e5f6c2454a9e8a13a
There are no files selected for viewing
41 changes: 41 additions & 0 deletions.github/workflows/test.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: test | ||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["**"] | ||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04, macos-13] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Set up Homebrew | ||
id: set-up-homebrew | ||
uses: Homebrew/actions/setup-homebrew@master | ||
- name: Cache Homebrew Bundler RubyGems | ||
id: cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.set-up-homebrew.outputs.gems-path }} | ||
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} | ||
restore-keys: ${{ runner.os }}-rubygems- | ||
- name: Install Homebrew Bundler RubyGems | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: brew install-bundler-gems | ||
- run: brew test-bot --only-cleanup-before | ||
- run: brew test-bot --only-setup | ||
- run: brew test-bot --only-tap-syntax | ||
- run: brew test-bot --only-formulae | ||
if: github.event_name == 'pull_request' |
31 changes: 31 additions & 0 deletionsFormula/coder.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
class Coder < Formula | ||
desc "Provisions remote development environments via Terraform" | ||
homepage "https://github.com/coder/coder" | ||
version "2.1.4" | ||
if OS.mac? | ||
if Hardware::CPU.arm? | ||
url "https://github.com/coder/coder/releases/download/v2.1.4/coder_2.1.4_darwin_arm64.zip" | ||
sha256 "ac67c032e81fed7ef3b2e1fc5bfafb878e7551c081d0a136f5a88583c279c060" | ||
else | ||
url "https://github.com/coder/coder/releases/download/v2.1.4/coder_2.1.4_darwin_amd64.zip" | ||
sha256 "693d6c450891627d879123ea9a08dc5917dafee7de6c639c5c9b496abe6f250b" | ||
end | ||
else | ||
url "https://github.com/coder/coder/releases/download/v2.1.4/coder_2.1.4_linux_amd64.tar.gz" | ||
sha256 "41666bbe3afacd153fbe6c1a2d908bb4fb7a88e821205cb7136a0bad2d1cd6dc" | ||
end | ||
def install | ||
bin.install "coder" | ||
end | ||
test do | ||
version_output = shell_output("#{bin}/coder version") | ||
assert_match version.to_s, version_output | ||
refute_match "AGPL", version_output | ||
assert_match "Full build", version_output | ||
assert_match "You are not logged in", shell_output("#{bin}/coder netcheck 2>&1", 1) | ||
assert_match "postgres://", shell_output("#{bin}/coder server postgres-builtin-url") | ||
end | ||
end |
File renamed without changes.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.