-
Notifications
You must be signed in to change notification settings - Fork 106
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
🎉 Feature: support dockerized execution with single command 🐳 #825
Open
marcellodesales
wants to merge
5
commits into
probot:master
Choose a base branch
from
marcellodesales:feature/support-dockerized-execution
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
🎉 Feature: support dockerized execution with single command 🐳 #825
marcellodesales
wants to merge
5
commits into
probot:master
from
marcellodesales:feature/support-dockerized-execution
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deprecated APIs are still being used in the app. Using npm@7 so that we can get the app dockerized. https://stackoverflow.com/questions/74935310/creation-of-probot-github-app-failing-with-error-the-programmatic-api-was-remov $ docker run -ti marcellodesales/create-probot-app node ./bin/create-probot-app.js create-probot-app [options] <destination> Argument <destination> is required. Example: create-probot-app my-first-app Run create-probot-app --help to see all options. (devsecops-platform-artifactory-manager)
$ docker compose build [+] Building 28.3s (14/14) FINISHED docker:desktop-linux => [create-probot-app internal] load .dockerignore 0.0s => => transferring context: 88B 0.0s => [create-probot-app internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 700B 0.0s => [create-probot-app internal] load metadata for docker.io/library/node:20-slim 1.3s => [create-probot-app base 1/4] FROM docker.io/library/node:20-slim@sha256:2dab2d0e8813ee1601f8d25a8e4aa5530ffc4d0cc16600ec4fd080263b5b1ccd 0.0s => [create-probot-app internal] load build context 0.0s => => transferring context: 5.03kB 0.0s => CACHED [create-probot-app base 2/4] RUN corepack enable 0.0s => [create-probot-app base 3/4] COPY . /app 0.1s => [create-probot-app base 4/4] WORKDIR /app 0.0s => [create-probot-app app-dependencies 1/3] WORKDIR /github.com/marcellodesales/probot 0.0s => [create-probot-app app-dependencies 2/3] COPY package* . 0.0s => [create-probot-app app-dependencies 3/3] RUN pnpm install 12.9s => [create-probot-app stage-5 1/2] COPY . . 0.1s => [create-probot-app stage-5 2/2] RUN pnpm run build 11.1s => [create-probot-app] exporting to image 2.6s => => exporting layers 2.6s => => writing image sha256:e793d3fee03df8abd57909c5d9b1cdc96aad8a135185e3c44661823fb4a58042 0.0s => => naming to docker.io/marcellodesales/create-probot-app
$ docker run -ti marcellodesales/create-probot-app myapp Let's create a Probot app! Hit enter to accept the suggestion. ? App name: (myapp)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎉 Support for Dockerized execution
docker engine
docker run -ti -w$(pwd) -v $ (pwd):$(pwd) marcellodesales/create-probot-app vionix-ghas-manager