Skip to content

Commit

Permalink
ci: upgrade docker-in-docker to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
manekinekko committed Mar 20, 2024
1 parent adbb0fe commit a297e9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
"version": "18.15.0"
},
"ghcr.io/devcontainers-contrib/features/postgres-asdf:1": {},
"ghcr.io/devcontainers/features/docker-in-docker:1": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "20.10.23",
"moby": "false",
"azureDnsAutoDetection": "false",
"dockerDashComposeVersion": "v2"
},
"ghcr.io/devcontainers/features/azure-cli:1": {
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codespaces-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ function gh_codespace_check_services_status() {

# Wait for the services to start
function wait_for_services() {
echo -ne "Waiting 30s for all services to start"
for i in {1..30}; do
echo -ne "Waiting 6 mintues for all dependencies to be installed and starting all services..."
for i in {1..360}; do
echo -ne "."
sleep 1
done
Expand Down Expand Up @@ -147,7 +147,7 @@ gh_login;
# gh_create_codespace;
api_create_codespace;
# gh_fetch_codespace_id;
wait_for_services;
# wait_for_services;
# gh_codespace_start_services;
wait_for_services;
gh_codespace_check_services_status;
Expand Down

0 comments on commit a297e9d

Please sign in to comment.