Skip to content

ci: use coder binary from the server #7865

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2023
Merged
Changes from all commits
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
ci: use coder binary from the server
This PR downloads the latest coder binary from the server instead of installing the latest stable release. 
This will keep the client and server in sync and will possibly solve issues like this
https://github.com/coder/coder/actions/runs/5179549578/jobs/9333160091
  • Loading branch information
matifali authored Jun 6, 2023
commit 9076f5d4d1285bfd739f332d20481eec8d55eea4
9 changes: 4 additions & 5 deletions .github/workflows/dogfood.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,13 @@ jobs:
- name: Get short commit SHA
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: "Install latest Coder"
- name: "Get latest Coder binary from the server"
run: |
curl -L https://coder.com/install.sh | sh
# env:
# VERSION: 0.x
curl -fsSL "https://dev.coder.com/bin/coder-linux-amd64" -o "./coder"
chmod +x "./coder"
- name: "Push template"
run: |
coder templates push $CODER_TEMPLATE_NAME --directory $CODER_TEMPLATE_DIR --yes --name=$CODER_TEMPLATE_VERSION
./coder templates push $CODER_TEMPLATE_NAME --directory $CODER_TEMPLATE_DIR --yes --name=$CODER_TEMPLATE_VERSION
env:
# Consumed by Coder CLI
CODER_URL: https://dev.coder.com
Expand Down