- Create a Windows instance
- Use the aws console to get username and password
- log in via rdp
- Turn off IE Enhanced security control
- Open server settings, local server, turn it off
- install chrome
- Install java: https://www.java.com/en/download/
- Create C:\Jenkins
- go to jenkins instance
- log in as admin
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am ierceg on github. | |
| * I am ierceg (https://keybase.io/ierceg) on keybase. | |
| * I have a public key ASD9oiteKy0QvDlEto0XrP6hFcFcTDnu8CZLKFnYPsqxvQo | |
| To claim this, I am signing this object: |
- Do you have an Github/GitLab account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
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
| #!/bin/sh | |
| # TODO: | |
| # - Allow for splitting the same file into multiple branches. | |
| # - If there are manual commits apart from the automatic merges and (split-branch) commits, <do something>. `git merge-base` is useful here. | |
| # Design: | |
| # - The script should be run from the branch that is being split. | |
| # - The script accepts the target branch as an argument. | |
| # - The script will automatically merge the target branch into the source branch if needed. |
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
| #!/bin/bash | |
| # Save the current branch name | |
| current_branch=$(git rev-parse --abbrev-ref HEAD) | |
| if [ $? -ne 0 ]; then | |
| echo "Error: Failed to get the current branch name." | |
| exit 1 | |
| fi | |
| # Set target branch to 'master' or the provided argument |
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
| # Put this into your .zhrc | |
| DEPLOY_FLAG=0 | |
| # Override the 'preexec' function to intercept commands before they are executed | |
| function preexec() { | |
| # Get the command as input | |
| local command="$1" | |
| # Set the flag if the command contains "deploy" |
OlderNewer