Skip to content

Commit

Permalink
Update for 2409 - Docs (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
gusztavvargadr authored Nov 22, 2024
1 parent c246f94 commit 6e42b87
Show file tree
Hide file tree
Showing 24 changed files with 92 additions and 175 deletions.
10 changes: 5 additions & 5 deletions .azure-pipelines/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
displayName: Init
- script: |
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target restore --exclusive
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target restore
displayName: Restore
- ${{ if eq(parameters.build, 'native') }}:
Expand All @@ -78,11 +78,11 @@ jobs:
displayName: Download artifacts

- script: |
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target build --exclusive
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target build
displayName: Build
- script: |
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target test --exclusive
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target test
displayName: Test
- publish: ./artifacts/${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }}
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
displayName: Download artifacts

- script: |
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target publish --exclusive
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target publish
displayName: Publish
env:
VAGRANT_CLOUD_TOKEN: $(vagrant-cloud-token)
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
displayName: Init
- script: |
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target download --exclusive
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target download
displayName: Download
- script: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ This repository contains [Packer] templates for building Windows and Ubuntu imag

## Overview

Ready-to-use [Vagrant] boxes built using this repository are published on [Vagrant Cloud][VagrantCloudBoxes].
Ready-to-use [Vagrant] boxes built using this repository are published to the [HCP Vagrant Registry][VagrantBoxes].

See the [documentation][DocumentationOverview] for more details on the available images for [Hyper-V], [VirtualBox] and [VMware].

[VagrantCloudBoxes]: https://app.vagrantup.com/gusztavvargadr
[VagrantBoxes]: https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr

[DocumentationOverview]: ./samples/README.md#overview

Expand Down
8 changes: 3 additions & 5 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,26 @@ Task("init")
});

Task("restore")
.IsDependentOn("init")
.Does(() => {
PackerBuild("restore");
});

Task("build")
.IsDependentOn("restore")
.Does(() => {
PackerBuild("build");
});

Task("test")
.IsDependentOn("build")
.Does(() => {
PackerBuild("test");
});

Task("publish")
.IsDependentOn("test")
.Does(() => {
PackerBuild("publish");
});

Task("download")
.IsDependentOn("publish")
.Does(() => {
PackerBuild("download");
});
Expand All @@ -57,6 +52,9 @@ Task("clean")
});

Task("default")
.IsDependentOn("init")
.IsDependentOn("restore")
.IsDependentOn("build")
.IsDependentOn("test");

RunTarget(target);
Expand Down
2 changes: 1 addition & 1 deletion samples/docker-linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See the links below for the details of the available images:

## Community Ubuntu Server

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/docker-community-ubuntu-server) | [Vagrant alias](https://app.vagrantup.com/gusztavvargadr/boxes/docker-linux)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/docker-community-ubuntu-server) | [Vagrant alias](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/docker-linux)

The template has the following settings:

Expand Down
4 changes: 2 additions & 2 deletions samples/docker-windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See the links below for the details of the available images:

## Community Windows Server

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/docker-community-windows-server) | [Vagrant alias](https://app.vagrantup.com/gusztavvargadr/boxes/docker-windows)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/docker-community-windows-server) | [Vagrant alias](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/docker-windows)

The template has the following settings:

Expand All @@ -20,7 +20,7 @@ The template has the following settings:

## Community Windows Server Core

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/docker-community-windows-server-core)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/docker-community-windows-server-core)

The template has the following settings:

Expand Down
4 changes: 2 additions & 2 deletions samples/iis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See the links below for the details of the available images:

## Windows Server

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/iis-windows-server) | [Vagrant alias](https://app.vagrantup.com/gusztavvargadr/boxes/iis)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/iis-windows-server) | [Vagrant alias](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/iis)

The template has the following settings:

Expand All @@ -22,7 +22,7 @@ The template has the following settings:

## Windows Server Core

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/iis-windows-server-core)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/iis-windows-server-core)

The template has the following settings:

Expand Down
2 changes: 0 additions & 2 deletions samples/iis/images.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
images = {
"windows-server" = {
core = {
image_name = "iis/windows-server"
image_description = "IIS on Windows Server"
image_version = "2102.0"
}
Expand All @@ -18,7 +17,6 @@ images = {

"windows-server-core" = {
core = {
image_name = "iis/windows-server-core"
image_description = "IIS on Windows Server Core"
image_version = "2102.0"
}
Expand Down
4 changes: 2 additions & 2 deletions samples/kitchen-ubuntu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See the links below for the details of the available images:

## 2404

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/kitchen-ubuntu-2404)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/kitchen-ubuntu-2404)

The template has the following settings:

Expand All @@ -20,7 +20,7 @@ The template has the following settings:

## 2204

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/kitchen-ubuntu-2204)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/kitchen-ubuntu-2204)

The template has the following settings:

Expand Down
2 changes: 1 addition & 1 deletion samples/kitchen-windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See the links below for the details of the available images:

## 2022

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/kitchen-windows-2022)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/kitchen-windows-2022)

The template has the following settings:

Expand Down
4 changes: 2 additions & 2 deletions samples/sql-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See the links below for the details of the available images:

## 2019 Developer Windows Server

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/sql-server-2019-developer-windows-server) | [Vagrant alias](https://app.vagrantup.com/gusztavvargadr/boxes/sql-server)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/sql-server-2019-developer-windows-server) | [Vagrant alias](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/sql-server)

The template has the following settings:

Expand All @@ -25,7 +25,7 @@ The template has the following settings:

## 2019 Developer Windows Server Core

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/sql-server-2019-developer-windows-server-core)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/sql-server-2019-developer-windows-server-core)

The template has the following settings:

Expand Down
2 changes: 0 additions & 2 deletions samples/sql-server/images.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
images = {
"2019-developer-windows-server" = {
core = {
image_name = "sql-server/2019-developer-windows-server"
image_description = "SQL Server 2019 Developer on Windows Server"
image_version = "2019.2102"
}
Expand All @@ -20,7 +19,6 @@ images = {

"2019-developer-windows-server-core" = {
core = {
image_name = "sql-server/2019-developer-windows-server-core"
image_description = "SQL Server 2019 Developer on Windows Server Core"
image_version = "2019.2102"
}
Expand Down
12 changes: 6 additions & 6 deletions samples/ubuntu-desktop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ See the links below for the details of the available images:

## 24.04 LTS Ubuntu

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-desktop-2404-lts) | [Vagrant alias](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-desktop)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/ubuntu-desktop-2404-lts) | [Vagrant alias](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/ubuntu-desktop)

The template has the following settings:

Expand All @@ -28,7 +28,7 @@ The template has the following settings:

## 24.04 LTS Xubuntu

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/xubuntu-desktop-2404-lts)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/xubuntu-desktop-2404-lts)

The template has the following settings:

Expand All @@ -41,7 +41,7 @@ The template has the following settings:

## 22.04 LTS Ubuntu

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-desktop-2204-lts)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/ubuntu-desktop-2204-lts)

The template has the following settings:

Expand All @@ -52,7 +52,7 @@ The template has the following settings:

## 22.04 LTS Xubuntu

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/xubuntu-desktop-2204-lts)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/xubuntu-desktop-2204-lts)

The template has the following settings:

Expand All @@ -63,7 +63,7 @@ The template has the following settings:

## 20.04 LTS Ubuntu

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-desktop-2004-lts)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/ubuntu-desktop-2004-lts)

The template has the following settings:

Expand All @@ -74,7 +74,7 @@ The template has the following settings:

## 20.04 LTS Xubuntu

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-desktop-2004-lts-xfce)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/ubuntu-desktop-2004-lts-xfce)

The template has the following settings:

Expand Down
5 changes: 0 additions & 5 deletions samples/ubuntu-desktop/images.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
images = {
"2404-lts-ubuntu" = {
core = {
image_name = "ubuntu-desktop/2404-lts-ubuntu"
image_description = "Ubuntu Desktop 24.04 LTS"
image_version = "2404.0"
}
Expand Down Expand Up @@ -32,7 +31,6 @@ images = {

"2404-lts-xubuntu" = {
core = {
image_name = "ubuntu-desktop/2404-lts-xubuntu"
image_description = "Xubuntu Desktop 24.04 LTS"
image_version = "2404.0"
}
Expand Down Expand Up @@ -62,7 +60,6 @@ images = {

"2204-lts-ubuntu" = {
core = {
image_name = "ubuntu-desktop/2204-lts-ubuntu"
image_description = "Ubuntu Desktop 22.04 LTS"
image_version = "2204.0"
}
Expand All @@ -82,7 +79,6 @@ images = {

"2204-lts-xubuntu" = {
core = {
image_name = "ubuntu-desktop/2204-lts-xubuntu"
image_description = "Xubuntu Desktop 22.04 LTS"
image_version = "2204.0"
}
Expand All @@ -102,7 +98,6 @@ images = {

"2004-lts-ubuntu" = {
core = {
image_name = "ubuntu-desktop/2004-lts-ubuntu"
image_description = "Ubuntu Desktop 20.04 LTS"
image_version = "2004.0"
}
Expand Down
6 changes: 3 additions & 3 deletions samples/ubuntu-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ See the links below for the details of the available images:

## 24.04 LTS

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-server-2404-lts) | [Vagrant alias](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-server)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/ubuntu-server-2404-lts) | [Vagrant alias](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/ubuntu-server)

The template has the following settings:

Expand All @@ -25,7 +25,7 @@ The template has the following settings:

## 22.04 LTS

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-server-2204-lts)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/ubuntu-server-2204-lts)

The template has the following settings:

Expand All @@ -38,7 +38,7 @@ The template has the following settings:

## 20.04 LTS

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-server-2004-lts)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/ubuntu-server-2004-lts)

The template has the following settings:

Expand Down
8 changes: 4 additions & 4 deletions samples/visual-studio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See the links below for the details of the available images:

## 2022 Community Windows 11

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/visual-studio-2022-community-windows-11) | [Vagrant alias](https://app.vagrantup.com/gusztavvargadr/boxes/visual-studio)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/visual-studio-2022-community-windows-11) | [Vagrant alias](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/visual-studio)

The template has the following settings:

Expand All @@ -31,7 +31,7 @@ The template has the following settings:

## 2022 Community Windows 10

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/visual-studio-2022-community-windows-10)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/visual-studio-2022-community-windows-10)

The template has the following settings:

Expand All @@ -51,7 +51,7 @@ The template has the following settings:

**This template is ~~deprecated~~. Please use one of the other templates.**

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/visual-studio-2019-community-windows-11)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/visual-studio-2019-community-windows-11)

The template has the following settings:

Expand All @@ -71,7 +71,7 @@ The template has the following settings:

**This template is ~~deprecated~~. Please use one of the other templates.**

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/visual-studio-2019-community-windows-10)
[Vagrant box](https://portal.cloud.hashicorp.com/vagrant/discover/gusztavvargadr/visual-studio-2019-community-windows-10)

The template has the following settings:

Expand Down
2 changes: 0 additions & 2 deletions samples/visual-studio/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ Vagrant.configure("2") do |config|
config_vm_define config, "2022-community-windows-11", "visual-studio-2022-community-windows-11"
config_vm_define config, "2022-community-windows-11-alias", "visual-studio"
config_vm_define config, "2022-community-windows-10", "visual-studio-2022-community-windows-10"
config_vm_define config, "2019-community-windows-11", "visual-studio-2019-community-windows-11"
config_vm_define config, "2019-community-windows-10", "visual-studio-2019-community-windows-10"

config.vm.provision "shell", inline: <<-EOH
cmd /c ver
Expand Down
8 changes: 0 additions & 8 deletions samples/visual-studio/attributes.2019-community.json

This file was deleted.

Loading

0 comments on commit 6e42b87

Please sign in to comment.