Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 25beedcf authored by Jean-François HOVINNE's avatar Jean-François HOVINNE
Browse files

chore: Remove Ubuntu 18.04 support (fixes #29)

parent 622c1d9b
No related branches found
No related tags found
1 merge request!22chore: Remove Ubuntu 18.04 support (fixes #29)
---
# Based on ansible-lint config
extends: default
rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation: disable
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
truthy: disable
# Releases
## 2.0.x
- Ubuntu 18.04 LTS support removed.
## 1.3.x
- tflint v0.50.x, includes breaking changes, see upstream release notes.
......
---
terraform_tflint_install: True
terraform_tflint_install: true
terraform_tflint_version: 0.50.3
terraform_tflint_url: "https://github.com/terraform-linters/tflint/releases/download/v{{ terraform_tflint_version }}/tflint_linux_amd64.zip"
terraform_tflint_checksum: "sha256:70d66470f161ed48e6da0c58dc61787eced1ebd02397618424b8a55ff67f465f"
terraform_tflint_install_basedir: "/opt/tflint"
terraform_tflint_install_path: "{{ terraform_tflint_install_basedir }}/{{ terraform_tflint_version }}"
terraform_tflint_bin: "/usr/local/bin/tflint"
terraform_tflint_remove_previous_versions: False
terraform_tflint_remove_previous_versions: false
terraform_tfsec_install: True
terraform_tfsec_install: true
terraform_tfsec_version: 1.28.5
terraform_tfsec_url: "https://github.com/aquasecurity/tfsec/releases/download/v{{ terraform_tfsec_version }}/tfsec-linux-amd64"
terraform_tfsec_checksum: "sha256:d3171e41cbe1248c5d922a8a996a68693b253bcc1e03dbe126ce890d965c769c"
terraform_tfsec_install_basedir: "/opt/tfsec"
terraform_tfsec_install_path: "{{ terraform_tfsec_install_basedir }}/{{ terraform_tfsec_version }}"
terraform_tfsec_bin: "/usr/local/bin/tfsec"
terraform_tfsec_remove_previous_versions: False
terraform_tfsec_remove_previous_versions: false
......@@ -15,7 +15,6 @@ galaxy_info:
- "8"
- name: Ubuntu
versions:
- bionic
- focal
- jammy
galaxy_tags:
......
......@@ -25,13 +25,6 @@ platforms:
http_proxy: "${http_proxy}"
https_proxy: "${https_proxy}"
no_proxy: "${no_proxy}"
- name: ubuntu1804-${CI_JOB_ID:-0}
image: code.europa.eu:4567/ecgalaxy/ubuntu1804-ansible:latest
pre_build_image: true
environment:
http_proxy: "${http_proxy}"
https_proxy: "${https_proxy}"
no_proxy: "${no_proxy}"
- name: ubuntu2004-${CI_JOB_ID:-0}
image: code.europa.eu:4567/ecgalaxy/ubuntu2004-ansible:latest
pre_build_image: true
......
......@@ -3,14 +3,14 @@
ansible.builtin.file:
path: "{{ terraform_tflint_install_basedir }}"
state: absent
become: yes
become: true
when: terraform_tflint_remove_previous_versions
- name: Remove previous tfsec version
ansible.builtin.file:
path: "{{ terraform_tfsec_install_basedir }}"
state: absent
become: yes
become: true
when: terraform_tfsec_remove_previous_versions
- name: Download tflint
......@@ -18,10 +18,10 @@
dest: /tmp
url: "{{ terraform_tflint_url }}"
checksum: "{{ terraform_tflint_checksum }}"
mode: 0755
mode: "u=rwx,go=rx"
register: tflint_download
when: terraform_tflint_install
changed_when: False
changed_when: false
- name: Create tflint installation dir
ansible.builtin.file:
......@@ -36,7 +36,7 @@
ansible.builtin.unarchive:
src: "{{ tflint_download.dest }}"
dest: "{{ terraform_tflint_install_path }}"
remote_src: yes
remote_src: true
when: terraform_tflint_install
become: true
......@@ -64,7 +64,7 @@
dest: "{{ terraform_tfsec_install_path }}/tfsec"
url: "{{ terraform_tfsec_url }}"
checksum: "{{ terraform_tfsec_checksum }}"
mode: 0755
mode: "u=rwx,go=rx"
register: tfsec_download
when: terraform_tfsec_install
become: true
......@@ -85,4 +85,4 @@
state: absent
with_items:
- "{{ tflint_download.dest }}"
changed_when: False
changed_when: false
......@@ -38,7 +38,7 @@
state: present
baseurl: "{{ hashicorp_repository }}/{{ hashicorp_rpm_family }}/$releasever/$basearch/stable"
gpgkey: "{{ hashicorp_repository }}/gpg"
gpgcheck: yes
gpgcheck: true
become: true
when: ansible_os_family == 'RedHat'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment