Commit graph

121 commits

Author SHA1 Message Date
Andrew a5f283537a
Removed old not-used-anymore docker-based tests for PS release packages (#16224) 2021-10-15 10:46:36 -07:00
Steve Lee b7cb335f03
Update copyright notice to latest guidance (#12190) 2020-03-24 11:08:37 -07:00
xtqqczze 94a73caa41 Correct case of $IsWindows special variable 2020-01-13 19:27:21 +00:00
xtqqczze 62aee9356a Correct case of $PSScriptRoot special variable 2020-01-13 19:21:53 +00:00
Reece Dunham 9eb5587d07 Cleanup Docker release testing (#10310) 2019-08-06 14:17:15 -07:00
Reece Dunham 66e571b19f Improve release testing Docker images (#9942) 2019-06-20 10:16:45 -07:00
Travis Plunk e2bfced875
Update repo for Ubuntu 14.04 EOL (#9324)
Update repo for Ubuntu 14.04 EOL
  - also remove a missed instance of Fedora 27
2019-04-09 17:54:13 -07:00
Reece Dunham 6cdfc44184 Delete Docker manifest creation script (#9076) 2019-03-11 14:38:38 -07:00
Reece Dunham f5b965ee0f Update Docker README (#9010) 2019-03-08 13:28:26 -08:00
Reece Dunham 21c249dac2 Remove archlinux dockerfile (#8990) 2019-02-27 14:53:55 -08:00
Andrew cec4557932 moved fxdependent-dotnetsdk-latest/Dockerfile (#8738) 2019-01-28 15:54:58 -08:00
Andrew 3bf8d34f58 Package validation tests updates (#8714) 2019-01-22 17:09:39 -08:00
Travis Plunk f1218bd3d9
Remove Debian 8 references as it is EOL (#8678)
Remove Debian 8 references as it is EOL
2019-01-17 16:30:39 -08:00
Aditya Patwardhan be4b82c730
Add function to create a framework dependent package dotnet-sdk containers (#8644) 2019-01-15 16:28:52 -08:00
Ryen Tang 570c18026d Remove AmazonLinux Dockerfile (#8271) 2018-11-15 10:04:59 -08:00
Andrew d098e6fd02 Adding fxdependent PS package tests (#7830) 2018-10-18 15:28:43 -07:00
Andrew dba6fc2921 Updates to Docker package tests (#7667) 2018-09-04 10:03:32 -07:00
Travis Plunk 80d2af8934
Cleanup Docker files (#7328)
* update docker read me to point to new repo
* remove unused files
2018-07-23 15:19:58 -07:00
Christoph Bergmeister fa544c33db Update links that contain 'en-us' culture (#7013)
Update links that contain 'en-us' culture to remove 'en-us' culture (if possible) and in some cases update to newer re-directed link to docs.microsoft.com
2018-06-08 10:49:03 +05:00
Jan Pazdziora ebc7cdf847 Make the build step fail when the curl operation fails. (#6961)
Without the pipefail, the step always succeeds and the layer gets
cached, resulting in confusion during the next step failing and
subsequent rebuild attempt.
2018-06-04 13:18:07 -07:00
Jan Pazdziora 3cb2424d8e Fix the double curly bracket typo. (#6960) 2018-06-04 12:22:10 -07:00
Travis Plunk 4af9f4edac
fix create docker manifest script to work with more complex tags and with repeated use (#6852)
fix create docker manifest script to work with more complex tags and with repeated use
- add characters to validation pattern
- purge manifest after pushing as there is no other way to delete the manifest.
2018-05-10 14:36:47 -07:00
Travis Plunk f33689b4cb
Update docker files to allow specifying pwsh and from image version (#6835)
Update docker files to allow specifying pwsh and from image version
- Also updated to install security updates when building images
2018-05-07 18:01:12 -07:00
Andrew e0ee13c699 Updates to fedora27 and kalilinux dockerfiles (#6819)
This PR addresses 2 issues:

fedora27 dockerfiles were missing compat-openssl10 prerequisite that on Linux-based Docker hosts produced error No usable version of the libssl was found during Restore-PSPester.
kalilinux PS package validation is failing because of open issue #5413 , so disabling this config for now.
2018-05-07 13:02:01 -07:00
Andrew 0e8665dfc0 Updated Docker package tests, fixed error on opensuse42 (#6783)
This PR addresses minor issues with PS-package docker tests.

Historically rpm package version string was different from other packages, however, this is no longer the case, so updating tests to account for that (to simplify things - removing RPM-version parameter from dockerfiles because it is no longer used).
Configs that use 'linux-x64.tar.gz' (currently only "opensuse42.2") are failing, so fixing that in the script.
2018-05-01 10:38:43 -07:00
Travis Plunk 768cfc4adf
Add script to create a container manifest (#6735)
Add script to create a container manifest
2018-04-26 10:03:53 -07:00
Andrew 9a061457f4 Update Dockerfile test to use ubuntu 17.10 as the base image (#6503) 2018-03-28 09:32:54 -07:00
Travis Plunk fcd6ddcfc7
Update version numbers to 6.0.2 (#6402)
* Add script to update the version number
* Update version to 6.0.2
2018-03-15 11:41:01 -07:00
William Easton bd441d7aca Cleanup after Powershell install for CentOS/Fedora Docker Images (#6264)
* Adding "yum clean all" to CentOS 7 Dockerfile reduces docker image size by 76MB

* Adding "dnf clean all" to Fedora Dockerfile reduces docker image size by 168MB
2018-03-01 11:54:49 -08:00
Travis Plunk fdc20c8a5d
use add instead of invoke web request in nanoserver docker file (#6255) 2018-02-26 18:10:29 -08:00
Andrew acf0dcdc6d Docker package test fix and updates (#6169) 2018-02-22 11:05:07 -08:00
Steve Lee c1c5344a88 Update copyright and license headers (#6134)
Based on standard practices, we need to have a copyright and license notice at the top of each source file. Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files.

Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation". Removed multiple line breaks.

Separate PR coming to update contribution document for new source files: #6140

Manually reviewed each change.

Fix #6073
2018-02-13 09:23:53 -08:00
Travis Plunk 3a33be87a7 Merge branch '6.0.1' into master
# Conflicts:
#	docker/release/fedora27/Dockerfile
#	docs/installation/linux.md
#	docs/installation/macos.md
#	tools/metadata.json
2018-01-25 16:35:25 -08:00
Travis Plunk e49a81fe00 tests: fix function to test for docker OS due to change to use linuxkit for mac (#5843)
* Also, fix syntax issues to allow to work with released Pester
2018-01-23 16:10:45 -08:00
Eli Uriegas 44793e306a Remove Fedora 25, Add Fedora 27 (#5984)
Fedora 25 was EOL on December 12, 2017

https://fedoramagazine.org/fedora-25-end-life/

Signed-off-by: Eli Uriegas eli.uriegas@docker.com
2018-01-23 15:42:58 -08:00
Dongbo Wang 4b09a93676
Update docs and scripts for PowerShell 6.0.1 release (#5938) 2018-01-18 15:07:43 -08:00
Travis Plunk a08f3241a3 Merge 6.0.0 into master
# Conflicts:
#	.github/Images/GitHub-PR.png
#	assets/Product.wxs
#	docs/installation/linux.md
#	docs/installation/macos.md
#	docs/installation/windows.md
#	test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1
#	tools/metadata.json
2018-01-10 17:42:41 -08:00
Travis Plunk 05ed03154d
tests: fix function to test for docker OS due to change to use linuxkit for mac (#5843)
* Also, fix syntax issues to allow to work with released Pester
2018-01-10 16:37:51 -08:00
Dongbo Wang c4cf1440dd
Update docs and scripts for PowerShell 6.0.0 GA release (#5837) 2018-01-09 15:57:38 -08:00
Andrew 690e968509 Update the docker based release package tests (#5692) 2017-12-19 11:21:40 -08:00
Andrew 57a4cfcac6 Update the docker based release package tests (#5692) 2017-12-15 13:59:12 -08:00
Travis Plunk 02cc3db3fb
Update scripts and documentation with RC.2 version (#5688) 2017-12-14 13:15:19 -08:00
Travis Plunk 4adaf731a4 Fix docker tests (#5508)
* update expected version
* update container list
2017-11-21 15:57:34 -08:00
Travis Plunk e110fe4093
update version regex for nanoserver docker (#5494) 2017-11-17 16:47:24 -08:00
Aditya Patwardhan 9e99d59621 Updated docs and scripts for rc release (#5481) 2017-11-17 09:09:28 -08:00
Andrew 06d3114763 Automation for PS package validation using Docker containers (#5401)
This automation is used for basic validation of PS packages during a release;
Covered configs:

ubuntu14.04
ubuntu16.04
ubuntu17.04
debian.8
debian.9
centos7
fedora25
fedora26
kalilinux
opensuse42.2
During the process Docker files are filled out and executed with Docker build;
During the build PS packages are downloaded onto Docker containers, installed and selected Pester tests from PowerShell Github repo are executed.
2017-11-13 10:25:09 -08:00
Travis Plunk 14af3e1297
update docker file for nanoserver 1709 release (#5252) 2017-10-27 11:57:21 -07:00
Steve Lee 4bc52d2358 Use consistent '(c)' for copyright symbol (#5210)
- Remove the year about copyright
- Fix casing of `All rights reserved`
- Replace Unicode characters representing single quote with a single quote
2017-10-26 14:12:19 -07:00
Aditya Patwardhan d0806811e4 Update docs and scripts for beta.9 (#5217) 2017-10-24 16:28:22 -07:00
Dongbo Wang 1f75e81e4c Update docker files and related due to the name change (#5156) 2017-10-23 12:33:07 -07:00