-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
97 additions
and
41 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
github_packages: | ||
neovim: latest | ||
lunarvim: master | ||
diff_so_fancy: latest | ||
bat: latest | ||
zoxide: latest | ||
helm: latest | ||
lazygit: latest | ||
fzf: latest | ||
tmux: latest | ||
ripgrep: latest | ||
fd: latest | ||
kind: latest | ||
k9s: latest | ||
yq: latest | ||
win32yank: latest | ||
git_fuzzy: latest | ||
nvm: latest | ||
tpm: latest | ||
pes: latest | ||
p10k: latest | ||
git_apt_version: latest | ||
pip_packages: | ||
gita: latest | ||
thefuck: latest | ||
docker_apt_packages: | ||
docker-ce: latest | ||
docker-ce-cli: latest | ||
containerd.io: latest | ||
docker-compose-plugin: latest | ||
kubectl_version: latest | ||
ansible_pip_version: latest | ||
ansible_lint_pip_version: latest | ||
puppet_pdk_version: latest |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
# Publish changes to master branch | ||
# | ||
# 1. Copy currently used versions from current-versions.yml to `ansible/roles/software/vars/main.yml` | ||
# 2. (?) Generate changelog in Changes.md | ||
# 3. Commit, push | ||
# 4. Merge to master | ||
# 5. Get back latest versions from `.latest-versions.yml` to software vars. | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
yq -i eval-all '. as $item ireduce ({}; . * $item)' ${SCRIPT_DIR}/ansible/roles/software/vars/main.yml ${SCRIPT_DIR}/current-versions.yml | ||
|
||
git add . | ||
git commit -a -m 'release: Publish changes to master' | ||
git push | ||
git checkout master | ||
git pull | ||
git merge develop | ||
git push | ||
git checkout develop | ||
|
||
yq -i eval-all '. as $item ireduce ({}; . * $item)' ${SCRIPT_DIR}/.latest-versions.yml ${SCRIPT_DIR}/ansible/roles/software/vars/main.yml | ||
|
||
git add . | ||
git commit -a -m 'release: Set latest version for development' | ||
git push |