Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
7de0f866
Commit
7de0f866
authored
May 16, 2018
by
mapsam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cfn template, remove encrypted vars
parent
e06c977b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
60 additions
and
6 deletions
+60
-6
.travis.yml
.travis.yml
+0
-2
appveyor.yml
appveyor.yml
+0
-4
ci.template.js
cloudformation/ci.template.js
+59
-0
package.json
package.json
+1
-0
No files found.
.travis.yml
View file @
7de0f866
...
@@ -94,8 +94,6 @@ matrix:
...
@@ -94,8 +94,6 @@ matrix:
env
:
env
:
global
:
global
:
-
JOBS
:
"
8"
-
JOBS
:
"
8"
-
secure
:
PifMOSnn+mWR1RUptXse+fLvWiTrzg0R/mazO7RWhXHWBKv0uAJ/qV3dI0GIRBLtjG10Iy+tT5RNh1TIbBzB9Y67wMcGvylUPG1+3EOKoBMEPnOD9AgCEQw4SOXfGPx0cq2N6ueSKieCgu1yKN9Wq7XCbE+zTk/DiRNIdLirVoo=
-
secure
:
cc4esJY1vPXL31IeumAJoKWDDO2BTGFiltwfO1jbTbiV7QT911QUjTUasxXIVpOaHNCpxSTyevPwwTWfzt2EtF92Lli+qhQ2bbzMiDSBZstSrHdAe62Ai2M1oYYUwk/0cABB/2nO9uRyYwITCxpTSNzZBrYhn3C29WqBhPeVDmM=
before_install
:
before_install
:
-
export PUBLISHABLE=${PUBLISHABLE:-true}
-
export PUBLISHABLE=${PUBLISHABLE:-true}
...
...
appveyor.yml
View file @
7de0f866
environment
:
environment
:
node_pre_gyp_accessKeyId
:
secure
:
7DrSVc5eIGtmMcki5H+iRft+Tk3MJTwDBQEUuJHWaQ4=
node_pre_gyp_secretAccessKey
:
secure
:
1amwJJw9fu0j6dXnc5KsAQbSYf7Cjw/dapT6OZWABa6nc52grkKeLQ+DGaOfQz8i
matrix
:
matrix
:
-
nodejs_version
:
4
-
nodejs_version
:
4
platform
:
x64
platform
:
x64
...
...
cloudformation/ci.template.js
0 → 100644
View file @
7de0f866
var
cf
=
require
(
'@mapbox/cloudfriend'
);
var
package_json
=
require
(
'../package.json'
)
module
.
exports
=
{
AWSTemplateFormatVersion
:
'2010-09-09'
,
Description
:
'user for publishing to s3://mapbox-node-binary/'
+
package_json
.
name
,
Resources
:
{
User
:
{
Type
:
'AWS::IAM::User'
,
Properties
:
{
Policies
:
[
{
PolicyName
:
'list'
,
PolicyDocument
:
{
Statement
:
[
{
Action
:
[
's3:ListBucket'
],
Effect
:
'Allow'
,
Resource
:
'arn:aws:s3:::mapbox-node-binary'
,
Condition
:
{
StringLike
:
{
"s3:prefix"
:
[
package_json
.
name
+
"/*"
]
}
}
}
]
}
},
{
PolicyName
:
'publish'
,
PolicyDocument
:
{
Statement
:
[
{
Action
:
[
's3:DeleteObject'
,
's3:GetObject'
,
's3:GetObjectAcl'
,
's3:PutObject'
,
's3:PutObjectAcl'
],
Effect
:
'Allow'
,
Resource
:
'arn:aws:s3:::mapbox-node-binary/'
+
package_json
.
name
+
'/*'
}
]
}
}
]
}
},
AccessKey
:
{
Type
:
'AWS::IAM::AccessKey'
,
Properties
:
{
UserName
:
cf
.
ref
(
'User'
)
}
}
},
Outputs
:
{
AccessKeyId
:
{
Value
:
cf
.
ref
(
'AccessKey'
)
},
SecretAccessKey
:
{
Value
:
cf
.
getAtt
(
'AccessKey'
,
'SecretAccessKey'
)
}
}
};
package.json
View file @
7de0f866
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
"node-pre-gyp"
"node-pre-gyp"
],
],
"devDependencies"
:
{
"devDependencies"
:
{
"
@mapbox/cloudfriend
"
:
"^1.9.0"
,
"
aws-sdk
"
:
"2.x"
,
"
aws-sdk
"
:
"2.x"
,
"
eslint
"
:
"3.5.0"
,
"
eslint
"
:
"3.5.0"
,
"
mocha
"
:
"3.x"
"
mocha
"
:
"3.x"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment