New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

git-to-k8s

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-to-k8s - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "git-to-k8s",
"version": "0.1.1",
"version": "0.1.2",
"description": "Small tool to automate the git to url flow on k8s",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -21,3 +21,3 @@ # git-to-k8s

# Steps for typical normal project:
### Steps for typical normal project:

@@ -29,3 +29,4 @@ - commit project code to git repo

Sample package.json:
### Sample package.json:
```

@@ -56,2 +57,73 @@ {

### Commandline
```
$ npm i -g git-to-k8s
$ git-to-k8s https://github.com/devfans/git-to-k8s
Checking dependencies...
Target git remote url: https://github.com/devfans/git-to-k8s
Total 4 steps to run
Step: 1 / 4 - Clone repo to local temp work directory
- shell: mkdir -p /var/tmp/git-to-k8s
- shell: cd /var/tmp/git-to-k8s
- shell: rm -rf git-to-k8s
- shell: git clone --depth=1 https://github.com/devfans/git-to-k8s /var/tmp/git-to-k8s/git-to-k8s
Cloning into '/var/tmp/git-to-k8s/git-to-k8s'...
- shell: cd git-to-k8s
Step: 2 / 4 - build docker images and push to registry
- shell: docker build -t devfans/test:0.0.1 -f sample/Dockerfile sample
Sending build context to Docker daemon 18.43kB
Step 1/4 : FROM node:alpine
---> cc3ade82a1f2
Step 2/4 : COPY package.json package.json
---> Using cache
---> 0cec40705c46
Step 3/4 : RUN npm install --production
---> Using cache
---> 4171db2c8f89
Step 4/4 : CMD npm start
---> Using cache
---> 1c8b6cab22ae
Successfully built 1c8b6cab22ae
Successfully tagged devfans/test:0.0.1
- shell: docker push devfans/test:0.0.1
The push refers to repository [docker.io/devfans/test]
c7762379164b: Preparing
6cfb3c56ee53: Preparing
1fe401b6b7c6: Preparing
b15aad9c911d: Preparing
2aebd096e0e2: Preparing
c7762379164b: Layer already exists
6cfb3c56ee53: Layer already exists
1fe401b6b7c6: Layer already exists
b15aad9c911d: Layer already exists
2aebd096e0e2: Layer already exists
0.0.1: digest: sha256:1375e4af0340bac927b89481b236ca128a8c600ff3f2e6a7f52413ab5f954757 size: 1369
Step: 3 / 4 - deploy charts
- shell: helm install --name test-git-to-k8s -f sample/charts/test/values.yaml ./sample/charts/test
NAME: test-git-to-k8s
LAST DEPLOYED: Thu Dec 27 07:53:31 2018
NAMESPACE: default
STATUS: DEPLOYED
RESOURCES:
==> v1beta1/Deployment
NAME AGE
test-git-to-k8s 0s
==> v1/Pod(related)
NAME READY STATUS RESTARTS AGE
test-git-to-k8s-5fd6576659-9cxzl 0/1 Pending 0 0s
==> v1/Service
NAME AGE
test-git-to-k8s 0s
Step: 4 / 4 - Clean up
- shell: rm -rf /var/tmp/git-to-k8s
```
[npm-image]: https://img.shields.io/npm/v/git-to-k8s.svg

@@ -58,0 +130,0 @@ [npm-url]: https://npmjs.org/package/git-to-k8s

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc