Skip to content

3.11.2 on stable #2669

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

Merged
merged 9 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ permalink: /docs/en-US/changelog/

# Changelog

## 3.11.2 ( 2023 May 8th )

### Enhancements

* Added Gitlab SSH fingerprints for non-RSA keys ( #2665 )
* Apt sources for Ubuntu 22 LTS

### Bug Fixes

* Updated to the new GitHub RSA fingerprint ( #2665 )


## 3.11.0 ( 2023 March 14th )

### Enhancements
Expand Down
20 changes: 11 additions & 9 deletions provision/core/env/provision.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -eo pipefail

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

# @description Adds the homebin folder to PATH
# @noargs
function setup_vvv_env() {
Expand Down Expand Up @@ -60,7 +62,7 @@ function cleanup_terminal_splash() {
if [[ -f /etc/update-motd.d/00-vvv-bash-splash ]]; then
rm /etc/update-motd.d/00-vvv-bash-splash
fi
cp -f "/srv/provision/core/env/motd/00-vvv-bash-splash" "/etc/update-motd.d/00-vvv-bash-splash"
cp -f "${DIR}/motd/00-vvv-bash-splash" "/etc/update-motd.d/00-vvv-bash-splash"
chmod +x /etc/update-motd.d/00-vvv-bash-splash
}

Expand All @@ -71,26 +73,26 @@ function profile_setup() {

# Copy custom dotfiles and bin file for the vagrant user from local
rm -f "/home/vagrant/.bash_profile"
noroot cp -f "/srv/provision/core/env/homedir/.bash_profile" "/home/vagrant/.bash_profile"
noroot cp -f "${DIR}/homedir/.bash_profile" "/home/vagrant/.bash_profile"

rm -f "/home/vagrant/.bash_aliases"
noroot cp -f "/srv/provision/core/env/homedir/.bash_aliases" "/home/vagrant/.bash_aliases"
noroot cp -f "${DIR}/homedir/.bash_aliases" "/home/vagrant/.bash_aliases"

rm -f "${HOME}/.bash_aliases"
cp -f "/srv/provision/core/env/homedir/.bash_aliases" "${HOME}/.bash_aliases"
cp -f "${DIR}/homedir/.bash_aliases" "${HOME}/.bash_aliases"

rm -f "/home/vagrant/.vimrc"
noroot cp -f "/srv/provision/core/env/homedir/.vimrc" "/home/vagrant/.vimrc"
noroot cp -f "${DIR}/homedir/.vimrc" "/home/vagrant/.vimrc"

if [[ ! -d "/home/vagrant/.subversion" ]]; then
noroot mkdir -p "/home/vagrant/.subversion"
fi

rm -f /home/vagrant/.subversion/servers
noroot cp "/srv/provision/core/env/homedir/.subversion/subversion-servers" "/home/vagrant/.subversion/servers"
noroot cp "${DIR}/homedir/.subversion/subversion-servers" "/home/vagrant/.subversion/servers"

rm -f /home/vagrant/.subversion/config
noroot cp "/srv/provision/core/env/homedir/.subversion/subversion-config" "/home/vagrant/.subversion/config"
noroot cp "${DIR}/homedir/.subversion/subversion-config" "/home/vagrant/.subversion/config"

# If a bash_prompt file exists in the VVV config/ directory, copy to the VM.
if [[ -f "/srv/config/bash_prompt" ]]; then
Expand All @@ -99,8 +101,8 @@ function profile_setup() {
fi

if [ -d "/etc/ssh" ]; then
cp -f /srv/provision/core/env/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts
cp -f /srv/provision/core/env/ssh/sshd_config /etc/ssh/sshd_config
cp -f "${DIR}/ssh/ssh_known_hosts" /etc/ssh/ssh_known_hosts
cp -f "${DIR}/ssh/sshd_config" /etc/ssh/sshd_config
vvv_info " * Reloading SSH Daemon"
if ! sudo service ssh reload; then
vvv_error " ! SSH daemon failed to reload"
Expand Down
7 changes: 6 additions & 1 deletion provision/core/env/ssh/ssh_known_hosts
Original file line number Diff line number Diff line change
@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eukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==
3 changes: 3 additions & 0 deletions provision/core/git/sources-ubuntu-jammy.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# git lfs (large file storage plugin for git)
deb https://packagecloud.io/github/git-lfs/ubuntu/ jammy main
deb-src https://packagecloud.io/github/git-lfs/ubuntu/ jammy main
4 changes: 4 additions & 0 deletions provision/core/mariadb/sources-ubuntu-jammy.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# MariaDB 10.5 repository list - created UTC
# https://mariadb.org/download/
deb [arch=amd64,arm64,ppc64el,s390x] https://mirror.rackspace.com/mariadb/repo/10.5/ubuntu jammy main
deb-src https://mirror.rackspace.com/mariadb/repo/10.5/ubuntu jammy main
3 changes: 3 additions & 0 deletions provision/core/nginx/sources-ubuntu-jammy.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Provides Nginx mainline
deb https://nginx.org/packages/mainline/ubuntu/ jammy nginx
deb-src https://nginx.org/packages/mainline/ubuntu/ jammy nginx
3 changes: 3 additions & 0 deletions provision/core/node-ppa/sources-ubuntu-jammy.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Provides Node.js
deb http://deb.nodesource.com/node_14.x jammy main
deb-src http://deb.nodesource.com/node_14.x jammy main
3 changes: 3 additions & 0 deletions provision/core/php/sources-ubuntu-jammy.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Provides PHP
deb https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy main
deb-src https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy main
3 changes: 3 additions & 0 deletions provision/core/vvv/sources-ubuntu-jammy.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# VVV mirror packages
# deb https://ppa.launchpadcontent.net/varying-vagrant-vagrants/php/ubuntu jammy main
# deb-src https://ppa.launchpadcontent.net/varying-vagrant-vagrants/php/ubuntu jammy main
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11
3.11.2