-
Notifications
You must be signed in to change notification settings - Fork 92
fixing jenkins docker image tag #1
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
Open
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
2b529e2
fixing jenkins docker image tag
elreydetoda acddfe9
fixing rancher gcloud command
elreydetoda 205b8ce
auto complete appended some character, so fixing that
elreydetoda 5e9c467
moving around so jenkins works
elreydetoda a3c9819
keeping everything updated
elreydetoda ffe0c71
updating with my stuff
elreydetoda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
.gitmodules
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [submodule "lesson-jenkins"] | ||
| path = lesson-jenkins | ||
| url = git@github.com:elreydetoda/hellonode.git |
1 change: 1 addition & 0 deletions
lesson-jenkins
Submodule lesson-jenkins
added at
e37d8f
22 changes: 0 additions & 22 deletions
lesson-jenkins/Dockerfile
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
lesson-jenkins/Jenkinsfile
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
lesson-jenkins/README.md
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
lesson-jenkins/hello-node-app/main.js
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
lesson-jenkins/hello-node-app/package.json
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
lesson-jenkins/hello-node-app/test.js
Oops, something went wrong.
48 changes: 48 additions & 0 deletions
lesson-openstack/README.md.02
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # Lesson: Openstack | ||
|
|
||
| In this lesson, we'll be using Openstack with DevStack. DevStack is a tool that runs a complete Openstack environment on a single server. Because installing DevStack requires various changes to network configuration of the server it's installed on, we'll be creating a new virtual machine for it in Google Cloud Platform. | ||
|
|
||
| Using the skills you have learned in the previous lessons, provision a new virtual machine on Google Compute Engine. Create a server with 2 VCPUs, 8 gigabytes of memory and 100GB root disk with the Ubuntu 16.04 operating system. Also, create a firewall rule to allow TCP port 80 inbound from any source. | ||
|
|
||
| Finally, SSH into the new virtual machine (either via Google Cloud Shell or externally) and follow the instructions below to install DevStack. Note that the installation will take about 15 minutes. | ||
|
|
||
| ## Install DevStack | ||
|
|
||
| First, create a user for running DevStack: | ||
| ``` | ||
| sudo useradd -s /bin/bash -d /opt/stack -m stack | ||
| ``` | ||
|
|
||
| Enable this user to sudo without a password: | ||
| ``` | ||
| echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack | ||
| ``` | ||
|
|
||
| Open a shell as the stack user: | ||
| ``` | ||
| sudo su - stack | ||
| ``` | ||
|
|
||
| Download DevStack via git: | ||
| ``` | ||
| git clone https://git.openstack.org/openstack-dev/devstack | ||
| cd devstack | ||
| ``` | ||
|
|
||
| Create the minimum configuration for installing DevStack: | ||
| ``` | ||
| echo -e "[[local|localrc]]\nADMIN_PASSWORD=masterclass\nDATABASE_PASSWORD=\$ADMIN_PASSWORD\nRABBIT_PASSWORD=\$ADMIN_PASSWORD\nSERVICE_PASSWORD=\$ADMIN_PASSWORD" > local.conf | ||
| ``` | ||
|
|
||
| Alter the packages needed to install because mysql is out of date | ||
| ``` | ||
| for i in $(sudo grep -r 'libmysqlclient-dev' * | cut -d ':' -f 1) ; do sed -i 's/libmysqlclient-dev/default-libmysqlclient-dev/' $i ; done | ||
| ``` | ||
|
|
||
| Start the DevStack installation: | ||
| ``` | ||
| ./stack.sh | ||
| ``` | ||
|
|
||
| When the installation is complete, login to the Openstack dashboard in `http://<VIRTUAL_MACHINE_PUBLIC_IP>/dashboard/` using the username `demo` and password `masterclass`. | ||
|
|
This file contains hidden or 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
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.