Commit Graph

86 Commits

Author SHA1 Message Date
Mikhail Koliada
e4d58452f4 [Ubuntu] Rework podman and tools installation (#5580) 2022-05-20 16:40:31 +03:00
Aleksandr Chebotov
c93738bd53 Replace client_secret to client_cert_path (#5579) 2022-05-20 13:51:55 +03:00
Aleksandr Chebotov
9d80842cc3 [Ubuntu] Add Ubuntu Server 22.04 LTS template (#5454) 2022-05-02 11:46:10 +03:00
Mikhail Koliada
97368aa175 [Ubuntu] put snap.sh upper environment cleanup (#4847) 2022-01-09 11:40:39 +03:00
Mikhail Timofeev
986530d6bb Skip linter-check for readmes (#4794)
* Exclude readmes from the linter
* Add env variable with exclusion to the linter yml
* Rename Ubuntu readmes to correspond with the other images
* Remove trailing space in ubuntu software generator
* Rename Ubuntu1804-README.md to Ubuntu1804-Readme.md
* Rename Ubuntu2004-README.md to Ubuntu2004-Readme.md
2021-12-22 17:34:53 +03:00
Mikhail Koliada
d2c5a46fcf [Ubuntu] put snapd auto refresh on hold (#4768) 2021-12-19 17:19:29 +03:00
Dibir Magomedsaygitov
2d46e3f4d9 [Ubuntu] Remove Ubuntu16 related code from the VE repository (#4336) 2021-10-26 15:30:59 +03:00
mikhailshaganov
966395f4bd [Ubuntu] Add kotlin (#3755) 2021-07-22 11:31:30 +03:00
Yann Jouanique
5161c257a2 [ubuntu] Install yq (#3646) 2021-07-15 12:21:48 +03:00
Hai Cao
7fe7393aa2 [Ubuntu] Add SqlPackage (#3700)
* [Ubuntu] Add SqlPackage

* Address comments
2021-07-12 10:59:56 +03:00
Marcus Felling
dd399bcab4 [Ubuntu] Adding Bicep CLI (#3639)
* Add Bicep CLI to Ubuntu images

* Use helper download_with_retries

* remove bicep from deprecated 16.04 image

* formatting

Co-authored-by: Marcus Felling <MarcusFelling@microsoft.com>
2021-06-24 11:13:00 +03:00
Aleksandr Chebotov
769423b171 Add build_resource_group_name packer option (#3369) 2021-05-13 10:19:34 +03:00
Daniel
f109d39c83 Securing packer builds via allowed_inbound_ip_addresses (#3193)
* Trying to handover additional parameters

* Make restriction to agent ip configurable

* Added additional parameter to all other packer files

* Added note about new parameter's incompatibility with other parameters to command line help

* Added line break for better readability

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2021-05-04 11:39:55 +03:00
Aleksandr Chebotov
436d9baa95 [Ubuntu] use pipx to install ansible (#3015)
* use pipx to install ansible

* update info
2021-03-25 12:40:36 +03:00
Mikhail Timofeev
ae358d64c7 Revert "[windows, ubuntu] v2 gen sizes (#2736)" (#2747) 2021-02-18 10:52:09 +03:00
Mikhail Timofeev
676f565d7b [windows, ubuntu] v2 gen sizes (#2736) 2021-02-17 16:50:40 +03:00
Dibir Magomedsaygitov
395127da8f [Ubuntu] Fix Netlify installation, move its and vercel's installation to Nodejs.sh (#2666)
* fix netlify installation

* debug

* resolve comments

* small fix
2021-02-09 18:57:05 +03:00
Shivam Mathur
212431cc79 [ubuntu] Add Apache and Nginx (#2516)
* [ubuntu] Add apache and nginx (#2501)

* Use dpkg-query to get nginx version

* Fix flaky apache cli test
2021-01-29 18:52:46 +03:00
Hutson Betts
46e0c05e7e [ubuntu] feat(docker): authenticate using DockerHub credentials (#2548)
Ubuntu builds, by default, pull images anonymously from the
official DockerHub. DockerHub rate limits requests from
anonymous and unpaid accounts:
- https://docs.docker.com/docker-hub/download-rate-limit/

When those rate limits are reached the Packer build will
fail with an error indicated the rate limit has been
reached.

Add support for providing credentials for a paid
account that can be used by the Docker setup steps to
authenticate when pulling images from DockerHub, thereby
avoiding the rate limit.

Related to #2094
2021-01-28 13:31:45 +03:00
Nikita Bykov
b42d8566f9 Add GraalVM Community Edition & GraalVM Native Image (#2330)
* added graalvm

* added native-image and updated SoftwareReport

* rework GraalVM installation

* fixed graalvm installation

* Updated SoftwareReport.Generator

* updated graalvm.sh

* fixed graalvm.sh

* fixed graalvm.sh

* removed rm command

* resolved comments

* fixed softwarereport for GraalVM

* added invoke_tests for graalvm

* fixed tests for graalvm

* fixed GraalVM tests and SoftwareReport

* added source  etc-environment.sh to graalvm.sh

* fixed GraalVM tests

* resolved comments

* fixed graalVM SoftwareReport

* added GRAALVM_11_ROOT variable

* fixed comment for env variable

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-01-13 10:45:39 +03:00
Mikhail Timofeev
31c97aac43 [Ubuntu] Get rid of simple apt-get provisioners (#2376)
* move 7z installation to basic.sh

* remove build essential

* move imagemagick to apt

* move subversion to apt

* move subversion to apt

* move sphinxsearch to apt

* move swig to apt

* move pollinate to apt

* move haveged to apt

* add p7zip to ubuntu 16
2021-01-11 10:42:58 +03:00
Vladimir Safonkin
0ae118c6ae [Ubuntu] Create symlink for Pester test running (#2349)
* Create symlink for test running

* Fix 1604 and 2004 templates

* Fix php and haskell running

* Minor fix

* Fix new added tests

* Fix symlink

* Minor fix

* Fix script permissions

* Minor fix

* Fix firefox and rust tests

* Fix new merged tests
2020-12-30 09:57:11 +03:00
Vladimir Safonkin
0a768b0726 [Ubuntu] Migrate tests to Pester (#2340)
* Add Pester tests

* Fix incorrect merging

* Remove swift test from installing script

* Minor fix

* Remove Haskell tests from commons tests

* Fix selenium test

* Fix SVN test

* Fix pipx tests

* Debug

* Fix pipx packages test

* Skip pipx for 16.04
2020-12-29 10:02:46 +03:00
Dibir Magomedsaygitov
f58f2c1e02 [Ubuntu] Migrate Toolset tests to Pester (#2339)
* migrate toolset tests to pester

* move test invocation

* minor fixes
2020-12-28 15:07:00 +03:00
Mikhail Timofeev
64c9751269 [Ubuntu] Migrate tests for common tools to Pester (part 3) (#2337)
* add test for Git

* Add Heroku

* Add hhvm

* Add Homebrew

* Add Julia

* Add kind

* Add Kubernetes Tools

* Remove kind and homebrew validate

* replace capital letter

* Add Leiningen

* add source to Leiningen

* Add Mercurial

* Add conda

* Add Netlify

* Add packer

* Add pollinate

* Add Pulumi

* Add Phantomjs

* Add Haveged

* Fix for kubectl

* Fix julia installation

* Add installer_script_folder env variable to run tests in brew provisioner

* Add delay after reboot

* Adjust pause settings
2020-12-25 18:03:35 +03:00
Aleksandr Chebotov
c86fcd37ee [ubuntu] remove stale go params (#2342) 2020-12-24 18:34:59 +03:00
Aleksandr Chebotov
ac87b63b13 [Ubuntu] Migrate PowerShell and Docker tests to Pester (#2317)
* PowerShell and Docker Pester tests

* no pester module

* import pester

* invoke docker with sudo

* remove native test

* add fix for az 1.0.0 module

* revert powershellget installation

* revert flag Force

* add $ProgressPreference = "SilentlyContinue"
2020-12-23 15:18:48 +03:00
Mikhail Timofeev
b6b55afeaa [ubuntu] change to Standard_D4s_v4 (#2298) 2020-12-19 15:13:59 +03:00
Dibir Magomedsaygitov
2b93b03377 [Ubuntu] Implement first Pester tests (#2270)
* implement first pester tests

* add comment for azcopy test

* remove extra importing and old function

* resolve comments

* fix typo
2020-12-17 09:52:09 +03:00
Darii Nurgaleev
261d2e0154 [Ubuntu20] remove reboot from packer json. (#2165) 2020-12-03 08:30:41 +03:00
Dibir Magomedsaygitov
38b0a6005d [Ubuntu] Pre-cache Ruby binaries (#2084)
* precache ruby binaries

* remove github_feed_token

* fix logs
2020-11-27 10:52:00 +03:00
Sergey Dolin
1424801fba [ubuntu] fix sporadic build fails (#2091)
* fix apt-get update

* Improve diagnostic

* handle "IPC connect call failed"

* Handle not-existing tool

* final refactoring

* remove todo

* remove which
2020-11-25 11:19:51 +03:00
Vladimir Safonkin
7dae76249b [ubuntu][windows] Remove announcements from generation (#2063) 2020-11-17 10:20:55 +03:00
Vladimir Safonkin
a454d66e7f [Ubuntu] Add MS SQL Tools version (#2046)
* Add MS SQL Tools version

* Minor fix

* Move MS SQL tools installation to separated file

* Minor fix

* accept yula
2020-11-17 10:18:27 +03:00
Aleksandr Chebotov
ad583eba90 add reboot for Ubuntu20 2020-11-05 15:53:49 +03:00
Sergey Dolin
cab74c1ab9 investigate failed 1604 build 2020-10-30 01:01:35 +05:00
Sergey Dolin
4419d31ea7 add apt-mock-remove script 2020-10-30 01:01:35 +05:00
Sergey Dolin
82e4ec4a0a Add verbose versions of apt 2020-10-30 01:01:34 +05:00
Iain Rauch
6e05e471c7 Match ubuntu2004 with 16 & 18. 2020-10-14 13:40:18 +01:00
Leonid Lapshin
ed38c86cbb Move linux provision scripts to virtual-environments (#1714)
* add linux-related scripts from MMS provisioner

* removed EOL

* removed Ubuntu condition

* moved PATH checking to cleanup section

* add clarification for cgroups names

* names alignment

* removed memory-configuration and agent specific scripts

* renamed folder to psot-generation, added template instructions

* moved key import to git installation

* moved PATH check to post-deployment instead of cleanup script

* add scripts

* output tests file

* add startup logic

* add powershell module for furute helpers

* removed unused modules

* copy to tmp folder because of permissions, copy to opt on post-generation step

* removed Pester test

* change post-generation location

* incorrect if statement

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-10-12 17:44:31 +03:00
Vladimir Safonkin
08f157956f Move list of pipx packages into toolset 2020-10-05 12:04:29 +03:00
Vladimir Safonkin
a11c9fff08 Fix templates 2020-10-04 14:51:46 +03:00
Vladimir Safonkin
6d325ba398 Add pipx and yamllint to report 2020-10-02 11:23:02 +03:00
Maxim Lobanov
e1bd620104 Merge pull request #1635 from hutson/refactor/formatting
refactor: auto format JSON using VSC
2020-09-27 13:26:25 +03:00
Maxim Lobanov
43d9476a37 Merge branch 'main' into refactor/formatting 2020-09-23 17:54:49 +03:00
Chris Gavin
251164c90e Merge main into install-codeql-bundle. 2020-09-23 12:39:57 +01:00
Aleksandr Chebotov
fe9f74e51e rm helper and installer folder in post-deployment 2020-09-22 13:55:21 +03:00
Hutson Betts
42827c5d7f refactor: auto format JSON using VSC 2020-09-21 13:24:05 -05:00
Aleksandr Chebotov
d4335cc52e set chmod -R 777 /opt 2020-09-21 11:18:28 +03:00
Chris Gavin
3243c81039 Merge main into install-codeql-bundle. 2020-09-19 13:52:56 +01:00