Skip to content

ci: improve deploy-pr workflow #8735

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 53 commits into from
Jul 27, 2023
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
559d296
set image pull policy to always
matifali Jul 26, 2023
6a7b662
use PR branch to always use the branch helm chart
matifali Jul 26, 2023
af3f46d
commnet of the last comment
matifali Jul 26, 2023
7fcee18
commnet the link to slack channel and not the deployment URL
matifali Jul 26, 2023
5f5686e
remove `serviceAccount.enableDeployments=true` as this is the default…
matifali Jul 26, 2023
29162dd
enable GitHub OAuth
matifali Jul 26, 2023
1dadd50
remove extra flag
matifali Jul 26, 2023
59d99dc
comment deployment URL
matifali Jul 26, 2023
a9aa219
Update pr-deploy.yaml
matifali Jul 26, 2023
d5f289f
fix fomratting
matifali Jul 26, 2023
dd898c1
quote env values
matifali Jul 26, 2023
b022f7b
make `CODER_OAUTH2_GITHUB_ALLOW_SIGNUPS` a boolean
matifali Jul 26, 2023
4d52b1b
just for testing
matifali Jul 26, 2023
0f3723e
use values.yaml
matifali Jul 26, 2023
afa229d
test
matifali Jul 26, 2023
905a361
only fetch last commit
matifali Jul 26, 2023
2ee3ca0
quotes
matifali Jul 26, 2023
69ea26c
Update pr-deploy.yaml
matifali Jul 26, 2023
8e2955b
Update pr-deploy.yaml
matifali Jul 26, 2023
3bbeb7f
Update pr-deploy.yaml
matifali Jul 26, 2023
8960fda
only comment if triggred by issue_comment
matifali Jul 26, 2023
d5a21aa
fix
matifali Jul 26, 2023
d5fc1cf
final test
matifali Jul 26, 2023
995ca7a
setup first user and template and workspace
matifali Jul 26, 2023
583c213
install coder binary
matifali Jul 27, 2023
37cb2ec
deploy on skipped builds too
matifali Jul 27, 2023
24ccb0a
use retry
matifali Jul 27, 2023
2598dc0
fix ARCH
matifali Jul 27, 2023
e756563
use full path of binary
matifali Jul 27, 2023
8dc3c99
enable build job
matifali Jul 27, 2023
a611b89
change username to prnumber
matifali Jul 27, 2023
3bd1631
add actor
matifali Jul 27, 2023
61b2a91
Create deploy-pr.sh
matifali Jul 27, 2023
806b18e
fix EOF
matifali Jul 27, 2023
505fd45
update
matifali Jul 27, 2023
01c7485
refactor
matifali Jul 27, 2023
ea0c1df
Merge branch 'main' into fix-deploy-pr
matifali Jul 27, 2023
ebe7b19
make fmt
matifali Jul 27, 2023
3ad658d
Merge branch 'fix-deploy-pr' of https://github.com/coder/coder into f…
matifali Jul 27, 2023
93aad64
Merge branch 'main' into fix-deploy-pr
matifali Jul 27, 2023
41b36d1
add skipping build
matifali Jul 27, 2023
72e3e61
Merge branch 'fix-deploy-pr' of https://github.com/coder/coder into f…
matifali Jul 27, 2023
d65d058
garmmer
matifali Jul 27, 2023
df92ca7
fix ci
matifali Jul 27, 2023
9616eca
fixup
matifali Jul 27, 2023
0711999
fix
matifali Jul 27, 2023
521712b
inform if image not found
matifali Jul 27, 2023
c72a04c
quotes
matifali Jul 27, 2023
b672c67
fmt
matifali Jul 27, 2023
25b22e4
lint
matifali Jul 27, 2023
75cd788
make executable
matifali Jul 27, 2023
92d307d
fix slack notfication payload
matifali Jul 27, 2023
e8c262f
Merge branch 'main' into fix-deploy-pr
matifali Jul 27, 2023
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
Prev Previous commit
Next Next commit
change username to prnumber
  • Loading branch information
matifali committed Jul 27, 2023
commit a611b895852b51ed69fcbdc580acfaad811aad0d
2 changes: 1 addition & 1 deletion .github/workflows/pr-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ jobs:
echo "password=$password" >> $GITHUB_OUTPUT

/home/runner/coder login \
--first-user-username ${{ env.PR_NUMBER }} \
--first-user-username pr${{ env.PR_NUMBER }} \
--first-user-email ${{ env.PR_NUMBER }}@coder.com \
--first-user-password $password \
--first-user-trial \
Expand Down