Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate gcloud coupling #117

Merged
merged 5 commits into from
Sep 11, 2019
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,3 @@ typings/

# deploy key generated by CI for pushing releases to GH
github_deploy_key

# generated secret JSON (GAE)
client-secret.json
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ $ mope <command> [<args>]
## Commands

* [build](docs/build.md)
* [deploy](docs/deploy.md)
* [run](docs/run.md)
* [time](docs/time.md)
* [tx](docs/tx.md)
Expand Down
108 changes: 0 additions & 108 deletions docs/deploy.md

This file was deleted.

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"author": "Meetup",
"license": "MIT",
"config": {
"txProject": "test",
"gaeModuleId": "default"
"txProject": "test"
},
"bin": {
"mope": "bin/mope.js"
Expand All @@ -20,7 +19,6 @@
"dependencies": {
"@alrra/travis-scripts": "3.0.1",
"@babel/core": "7.4.5",
"@google-cloud/storage": "2.5.0",
"@octokit/rest": "15.9.5",
"ajv": "6.10.0",
"aws-sdk": "2.504.0",
Expand All @@ -35,7 +33,6 @@
"file-loader": "1.1.11",
"gettext-parser": "1.2.2",
"glob": "7.1.4",
"googleapis": "23.0.0",
"gunzip-maybe": "1.4.1",
"isomorphic-style-loader": "4.0.0",
"memoize-one": "5.0.4",
Expand Down Expand Up @@ -94,4 +91,4 @@
"git add"
]
}
}
}
8 changes: 2 additions & 6 deletions src/commands/buildCommands/pull.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ module.exports = {
demandOption: true,
describe: 'The version ID to pull',
},
serviceId: {
default: packageConfig.gaeModuleId,
describe: 'The GAE service name',
},
pollWait: {
default: 5000, // 5 seconds
describe: 'The time to wait between bundle progress checks',
Expand All @@ -45,7 +41,7 @@ module.exports = {
}),
handler: argv => {
const startTime = new Date();
const { s3Bucket, serviceId, versionId, timeout, tags } = argv;
const { s3Bucket, versionId, timeout, tags } = argv;
const expectedBundleCount = tags.length;
const pulledBundles = [];

Expand All @@ -55,7 +51,7 @@ module.exports = {

// define recursive function to poll for completed app bundles
const pull = () => {
const archiveDir = `${serviceId}-${versionId}/`;
const archiveDir = `${versionId}/`;

if (new Date() - startTime > timeout) {
throw new Error(`Timeout - ${Math.floor(timeout / 1000)}sec`);
Expand Down
13 changes: 0 additions & 13 deletions src/commands/buildUtils/cloudApi.js

This file was deleted.

36 changes: 0 additions & 36 deletions src/commands/deploy.js

This file was deleted.

98 changes: 0 additions & 98 deletions src/commands/deployCommands/clean.js

This file was deleted.

Loading