aboutsummaryrefslogtreecommitdiff
path: root/src/github-cli
Commit message (Collapse)AuthorAgeFilesLines
* Github cli - Adds retry logic for find git tags (#310)Samruddhi Khandale2022-12-012-1/+50
| | | | | | | * Github cli - Adds retry logic for find git tags * re-add set -e * address comment
* Install git before github-cli (#301)Ilkka Poutanen2022-11-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Install git before github-cli If building a devcontainer on e.g. `debian:bullseye`, github-cli installation can fail due to git not being installed yet: ``` 0 13.38 2022-11-18 13:37:19 (6.08 MB/s) - 'gh_2.20.2_linux_amd64.deb' saved [10 176698/10176698] #0 13.38 #0 13.40 Selecting previously unselected package gh. #0 13.41 (Reading database ... 13628 files and directories currently installed.) #0 13.41 Preparing to unpack .../gh_2.20.2_linux_amd64.deb ... #0 13.41 Unpacking gh (2.20.2) ... #0 13.65 dpkg: dependency problems prevent configuration of gh: #0 13.65 gh depends on git; however: #0 13.65 Package git is not installed. #0 13.65 #0 13.65 dpkg: error processing package gh (--install): #0 13.65 dependency problems - leaving unconfigured #0 13.66 Errors were encountered while processing: #0 13.66 gh #0 13.67 ERROR: Feature "GitHub CLI" (ghcr.io/devcontainers/features/github-cli) failed to install! Look at the documentation at https://github.com/devcontainer s/features/tree/main/src/github-cli for help troubleshooting this error. ``` * bump version Co-authored-by: Josh Spicer <josh@joshspicer.com>
* Automated documentation update (#287)github-actions[bot]2022-11-141-3/+1
| | | | | Automated documentation update [skip ci] Co-authored-by: github-actions <github-actions@github.com>
* github-cli: Remove duplicated find_version_from_git_tags () (#235)Aurelio Jargas2022-10-281-34/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This function was defined twice in the install script for GitHub CLI, in old lines 76 and 161. This commit removes the first definition. The only function calls were on old lines 201 and 222. Since they appear after the second function definition at line 161, the first one at line 76 never got called, so it's safe to remove it. I confirmed that this was the only file in this repository where this function was duplicated: $ git grep '^ *find_version_from_git_tags *(' src/docker-from-docker/install.sh:find_version_from_git_tags() { src/docker-in-docker/install.sh:find_version_from_git_tags() { src/git-lfs/install.sh:find_version_from_git_tags() { src/github-cli/install.sh:find_version_from_git_tags() { src/github-cli/install.sh:find_version_from_git_tags() { src/go/install.sh:find_version_from_git_tags() { src/kubectl-helm-minikube/install.sh:find_version_from_git_tags() { src/php/install.sh:find_version_from_git_tags() { src/powershell/install.sh:find_version_from_git_tags() { src/python/install.sh:find_version_from_git_tags() { src/ruby/install.sh:find_version_from_git_tags() { src/rust/install.sh:find_version_from_git_tags() { src/terraform/install.sh:find_version_from_git_tags() { $
* add installsAfter: common-utils to all Features (#214)Josh Spicer2022-10-191-2/+5
|
* Automated documentation update (#218)github-actions[bot]2022-10-131-3/+3
| | | | | Automated documentation update [skip ci] Co-authored-by: github-actions <github-actions@github.com>
* Ensure remove apt-update cache at the beginning and end of the scripts (#210)eitsupi2022-10-112-5/+12
| | | | | * remove apt lists * bump versions
* Automated documentation update (#141)github-actions[bot]2022-09-071-0/+1
| | | | | Automated documentation update [skip ci] Co-authored-by: github-actions <github-actions@github.com>
* Use the newly updated GPG key for GitHub CLI (#139)3x!12022-09-072-3/+3
| | | | | * Use the newly updated GPG key for GitHub CLI * bump feature version
* download gh cli directly from release ↵Josh Spicer2022-09-032-9/+71
| | | | | | | | | (https://github.com/cli/cli/issues/6175) (#133) * download gh cli release (https://github.com/cli/cli/issues/6175) * typo * typo
* bump all features to pick up metadata changes in CLI v0.14.0 (#118)Josh Spicer2022-08-261-1/+1
|
* add documentationURL to all features (#115)Josh Spicer2022-08-241-1/+2
|
* favor correctness by removing `apt update ...` short-circuiting (#98)Josh Spicer2022-08-231-10/+5
| | | | | | | | | * favor correctness by removing apt update shortciruiting * Update install.sh * apt_get_upadate in node * update test
* Automated documentation update (#106)github-actions[bot]2022-08-181-1/+3
| | | Co-authored-by: github-actions <github-actions@github.com>
* Automated documentation update (#85)github-actions[bot]2022-08-091-2/+2
| | | Co-authored-by: github-actions <github-actions@github.com>
* Prep: republish features to ghcr.io (#78)Samruddhi Khandale2022-08-051-5/+2
| | | | | | | | | | | * syncing action * modify release.yaml * version update ; remove "install" * add 'latest' * add workflow condition
* Port changes and set executable bitJosh Spicer2022-07-291-0/+0
| | | | | -Ports change from: https://github.com/microsoft/vscode-dev-containers/pull/1554 Sets all scripts as executable by default.
* Automated documentation updateDevcontainers CI2022-06-221-6/+3
|
* Automated documentation updateDevcontainers CI2022-06-211-1/+1
|
* add descriptions to feature metadata (no-ci)Josh Spicer2022-06-211-0/+1
|
* Devcontainer docs (#47)Josh Spicer2022-06-141-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * docs * automatically generate documentation from features.json * trigger doc gen * 1 * no-ci * no-ci * no-ci * no-ci * comment out pull * Automated documentation update * no-ci markdown table * Automated documentation update * no-ci * Automated documentation update * branch to main Co-authored-by: Devcontainers CI <vscr-feedback@microsoft.com>
* Pass options via environment variables (#39)Josh Spicer2022-06-032-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * up to docker-in-docker converted * first pass at the rest of the features (and bash linting and updated CLI * move shell linter to own file * rename feature.json -> devcontainer-feature.json * continue on error * continue on error in right spot * formatting * fix AZ_VERSION * update python * restore variable name * update linter actions, fix dind/dfd/desktop scripts, add test-scenaerios * add tree because I like tree * glob for shell linter * fix test-scenarios * shell linter * more shell helper
* python: bug fix when version = none (#14)Samruddhi Khandale2022-05-161-1/+1
| | | | | | | * python: bug fix * add missing "none" proposal * nit
* restructure and update cli (#11)Josh Spicer2022-05-122-0/+204
* restructure and update cli * typo