Skip to content
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

Reverse merge for v0.4 branch #988

Merged
merged 2 commits into from
Mar 11, 2020
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
7 changes: 7 additions & 0 deletions CHANGELOG-0.4.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog 0.4

## [0.4.3] 2020-03-xx

### Fixed

- [#966](https://github.com/epiphany-platform/epiphany/issues/966) - Ubuntu builds get stuck on task [repository : Create epirepo repository] waiting for user input
- [#839](https://github.com/epiphany-platform/epiphany/issues/839) - Add ServerAliveInterval option to keep SSH connection for long running tasks

## [0.4.2] 2019-11-20

### Added
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Reference for actual cluster component versions can be found [here](docs/home/CO

### 0.4.x

- [CHANGELOG-0.4.3](./CHANGELOG-0.4.md#043-2020-03-xx)
- [CHANGELOG-0.4.2](./CHANGELOG-0.4.md#042-2019-11-20)
- [CHANGELOG-0.4.1](./CHANGELOG-0.4.md#041-2019-10-17)
- [CHANGELOG-0.4.0](./CHANGELOG-0.4.md#040-2019-09-30)

## Older releases
Expand Down
2 changes: 1 addition & 1 deletion core/src/epicli/cli/version.txt.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.2
0.4.3
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ specification:
authorized_to_efs: false
mount_efs: false
tags:
- version: 0.4.2
- version: 0.4.3
size: t2.micro
os_full_name: "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190212.1"
os_type: linux
Expand Down Expand Up @@ -88,7 +88,7 @@ provider: aws
name: default-size-t3
specification:
tags:
- version: 0.4.2
- version: 0.4.3
size: t3.micro
os_type: linux
security:
Expand Down Expand Up @@ -120,7 +120,7 @@ provider: aws
name: rabbitmq-machine
specification:
tags:
- version: 0.4.2
- version: 0.4.3
size: t3.micro
os_type: linux
security:
Expand Down Expand Up @@ -192,7 +192,7 @@ provider: aws
name: load-balancer-machine
specification:
tags:
- version: 0.4.2
- version: 0.4.3
size: t3.micro
os_type: linux
security:
Expand Down
6 changes: 5 additions & 1 deletion core/src/epicli/data/common/ansible/ansible_inventory.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@
[all:vars]
ansible_user={{ cluster_model.specification.admin_user.name }}
ansible_ssh_private_key_file={{ cluster_model.specification.admin_user.key_path }}
# todo: settings of StrictHostKeyChecking from epiphany configuration
# --- SSH options ---
# todo: manage StrictHostKeyChecking from Epiphany configuration
# Always appended to the default command line for sftp, scp, and ssh
ansible_ssh_common_args='-o StrictHostKeyChecking=no'
# Always appended to the default ssh command line
ansible_ssh_extra_args='-o ServerAliveInterval=60 -o ServerAliveCountMax=1'
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@
- include_tasks: firewall/configure-fw.yml
tags: firewall

- name: Get environment variables
command: env
register: env_output
changed_when: false

- name: Print environment variables
debug: msg={{ env_output.stdout_lines }}
debug:
msg: "{{ ansible_env }}"

- name: Adjust swappiness parameter
sysctl:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@ if $IS_OFFLINE_MODE = true; then
echo "updating apt..."
apt -y update
else
# for online mode just install apache
apt -y install apache2 dpkg-dev
# for online mode just install apache (force non-interactive mode, ref: https://bugs.launchpad.net/ubuntu/+source/ansible/+bug/1833013)
DEBIAN_FRONTEND=noninteractive \
UCF_FORCE_CONFOLD=1 \
apt-get \
-o Dpkg::Options::=--force-confold \
-o Dpkg::Options::=--force-confdef \
-y -q install apache2 dpkg-dev

# -m is important because it allow same packages with different versions
# 'cd' is needed here becuase 'dpkg-scanpackages' prepends path to "Filename" field in Packages.gz
Expand Down
4 changes: 2 additions & 2 deletions core/src/epicli/data/common/validation/core/definitions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ provider:
version:
type: string
title: The Version Schema
default: '0.4.2'
default: '0.4.3'
examples:
- 0.4.2
- 0.4.3
pattern: ^((\d+\.)(\d+\.)(\d))$
unvalidated_specification:
type:
Expand Down