Skip to content

Commit

Permalink
fix,v1 (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
bogyo210 authored Apr 27, 2022
1 parent 6ecf432 commit 55388e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions enetwork
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ GatewayPassword=${SEMAPHORE_DOCKERGW_PASSWORD,-''}
GatewayEndPoint=${SEMAPHORE_DOCKERGW_ENDPOINT,-''}
GatewayEndPointPort=${SEMAPHORE_DOCKERGW_ENDPOINT_PORT,-''}

sudo mkdir -p /etc/systemd/system/docker.service.d

en_create_proxy_conf() {
sudo tee /etc/systemd/system/docker.service.d/proxy.conf <<EOF >/dev/null
[Service]
Expand Down
2 changes: 1 addition & 1 deletion tests/enetwork.bats
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ http_access deny all
EOF

htpasswd -bc /tmp/squid/htaccess user password
docker run --rm -d --name squid -p 3128:3128 -v /tmp/squid:/etc/squid ubuntu/squid:latest
docker run --rm -d --name squid -p 3128:3128 -v /tmp/squid:/etc/squid registry.semaphoreci.com/squid:latest
sleep 10
}

Expand Down
6 changes: 3 additions & 3 deletions tests/sem_version_container.bats
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ setup() {
source ~/.toolbox/toolbox
}

@test "sem-version flutter 2.10.3" {
@test "sem-version flutter 2.10.5" {

run sem-version flutter 2.10.3
run sem-version flutter 2.10.5
assert_success
assert_line --partial "2.10.3"
assert_line --partial "2.10.5"
}


Expand Down

0 comments on commit 55388e7

Please sign in to comment.