Skip to content

Commit

Permalink
Move to build.mongoose-os.com
Browse files Browse the repository at this point in the history
  • Loading branch information
cpq committed Jan 19, 2021
1 parent ad79b4f commit eccc039
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cli/main.go
Expand Up @@ -66,7 +66,7 @@ const (
var (
user = flag.String("user", "", "Cloud username")
pass = flag.String("pass", "", "Cloud password or token")
server = flag.String("server", "https://mongoose.cloud", "FWBuild server")
server = flag.String("server", "https://build.mongoose-os.com", "FWBuild server")
local = flag.Bool("local", false, "Local build.")
mosRepo = flag.String("repo", "", "Path to the mongoose-os repository; if omitted, the mongoose-os repository will be cloned as ./mongoose-os")
deviceID = flag.String("device-id", "", "Device ID")
Expand Down
8 changes: 4 additions & 4 deletions tools/ansible/fwbuild/tasks/main.yml
Expand Up @@ -5,8 +5,8 @@
vars:
email: webmaster@cesanta.com
domains: |
-d mongoose.cloud \
-d www.mongoose.cloud
-d build.mongoose-os.com \
-d build.mongoose-os.com
renew_time: 'Mon *-*-* 01:23:45'

- name: Pull fwbuild-manager image:{{ fwbuild_manager_tag }}
Expand All @@ -31,8 +31,8 @@
--volumes-dir={{ fwbuild_volumes_dir }}
--port=80
--port-tls=443
--cert-file=/data/letsencrypt/live/mongoose.cloud/fullchain.pem
--key-file=/data/letsencrypt/live/mongoose.cloud/privkey.pem
--cert-file=/data/letsencrypt/live/build.mongoose-os.com/fullchain.pem
--key-file=/data/letsencrypt/live/build.mongoose-os.com/privkey.pem
--acme-challenge-dir=/data/letsencrypt/www/.well-known/acme-challenge
volumes:
- "{{ fwbuild_volumes_dir }}:{{ fwbuild_volumes_dir }}"
Expand Down
2 changes: 1 addition & 1 deletion tools/ansible/hosts.yml
@@ -1,5 +1,5 @@
fwbuild:
hosts:
build1.mongoose.cloud
build.mongoose-os.com
vars:
ansible_ssh_user: root
2 changes: 1 addition & 1 deletion tools/deploy_mos.py
Expand Up @@ -238,7 +238,7 @@ def UpdateHomebrew(args):
if args.resume <= 45:
print("(45) Pushing Docker images...")
RunSubprocess(["make", "docker-push-mos", "docker-push-fwbuild-instance", "TAG=%s" % tag_effective])
r = requests.get("https://mongoose.cloud/api/fwbuild/%s/pull" % tag_effective)
r = requests.get("https://build.mongoose-os.com/api/fwbuild/%s/pull" % tag_effective)
if r.status_code != 200:
print("Error pulling image: %d %s" % (r.status_code, r.text))
exit(2)
Expand Down

0 comments on commit eccc039

Please sign in to comment.