Closed ochim closed 6 years ago
@ochim 私の方では再現できませんでした。
SwiftバージョンやOSなどの環境情報と、Hexavillefile.ymlの内容(クレデンシャルはマスクして下さい)をいただくことは出来ますでしょうか?
@noppoMan 返答ありがとうございます。 Swift:4.0 OS:10.12.6 Xcode:9.2
Hexavillefile.yml
name: NearStations
service: aws
aws:
credential:
access_key_id: xxxxxxxxxxxxxxxxxxxxxxxxxx
secret_access_key: xxxxxxxxxxxxxxxxxxxxxxxxxx
region: us-east-1
lambda:
bucket: hexaville-nearstations-pglda-bucket
role: xxxxxxxxxxxxxxxxxxxxxxxxxx
# vpc:
# subnetIds:
# - xxxxxx
# - xxxxxx
# securityGroupIds:
# - xxxxxx
# - xxxxxx
build:
nocache: false
swift:
version: 4.0
build:
configuration: release # default is debug
になります。
デプロイコマンドを叩いた時のコンソールログも貼っておきます。
Start to build swift...
Docker version
Client:
Version: 17.09.1-ce
API version: 1.32
Go version: go1.8.3
Git commit: 19e2cf6
Built: Thu Dec 7 22:22:25 2017
OS/Arch: darwin/amd64
Server:
Version: 17.09.1-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: 19e2cf6
Built: Thu Dec 7 22:28:28 2017
OS/Arch: linux/amd64
Experimental: true
Sending build context to Docker daemon 77.51MB
Step 1/13 : FROM ubuntu:14.04
---> 7c09e61e9035
Step 2/13 : RUN apt-get update -y
---> Using cache
---> 43e228c673a6
Step 3/13 : RUN apt-get install -y clang libicu-dev libbsd-dev uuid-dev git libxml2-dev libxslt1-dev python-dev libcurl4-openssl-dev wget
---> Using cache
---> 3c469ccd4331
Step 4/13 : ENV DEST /hexaville-app/.build/x86_64-unknown-linux
---> Using cache
---> 2aed87fa940f
Step 5/13 : ENV EXECUTABLE_NAME NearStations
---> Using cache
---> ae38de74e648
Step 6/13 : ENV SWIFT_DOWNLOAD_URL https://swift.org/builds/swift-4.0-release/ubuntu1404/swift-4.0-RELEASE/swift-4.0-RELEASE-ubuntu14.04.tar.gz
---> Using cache
---> 0966e4838328
Step 7/13 : ENV SWIFTFILE swift-4.0-RELEASE-ubuntu14.04
---> Using cache
---> 4c7907e62136
Step 8/13 : RUN wget $SWIFT_DOWNLOAD_URL
---> Using cache
---> 9de4438a2a2e
Step 9/13 : RUN tar -zxf $SWIFTFILE.tar.gz
---> Using cache
---> cc8c95c025c0
Step 10/13 : ENV PATH $PWD/$SWIFTFILE/usr/bin:"${PATH}"
---> Using cache
---> f618b5398b4d
Step 11/13 : COPY . hexaville-app
---> dee50e14ef07
Step 12/13 : WORKDIR hexaville-app
---> 700877dc4bc8
Removing intermediate container f0623c396400
Step 13/13 : CMD /bin/bash ./build-swift.sh
---> Running in 3fdc719e4a01
---> 17c0ffedd15f
Removing intermediate container 3fdc719e4a01
Successfully built 17c0ffedd15f
Successfully tagged nearstations:latest
Fetching https://github.com/noppoMan/HexavilleFramework.git
Fetching https://github.com/noppoMan/Prorsum.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/noppoman/ProrsumNet.git
Fetching https://github.com/vapor/clibressl.git
Cloning https://github.com/noppoMan/HexavilleFramework.git
Resolving https://github.com/noppoMan/HexavilleFramework.git at 0.1.15
Cloning https://github.com/noppoMan/Prorsum.git
Resolving https://github.com/noppoMan/Prorsum.git at 0.3.1
Cloning https://github.com/jakeheis/SwiftCLI.git
Resolving https://github.com/jakeheis/SwiftCLI.git at 3.1.0
Cloning https://github.com/noppoman/ProrsumNet.git
Resolving https://github.com/noppoman/ProrsumNet.git at 0.1.3
Cloning https://github.com/vapor/clibressl.git
Resolving https://github.com/vapor/clibressl.git at 1.0.0
warning: minimum recommended clang is version 3.6, otherwise you may encounter linker errors.
Compile CLibreSSL xts128.c
Compile Swift Module 'SwiftCLI' (25 sources)
Compile CLibreSSL xcbc_enc.c
Compile CLibreSSL x509type.c
Compile CLibreSSL x509spki.c
Compile CLibreSSL x509rset.c
Compile CLibreSSL x509name.c
Compile CLibreSSL x509cset.c
Compile CLibreSSL x509_vpm.c
Compile CLibreSSL x509_vfy.c
Compile CLibreSSL x509_v3.c
Compile CLibreSSL x509_txt.c
Compile CLibreSSL x509_trs.c
Compile CLibreSSL x509_set.c
Compile CLibreSSL x509_req.c
Compile CLibreSSL x509_r2x.c
Compile CLibreSSL x509_obj.c
Compile CLibreSSL x509_lu.c
Compile CLibreSSL x509_ext.c
Compile CLibreSSL x509_err.c
Compile CLibreSSL x509_def.c
Compile CLibreSSL x509_d2.c
Compile CLibreSSL x509_cmp.c
Compile CLibreSSL x509_att.c
Compile CLibreSSL x_x509a.c
Compile CLibreSSL x_x509.c
Compile CLibreSSL x_val.c
Compile CLibreSSL x_spki.c
Compile CLibreSSL x_sig.c
Compile CLibreSSL x_req.c
Compile CLibreSSL x_pubkey.c
Compile CLibreSSL x_pkey.c
Compile CLibreSSL x_nx509.c
Compile CLibreSSL x_name.c
Compile CLibreSSL x_long.c
Compile CLibreSSL x_info.c
Compile CLibreSSL x_exten.c
Compile CLibreSSL x_crl.c
Compile CLibreSSL x_bignum.c
Compile CLibreSSL x_attrib.c
Compile CLibreSSL x_all.c
Compile CLibreSSL x_algor.c
Compile CLibreSSL wp_dgst.c
Compile CLibreSSL wp_block.c
Compile CLibreSSL v3err.c
Compile CLibreSSL v3_utl.c
Compile CLibreSSL v3_sxnet.c
Compile CLibreSSL v3_skey.c
Compile CLibreSSL v3_purp.c
Compile CLibreSSL v3_prn.c
Compile CLibreSSL v3_pmaps.c
Compile CLibreSSL v3_pku.c
Compile CLibreSSL v3_pcons.c
Compile CLibreSSL v3_pcia.c
Compile CLibreSSL v3_pci.c
Compile CLibreSSL v3_ocsp.c
Compile CLibreSSL v3_ncons.c
Compile CLibreSSL v3_lib.c
Compile CLibreSSL v3_int.c
Compile CLibreSSL v3_info.c
Compile CLibreSSL v3_ia5.c
Compile CLibreSSL v3_genn.c
Compile CLibreSSL v3_extku.c
Compile CLibreSSL v3_enum.c
Compile CLibreSSL v3_crld.c
Compile CLibreSSL v3_cpols.c
Compile CLibreSSL v3_conf.c
Compile CLibreSSL v3_bitst.c
Compile CLibreSSL v3_bcons.c
Compile CLibreSSL v3_alt.c
Compile CLibreSSL v3_akeya.c
Compile CLibreSSL v3_akey.c
Compile CLibreSSL ui_util.c
Compile CLibreSSL ui_openssl.c
Compile CLibreSSL ui_openssl_win.c
Compile CLibreSSL ui_lib.c
Compile CLibreSSL ui_err.c
Compile CLibreSSL txt_db.c
Compile CLibreSSL ts_verify_ctx.c
Compile CLibreSSL ts_rsp_verify.c
Compile CLibreSSL ts_rsp_utils.c
Compile CLibreSSL ts_rsp_sign.c
Compile CLibreSSL ts_rsp_print.c
Compile CLibreSSL ts_req_utils.c
Compile CLibreSSL ts_req_print.c
Compile CLibreSSL ts_lib.c
Compile CLibreSSL ts_err.c
Compile CLibreSSL ts_conf.c
Compile CLibreSSL ts_asn1.c
Compile CLibreSSL tls.c
Compile CLibreSSL tls_verify.c
Compile CLibreSSL tls_util.c
Compile CLibreSSL tls_server.c
Compile CLibreSSL tls_peer.c
Compile CLibreSSL tls_conninfo.c
Compile CLibreSSL tls_config.c
Compile CLibreSSL tls_client.c
Compile CLibreSSL timingsafe_memcmp.c
Compile CLibreSSL timingsafe_bcmp.c
Compile CLibreSSL timegm.c
Compile CLibreSSL tb_store.c
Compile CLibreSSL tb_rsa.c
Compile CLibreSSL tb_rand.c
Compile CLibreSSL tb_pkmeth.c
Compile CLibreSSL tb_ecdsa.c
Compile CLibreSSL tb_ecdh.c
Compile CLibreSSL tb_dsa.c
Compile CLibreSSL tb_digest.c
Compile CLibreSSL tb_dh.c
Compile CLibreSSL tb_cipher.c
Compile CLibreSSL tb_asnmth.c
Compile CLibreSSL tasn_utl.c
Compile CLibreSSL tasn_typ.c
Compile CLibreSSL tasn_prn.c
Compile CLibreSSL tasn_new.c
Compile CLibreSSL tasn_fre.c
Compile CLibreSSL tasn_enc.c
Compile CLibreSSL tasn_dec.c
Compile CLibreSSL t1_srvr.c
Compile CLibreSSL t1_reneg.c
Compile CLibreSSL t1_meth.c
Compile CLibreSSL t1_lib.c
Compile CLibreSSL t1_enc.c
Compile CLibreSSL t1_clnt.c
Compile CLibreSSL t_x509a.c
Compile CLibreSSL t_x509.c
Compile CLibreSSL t_spki.c
Compile CLibreSSL t_req.c
Compile CLibreSSL t_pkey.c
Compile CLibreSSL t_crl.c
Compile CLibreSSL t_bitst.c
Compile CLibreSSL strsep.c
Compile CLibreSSL strnlen.c
Compile CLibreSSL strndup.c
Compile CLibreSSL strlcpy.c
Compile CLibreSSL strlcat.c
Compile CLibreSSL streebog.c
Compile CLibreSSL strcasecmp.c
Compile CLibreSSL str2key.c
Compile CLibreSSL stack.c
Compile CLibreSSL ssl_txt.c
Compile CLibreSSL ssl_stat.c
Compile CLibreSSL ssl_sess.c
Compile CLibreSSL ssl_rsa.c
Compile CLibreSSL ssl_lib.c
Compile CLibreSSL ssl_err2.c
Compile CLibreSSL ssl_err.c
Compile CLibreSSL ssl_ciph.c
Compile CLibreSSL ssl_cert.c
Compile CLibreSSL ssl_asn1.c
Compile CLibreSSL ssl_algs.c
Compile CLibreSSL sha512.c
Compile CLibreSSL sha256.c
Compile CLibreSSL sha1dgst.c
Compile CLibreSSL sha1_one.c
Compile CLibreSSL set_key.c
Compile CLibreSSL s3_srvr.c
Compile CLibreSSL s3_pkt.c
Compile CLibreSSL s3_lib.c
Compile CLibreSSL s3_clnt.c
Compile CLibreSSL s3_cbc.c
Compile CLibreSSL s3_both.c
Compile CLibreSSL s23_srvr.c
Compile CLibreSSL s23_pkt.c
Compile CLibreSSL s23_lib.c
Compile CLibreSSL s23_clnt.c
Compile CLibreSSL rsa_x931.c
Compile CLibreSSL rsa_ssl.c
Compile CLibreSSL rsa_sign.c
Compile CLibreSSL rsa_saos.c
Compile CLibreSSL rsa_pss.c
Compile CLibreSSL rsa_prn.c
Compile CLibreSSL rsa_pmeth.c
Compile CLibreSSL rsa_pk1.c
Compile CLibreSSL rsa_oaep.c
Compile CLibreSSL rsa_none.c
Compile CLibreSSL rsa_lib.c
Compile CLibreSSL rsa_gen.c
Compile CLibreSSL rsa_err.c
Compile CLibreSSL rsa_eay.c
Compile CLibreSSL rsa_depr.c
Compile CLibreSSL rsa_crpt.c
Compile CLibreSSL rsa_chk.c
Compile CLibreSSL rsa_asn1.c
Compile CLibreSSL rsa_ameth.c
Compile CLibreSSL rmd_one.c
Compile CLibreSSL rmd_dgst.c
Compile CLibreSSL reallocarray.c
Compile CLibreSSL rc4_skey.c
Compile CLibreSSL rc4_enc.c
Compile CLibreSSL rc2ofb64.c
Compile CLibreSSL rc2cfb64.c
Compile CLibreSSL rc2_skey.c
Compile CLibreSSL rc2_ecb.c
Compile CLibreSSL rc2_cbc.c
Compile CLibreSSL randfile.c
Compile CLibreSSL rand_lib.c
Compile CLibreSSL rand_key.c
Compile CLibreSSL rand_err.c
Compile CLibreSSL qud_cksm.c
Compile CLibreSSL pvkfmt.c
Compile CLibreSSL pqueue.c
Compile CLibreSSL posix_win.c
Compile CLibreSSL poly1305.c
Compile CLibreSSL poly1305-donna.c
Compile CLibreSSL pmeth_lib.c
Compile CLibreSSL pmeth_gn.c
Compile CLibreSSL pmeth_fn.c
Compile CLibreSSL pkcs7err.c
Compile CLibreSSL pk7_smime.c
Compile CLibreSSL pk7_mime.c
Compile CLibreSSL pk7_lib.c
Compile CLibreSSL pk7_doit.c
Compile CLibreSSL pk7_attr.c
Compile CLibreSSL pk7_asn1.c
Compile CLibreSSL pk12err.c
Compile CLibreSSL pem_xaux.c
Compile CLibreSSL pem_x509.c
Compile CLibreSSL pem_sign.c
Compile CLibreSSL pem_seal.c
Compile CLibreSSL pem_pkey.c
Compile CLibreSSL pem_pk8.c
Compile CLibreSSL pem_oth.c
Compile CLibreSSL pem_lib.c
Compile CLibreSSL pem_info.c
Compile CLibreSSL pem_err.c
Compile CLibreSSL pem_all.c
Compile CLibreSSL pcy_tree.c
Compile CLibreSSL pcy_node.c
Compile CLibreSSL pcy_map.c
Compile CLibreSSL pcy_lib.c
Compile CLibreSSL pcy_data.c
Compile CLibreSSL pcy_cache.c
Compile CLibreSSL pcbc_enc.c
Compile CLibreSSL p8_pkey.c
Compile CLibreSSL p5_pbev2.c
Compile CLibreSSL p5_pbe.c
Compile CLibreSSL p5_crpt2.c
Compile CLibreSSL p5_crpt.c
Compile CLibreSSL p12_utl.c
Compile CLibreSSL p12_p8e.c
Compile CLibreSSL p12_p8d.c
Compile CLibreSSL p12_npas.c
Compile CLibreSSL p12_mutl.c
Compile CLibreSSL p12_kiss.c
Compile CLibreSSL p12_key.c
Compile CLibreSSL p12_init.c
Compile CLibreSSL p12_decr.c
Compile CLibreSSL p12_crt.c
Compile CLibreSSL p12_crpt.c
Compile CLibreSSL p12_attr.c
Compile CLibreSSL p12_asn.c
Compile CLibreSSL p12_add.c
Compile CLibreSSL p_verify.c
Compile CLibreSSL p_sign.c
Compile CLibreSSL p_seal.c
Compile CLibreSSL p_open.c
Compile CLibreSSL p_lib.c
Compile CLibreSSL p_enc.c
Compile CLibreSSL p_dec.c
Compile CLibreSSL ofb64enc.c
Compile CLibreSSL ofb64ede.c
Compile CLibreSSL ofb128.c
Compile CLibreSSL ofb_enc.c
Compile CLibreSSL ocsp_vfy.c
Compile CLibreSSL ocsp_srv.c
Compile CLibreSSL ocsp_prn.c
Compile CLibreSSL ocsp_lib.c
Compile CLibreSSL ocsp_ht.c
Compile CLibreSSL ocsp_ext.c
Compile CLibreSSL ocsp_err.c
Compile CLibreSSL ocsp_cl.c
Compile CLibreSSL ocsp_asn.c
Compile CLibreSSL obj_xref.c
Compile CLibreSSL obj_lib.c
Compile CLibreSSL obj_err.c
Compile CLibreSSL obj_dat.c
Compile CLibreSSL o_time.c
Compile CLibreSSL o_str.c
Compile CLibreSSL o_names.c
Compile CLibreSSL o_init.c
Compile CLibreSSL nsseq.c
Compile CLibreSSL ncbc_enc.c
Compile CLibreSSL names.c
Compile CLibreSSL n_pkey.c
Compile CLibreSSL mem_dbg.c
Compile CLibreSSL mem_clr.c
Compile CLibreSSL md5_one.c
Compile CLibreSSL md5_dgst.c
Compile CLibreSSL md4_one.c
Compile CLibreSSL md4_dgst.c
Compile CLibreSSL malloc-wrapper.c
Compile CLibreSSL m_wp.c
Compile CLibreSSL m_streebog.c
Compile CLibreSSL m_sigver.c
Compile CLibreSSL m_sha1.c
Compile CLibreSSL m_ripemd.c
Compile CLibreSSL m_null.c
Compile CLibreSSL m_md5.c
Compile CLibreSSL m_md4.c
Compile CLibreSSL m_gostr341194.c
Compile CLibreSSL m_gost2814789.c
Compile CLibreSSL m_ecdsa.c
Compile CLibreSSL m_dss1.c
Compile CLibreSSL m_dss.c
Compile CLibreSSL lhash.c
Compile CLibreSSL lh_stats.c
Compile CLibreSSL krb5_asn.c
Compile CLibreSSL inet_pton.c
Compile CLibreSSL i2d_pu.c
Compile CLibreSSL i2d_pr.c
Compile CLibreSSL i_skey.c
Compile CLibreSSL i_ofb64.c
Compile CLibreSSL i_ecb.c
Compile CLibreSSL i_cfb64.c
Compile CLibreSSL i_cbc.c
Compile CLibreSSL hmac.c
Compile CLibreSSL hm_pmeth.c
Compile CLibreSSL hm_ameth.c
Compile CLibreSSL gostr341194.c
Compile CLibreSSL gostr341001.c
Compile CLibreSSL gostr341001_pmeth.c
Compile CLibreSSL gostr341001_params.c
Compile CLibreSSL gostr341001_key.c
Compile CLibreSSL gostr341001_ameth.c
Compile CLibreSSL gost89imit_pmeth.c
Compile CLibreSSL gost89imit_ameth.c
Compile CLibreSSL gost89_params.c
Compile CLibreSSL gost89_keywrap.c
Compile CLibreSSL gost2814789.c
Compile CLibreSSL gost_err.c
Compile CLibreSSL gost_asn1.c
Compile CLibreSSL getentropy_win.c
Compile CLibreSSL getentropy_solaris.c
Compile CLibreSSL getentropy_osx.c
Compile CLibreSSL getentropy_netbsd.c
Compile CLibreSSL getentropy_linux.c
Compile CLibreSSL getentropy_hpux.c
Compile CLibreSSL getentropy_freebsd.c
Compile CLibreSSL getentropy_aix.c
Compile CLibreSSL gcm128.c
Compile CLibreSSL fcrypt.c
Compile CLibreSSL fcrypt_b.c
Compile CLibreSSL f_string.c
Compile CLibreSSL f_int.c
Compile CLibreSSL f_enum.c
Compile CLibreSSL explicit_bzero.c
Compile CLibreSSL explicit_bzero_win.c
Compile CLibreSSL ex_data.c
Compile CLibreSSL evp_pkey.c
Compile CLibreSSL evp_pbe.c
Compile CLibreSSL evp_lib.c
Compile CLibreSSL evp_key.c
Compile CLibreSSL evp_err.c
Compile CLibreSSL evp_enc.c
Compile CLibreSSL evp_asn1.c
Compile CLibreSSL evp_aead.c
Compile CLibreSSL err.c
Compile CLibreSSL err_prn.c
Compile CLibreSSL err_all.c
Compile CLibreSSL eng_table.c
Compile CLibreSSL eng_pkey.c
Compile CLibreSSL eng_openssl.c
Compile CLibreSSL eng_list.c
Compile CLibreSSL eng_lib.c
Compile CLibreSSL eng_init.c
Compile CLibreSSL eng_fat.c
Compile CLibreSSL eng_err.c
Compile CLibreSSL eng_dyn.c
Compile CLibreSSL eng_ctrl.c
Compile CLibreSSL eng_cnf.c
Compile CLibreSSL eng_all.c
Compile CLibreSSL encode.c
Compile CLibreSSL enc_writ.c
Compile CLibreSSL enc_read.c
Compile CLibreSSL ede_cbcm_enc.c
Compile CLibreSSL ecs_vrf.c
Compile CLibreSSL ecs_sign.c
Compile CLibreSSL ecs_ossl.c
Compile CLibreSSL ecs_lib.c
Compile CLibreSSL ecs_err.c
Compile CLibreSSL ecs_asn1.c
Compile CLibreSSL ecp_smpl.c
Compile CLibreSSL ecp_oct.c
Compile CLibreSSL ecp_nist.c
Compile CLibreSSL ecp_mont.c
Compile CLibreSSL eck_prn.c
Compile CLibreSSL ech_lib.c
Compile CLibreSSL ech_key.c
Compile CLibreSSL ech_err.c
Compile CLibreSSL ecb3_enc.c
Compile CLibreSSL ecb_enc.c
Compile CLibreSSL ec2_smpl.c
Compile CLibreSSL ec2_oct.c
Compile CLibreSSL ec2_mult.c
Compile CLibreSSL ec_print.c
Compile CLibreSSL ec_pmeth.c
Compile CLibreSSL ec_oct.c
Compile CLibreSSL ec_mult.c
Compile CLibreSSL ec_lib.c
Compile CLibreSSL ec_key.c
Compile CLibreSSL ec_err.c
Compile CLibreSSL ec_cvt.c
Compile CLibreSSL ec_curve.c
Compile CLibreSSL ec_check.c
Compile CLibreSSL ec_asn1.c
Compile CLibreSSL ec_ameth.c
Compile CLibreSSL e_xcbc_d.c
Compile CLibreSSL e_rc4.c
Compile CLibreSSL e_rc4_hmac_md5.c
Compile CLibreSSL e_rc2.c
Compile CLibreSSL e_old.c
Compile CLibreSSL e_null.c
Compile CLibreSSL e_idea.c
Compile CLibreSSL e_gost2814789.c
Compile CLibreSSL e_des3.c
Compile CLibreSSL e_des.c
Compile CLibreSSL e_chacha20poly1305.c
Compile CLibreSSL e_chacha.c
Compile CLibreSSL e_cast.c
Compile CLibreSSL e_camellia.c
Compile CLibreSSL e_bf.c
Compile CLibreSSL e_aes.c
Compile CLibreSSL e_aes_cbc_hmac_sha1.c
Compile CLibreSSL dso_openssl.c
Compile CLibreSSL dso_null.c
Compile CLibreSSL dso_lib.c
Compile CLibreSSL dso_err.c
Compile CLibreSSL dso_dlfcn.c
Compile CLibreSSL dsa_vrf.c
Compile CLibreSSL dsa_sign.c
Compile CLibreSSL dsa_prn.c
Compile CLibreSSL dsa_pmeth.c
Compile CLibreSSL dsa_ossl.c
Compile CLibreSSL dsa_lib.c
Compile CLibreSSL dsa_key.c
Compile CLibreSSL dsa_gen.c
Compile CLibreSSL dsa_err.c
Compile CLibreSSL dsa_depr.c
Compile CLibreSSL dsa_asn1.c
Compile CLibreSSL dsa_ameth.c
Compile CLibreSSL digest.c
Compile CLibreSSL dh_prn.c
Compile CLibreSSL dh_pmeth.c
Compile CLibreSSL dh_lib.c
Compile CLibreSSL dh_key.c
Compile CLibreSSL dh_gen.c
Compile CLibreSSL dh_err.c
Compile CLibreSSL dh_depr.c
Compile CLibreSSL dh_check.c
Compile CLibreSSL dh_asn1.c
Compile CLibreSSL dh_ameth.c
Compile CLibreSSL des_enc.c
Compile CLibreSSL d2i_pu.c
Compile CLibreSSL d2i_pr.c
Compile CLibreSSL d1_srvr.c
Compile CLibreSSL d1_srtp.c
Compile CLibreSSL d1_pkt.c
Compile CLibreSSL d1_meth.c
Compile CLibreSSL d1_lib.c
Compile CLibreSSL d1_enc.c
Compile CLibreSSL d1_clnt.c
Compile CLibreSSL d1_both.c
Compile CLibreSSL cversion.c
Compile CLibreSSL cts128.c
Compile CLibreSSL ctr128.c
Compile CLibreSSL cryptlib.c
Compile CLibreSSL cpt_err.c
Compile CLibreSSL conf_sap.c
Compile CLibreSSL conf_mod.c
Compile CLibreSSL conf_mall.c
Compile CLibreSSL conf_lib.c
Compile CLibreSSL conf_err.c
Compile CLibreSSL conf_def.c
Compile CLibreSSL conf_api.c
Compile CLibreSSL comp_lib.c
Compile CLibreSSL comp_err.c
Compile CLibreSSL cmll_ofb.c
Compile CLibreSSL cmll_misc.c
Compile CLibreSSL cmll_ecb.c
Compile CLibreSSL cmll_ctr.c
Compile CLibreSSL cmll_cfb.c
Compile CLibreSSL cmll_cbc.c
Compile CLibreSSL cmac.c
Compile CLibreSSL cm_pmeth.c
Compile CLibreSSL cm_ameth.c
Compile CLibreSSL chacha.c
Compile CLibreSSL chacha-merged.c
Compile CLibreSSL cfb64enc.c
Compile CLibreSSL cfb64ede.c
Compile CLibreSSL cfb128.c
Compile CLibreSSL cfb_enc.c
Compile CLibreSSL ccm128.c
Compile CLibreSSL cbc128.c
Compile CLibreSSL cbc_enc.c
Compile CLibreSSL cbc_cksm.c
Compile CLibreSSL camellia.c
Compile CLibreSSL c_zlib.c
Compile CLibreSSL c_skey.c
Compile CLibreSSL c_rle.c
Compile CLibreSSL c_ofb64.c
Compile CLibreSSL c_enc.c
Compile CLibreSSL c_ecb.c
Compile CLibreSSL c_cfb64.c
Compile CLibreSSL c_all.c
Compile CLibreSSL by_mem.c
Compile CLibreSSL by_file.c
Compile CLibreSSL by_dir.c
Compile CLibreSSL buffer.c
Compile CLibreSSL buf_str.c
Compile CLibreSSL buf_err.c
Compile CLibreSSL bss_sock.c
Compile CLibreSSL bss_null.c
Compile CLibreSSL bss_mem.c
Compile CLibreSSL bss_log.c
Compile CLibreSSL bss_file.c
Compile CLibreSSL bss_fd.c
Compile CLibreSSL bss_dgram.c
Compile CLibreSSL bss_conn.c
Compile CLibreSSL bss_bio.c
Compile CLibreSSL bss_acpt.c
Compile CLibreSSL bsd-asprintf.c
Compile CLibreSSL bs_cbs.c
Compile CLibreSSL bs_cbb.c
Compile CLibreSSL bs_ber.c
Compile CLibreSSL bn_x931p.c
Compile CLibreSSL bn_word.c
Compile CLibreSSL bn_sqrt.c
Compile CLibreSSL bn_sqr.c
Compile CLibreSSL bn_shift.c
Compile CLibreSSL bn_recp.c
Compile CLibreSSL bn_rand.c
Compile CLibreSSL bn_print.c
Compile CLibreSSL bn_prime.c
Compile CLibreSSL bn_nist.c
Compile CLibreSSL bn_mul.c
Compile CLibreSSL bn_mpi.c
Compile CLibreSSL bn_mont.c
Compile CLibreSSL bn_mod.c
Compile CLibreSSL bn_lib.c
Compile CLibreSSL bn_kron.c
Compile CLibreSSL bn_gf2m.c
Compile CLibreSSL bn_gcd.c
Compile CLibreSSL bn_exp2.c
Compile CLibreSSL bn_exp.c
Compile CLibreSSL bn_err.c
Compile CLibreSSL bn_div.c
Compile CLibreSSL bn_depr.c
Compile CLibreSSL bn_ctx.c
Compile CLibreSSL bn_const.c
Compile CLibreSSL bn_blind.c
Compile CLibreSSL bn_asm.c
Compile CLibreSSL bn_add.c
Compile CLibreSSL bio_ssl.c
Compile CLibreSSL bio_pk7.c
Compile CLibreSSL bio_ndef.c
Compile CLibreSSL bio_md.c
Compile CLibreSSL bio_lib.c
Compile CLibreSSL bio_err.c
Compile CLibreSSL bio_enc.c
Compile CLibreSSL bio_cb.c
Compile CLibreSSL bio_b64.c
Compile CLibreSSL bio_asn1.c
Compile CLibreSSL bf_skey.c
Compile CLibreSSL bf_ofb64.c
Compile CLibreSSL bf_null.c
Compile CLibreSSL bf_nbio.c
Compile CLibreSSL bf_enc.c
Compile CLibreSSL bf_ecb.c
Compile CLibreSSL bf_cfb64.c
Compile CLibreSSL bf_buff.c
Compile CLibreSSL b_win.c
Compile CLibreSSL b_sock.c
Compile CLibreSSL b_print.c
Compile CLibreSSL b_posix.c
Compile CLibreSSL b_dump.c
Compile CLibreSSL asn1_par.c
Compile CLibreSSL asn1_lib.c
Compile CLibreSSL asn1_gen.c
Compile CLibreSSL asn1_err.c
Compile CLibreSSL asn_pack.c
Compile CLibreSSL asn_moid.c
Compile CLibreSSL asn_mime.c
Compile CLibreSSL arc4random.c
Compile CLibreSSL arc4random_uniform.c
Compile CLibreSSL ameth_lib.c
Compile CLibreSSL aes_wrap.c
Compile CLibreSSL aes_ofb.c
Compile CLibreSSL aes_misc.c
Compile CLibreSSL aes_ige.c
Compile CLibreSSL aes_ecb.c
Compile CLibreSSL aes_ctr.c
Compile CLibreSSL aes_core.c
Compile CLibreSSL aes_cfb.c
Compile CLibreSSL aes_cbc.c
Compile CLibreSSL a_verify.c
Compile CLibreSSL a_utf8.c
Compile CLibreSSL a_type.c
Compile CLibreSSL a_time.c
Compile CLibreSSL a_time_tm.c
Compile CLibreSSL a_strnid.c
Compile CLibreSSL a_sign.c
Compile CLibreSSL a_strex.c
Compile CLibreSSL a_set.c
Compile CLibreSSL a_print.c
Compile CLibreSSL a_octet.c
Compile CLibreSSL a_object.c
Compile CLibreSSL a_mbstr.c
Compile CLibreSSL a_int.c
Compile CLibreSSL a_i2d_fp.c
Compile CLibreSSL a_enum.c
Compile CLibreSSL a_dup.c
Compile CLibreSSL a_digest.c
Compile CLibreSSL a_d2i_fp.c
Compile CLibreSSL a_bytes.c
Compile CLibreSSL a_bool.c
Compile CLibreSSL a_bitstr.c
Compile CHTTPParser http_parser.c
Compile Swift Module 'ProrsumNet' (24 sources)
Compile Swift Module 'Prorsum' (36 sources)
Compile Swift Module 'HexavilleFramework' (16 sources)
Compile Swift Module 'NearStations' (4 sources)
Linking ./.build/x86_64-unknown-linux/release/NearStations
Build swift done.
Starting zip package........
adding: NearStations (deflated 60%)
adding: byline.js (deflated 59%)
adding: index.js (deflated 67%)
adding: libFoundation.so (deflated 68%)
adding: libXCTest.so (deflated 67%)
adding: libdispatch.so (deflated 74%)
adding: libswiftCore.so (deflated 75%)
adding: libswiftGlibc.so (deflated 75%)
adding: libswiftRemoteMirror.so (deflated 67%)
adding: libswiftSwiftOnoneSupport.so (deflated 80%)
adding: libbsd.so.0 (deflated 51%)
adding: libicudata.so.52 (deflated 60%)
adding: libicui18n.so.52 (deflated 60%)
adding: libicuuc.so.52 (deflated 59%)
adding: assets/ (stored 0%)
adding: assets/.keep (stored 0%)
adding: assets/station20171109free.csv (deflated 69%)
Zip package done.
Uploading code to s3.....
fatal error: typeMismatch(Swift.Dictionary<Swift.String, Any>, Swift.DecodingError.Context(codingPath: [SwiftAWSS3.S3.ListBucketsOutput.(CodingKeys in _32757E5A7EBE8A89819CEB17805ED919).buckets], debugDescription: "Expected to decode Dictionary<String, Any> but found a string/data instead.", underlyingError: nil)): file /Users/yuki/WorkingsPlace/program/oss/Hexaville/Sources/Hexaville/main.swift, line 206
Illegal instruction: 4
情報ありがとうございます。 調査しますので、少々お待ちください。
S3のバケット内容に依存したエラーであったため、#91 で↑のエラーが出ないように修正してみました。 version@0.5.6に修正を載せていますので、 https://github.com/noppoMan/Hexaville#how-to-update-hexaville-cli-version を参考にHexaville CLIを最新バージョンへ更新をお願いします。
更新後、hexaville deploy
をもう一度試していただけますでしょうか?
@noppoMan ありがとうございます。 更新して試したのですが、別のエラーが出て困っております。
Uploading code to s3.....
Fatal error: AWSResponseError(errorCode: "InvalidLocationConstraint", message: Optional("The specified location-constraint is not valid")): file /Users/yuki/WorkingsPlace/program/oss/Hexaville/Sources/Hexaville/main.swift, line 206
Illegal instruction: 4
hexavilleのversionはhexaville version
で0.5.6と確認しました。
Hexavillefile.ymlはこうです。
name: NearStations
service: aws
aws:
credential:
access_key_id: xxxxxxxxxxxxxxxxxxxxxxxxxx
secret_access_key: xxxxxxxxxxxxxxxxxxxxxxxxxx
region: us-east-1
lambda:
bucket: hexaville-nearstations-pglda-bucket
role: xxxxxxxxxxxxxxxxxxxxxxxxxx
# vpc:
# subnetIds:
# - xxxxxx
# - xxxxxx
# securityGroupIds:
# - xxxxxx
# - xxxxxx
build:
nocache: false
swift:
version: 4.0
build:
configuration: release # default is debug
@ochim regionがus-east-1となっているのが問題かと思います。 おそらくtokyoリージョン用のアカウントで試されているかと思いますので、regionをap-northeast-1に変更することでデプロイが完了するかと思います!
あと、regionのネストを一段階あげて下さい。 regionはcredentialではなく、awsセクションのプロパティとなります。
@noppoMan ありがとうございます!無事デプロイできました。 awsについては話を聞くばかりで、使用経験はまだ少ないもので。 また、Hexavilleを使った記事を書いたので、よろしかったら読んでみてください。 https://qiita.com/ochim/items/7857d04d923816f80ced
hexavilleでは、高度なAWSの知識は要求されないので、ぜひ引き続きご利用ください! 記事も書いていただきありがとうございます😊 デプロイの記事も楽しみに待っています。
を実行して、以下のエラーになりました。 どう解決すればよろしいでしょうか?