Skip to content

Move a couple of problematic images to the new system that doesn't query tags #453

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 2 commits into from
Jul 7, 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
4 changes: 2 additions & 2 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ update_configs:
update_schedule: "weekly"

- package_manager: "docker"
directory: "/release/preview/alpine311/dependabot"
directory: "/release/preview/alpine311/docker"
update_schedule: "weekly"

- package_manager: "docker"
Expand All @@ -24,7 +24,7 @@ update_configs:
update_schedule: "weekly"

- package_manager: "docker"
directory: "/release/preview/fedora/dependabot"
directory: "/release/preview/fedora/docker"
update_schedule: "weekly"

- package_manager: "docker"
Expand Down
7 changes: 2 additions & 5 deletions release/preview/arm32v7/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

ARG fromTag=bionic
ARG imageRepo=arm32v7/ubuntu

FROM ${imageRepo}:${fromTag} AS installer-env
FROM arm32v7/ubuntu:bionic AS installer-env

ARG PS_VERSION=6.2.3
ENV PS_PACKAGE=powershell-${PS_VERSION}-linux-arm32.tar.gz
Expand Down Expand Up @@ -39,7 +36,7 @@ RUN ls -l /tmp/powershell.tar.gz
# Unzip the Linux tar.gz
RUN tar zxf /tmp/powershell.tar.gz -C ${PS_INSTALL_FOLDER}

FROM ${imageRepo}:${fromTag} AS final-image
FROM arm32v7/ubuntu:bionic AS final-image

# Define Args and Env needed to create links
ARG PS_INSTALL_VERSION=7-preview
Expand Down
14 changes: 0 additions & 14 deletions release/preview/arm32v7/getLatestTag.ps1

This file was deleted.

3 changes: 3 additions & 0 deletions release/preview/arm32v7/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"#psversion#-arm32v7-ubuntu-#tag#",
"preview-arm32v7-ubuntu-#shorttag#"
],
"shortTags": [
{"Tag": "bionic"}
],
"TestProperties": {
"size": 550,
"Arm32": true
Expand Down
6 changes: 0 additions & 6 deletions release/preview/fedora/dependabot/Dockerfile

This file was deleted.

9 changes: 3 additions & 6 deletions release/preview/fedora/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
# Docker image file that describes Fedora 28 image with PowerShell installed from Microsoft YUM Repo
ARG fromTag=28
ARG imageRepo=fedora
# Docker image file that describes Fedora 31 image with PowerShell installed from Microsoft YUM Repo

FROM ${imageRepo}:${fromTag} AS installer-env
FROM fedora:31 AS installer-env

ARG PS_VERSION=7.0.0-preview.1
ARG PACKAGE_VERSION=7.0.0_preview.1
ARG PS_PACKAGE=powershell-preview-${PACKAGE_VERSION}-1.rhel.7.x86_64.rpm
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/${PS_PACKAGE}

ARG fromTag=28

# Define ENVs for Localization/Globalization
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
LC_ALL=en_US.UTF-8 \
LANG=en_US.UTF-8 \
# set a fixed location for the Module analysis cache
PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Fedora-${fromTag}
POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Fedora-31

# Install dependencies and clean up
RUN curl -sSL ${PS_PACKAGE_URL} -o /tmp/powershell.rpm \
Expand Down
14 changes: 0 additions & 14 deletions release/preview/fedora/getLatestTag.ps1

This file was deleted.

5 changes: 4 additions & 1 deletion release/preview/fedora/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
"IsLinux" : true,
"UseLinuxVersion": false,
"PackageFormat": "powershell${previewTag}-${PS_VERSION}-1.rhel.7.x86_64.rpm",
"osVersion": "Fedora",
"osVersion": "Fedora 31",
"SkipGssNtlmSspTests": false,
"tagTemplates": [
"#psversion#-fedora-#tag#",
"preview-fedora-#shorttag#"
],
"shortTags": [
{"Tag": "31"}
],
"SubImage": "test-deps",
"TestProperties": {
"size": 632
Expand Down
2 changes: 1 addition & 1 deletion release/preview/fedora/test-deps/meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"IsLinux" : true,
"UseLinuxVersion": false,
"osVersion": "Fedora ${fromTag}",
"osVersion": "Fedora 31",
"SkipGssNtlmSspTests": false,
"tagTemplates": [
"#tag#"
Expand Down