Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

domain port ignored #6

@Andrei-Pozolotin

Description

@Andrei-Pozolotin

can not make host:port stanza to work with acpush:

tester/build.sh

#!/usr/bin/env bash
set -e
dir=$(dirname $0)
conf="$dir/conf"
cd $dir
build="acbuild --debug"
$build begin
trap "{ export CODE=$?; $build end && exit $CODE; }" EXIT
$build set-name tester
$build dep add quay.io/coreos/alpine-sh
$build write --overwrite tester.aci
acpush tester.aci tester.asc "aci-serv:3000/tester" \
    --debug \
    --insecure \
    --local-conf="$conf" \

tester/conf/auth.d/aci-serv.json

{
    "rktKind": "auth",
    "rktVersion": "v1",
    "domains": [ "aci-serv:3000" ],
    "type": "basic",
    "credentials": {
        "user": "default",
        "password": "default"
    }
}

build log

Beginning build with an empty ACI
Setting name of ACI to tester
Adding dependency "quay.io/coreos/alpine-sh"
Writing ACI to tester.aci
searching for push endpoint via meta discovery
meta tag 'ac-push-discovery' not found on aci-serv: Get http://aci-serv?ac-discovery=1: dial tcp 192.168.1.131:80: getsockopt: connection refused
err: Get http://aci-serv?ac-discovery=1: dial tcp 192.168.1.131:80: getsockopt: connection refused
Ending the build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions