Skip to content

Commit

Permalink
Simplify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
slevenick committed Dec 21, 2022
1 parent 53af0b8 commit c18b98d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 801 deletions.

This file was deleted.

188 changes: 1 addition & 187 deletions tpgtools/api/osconfig/samples/fixed.os_policy_assignment.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,185 +25,6 @@
"name": "bazel"
}
}
},
{
"id": "deb1",
"pkg": {
"desiredState": "INSTALLED",
"deb": {
"source": {
"localPath": "$HOME/package.deb"
}
}
}
},
{
"id": "deb2",
"pkg": {
"desiredState": "INSTALLED",
"deb": {
"pullDeps": true,
"source": {
"allowInsecure": true,
"remote": {
"uri": "ftp.us.debian.org/debian/package.deb",
"sha256Checksum": "3bbfd1043cd7afdb78cf9afec36c0c5370d2fea98166537b4e67f3816f256025"
}
}
}
}
},
{
"id": "deb3",
"pkg": {
"desiredState": "INSTALLED",
"deb": {
"pullDeps": true,
"source": {
"gcs": {
"bucket": "test-bucket",
"object": "test-object",
"generation": 1
}
}
}
}
},
{
"id": "yum",
"pkg": {
"desiredState": "INSTALLED",
"yum": {
"name": "gstreamer-plugins-base-devel.x86_64"
}
}
},
{
"id": "zypper",
"pkg": {
"desiredState": "INSTALLED",
"zypper": {
"name": "gcc"
}
}
},
{
"id": "rpm1",
"pkg": {
"desiredState": "INSTALLED",
"rpm": {
"pullDeps": true,
"source": {
"localPath": "$HOME/package.rpm"
}
}
}
},
{
"id": "rpm2",
"pkg": {
"desiredState": "INSTALLED",
"rpm": {
"source": {
"allowInsecure": true,
"remote": {
"uri": "https://mirror.jaleco.com/centos/8.3.2011/BaseOS/x86_64/os/Packages/efi-filesystem-3-2.el8.noarch.rpm",
"sha256Checksum": "3bbfd1043cd7afdb78cf9afec36c0c5370d2fea98166537b4e67f3816f256025"
}
}
}
}
},
{
"id": "rpm3",
"pkg": {
"desiredState": "INSTALLED",
"rpm": {
"source": {
"gcs": {
"bucket": "test-bucket",
"object": "test-object",
"generation": 1
}
}
}
}
}
]
},
{
"resources": [
{
"id": "apt-to-deb",
"pkg": {
"desiredState": "INSTALLED",
"apt": {
"name": "bazel"
}
}
},
{
"id": "deb-local-path-to-gcs",
"pkg": {
"desiredState": "INSTALLED",
"deb": {
"source": {
"localPath": "$HOME/package.deb"
}
}
}
},
{
"id": "googet",
"pkg": {
"desiredState": "INSTALLED",
"googet": {
"name": "gcc"
}
}
},
{
"id": "msi1",
"pkg": {
"desiredState": "INSTALLED",
"msi": {
"source": {
"localPath": "$HOME/package.msi"
},
"properties": ["REBOOT=ReallySuppress"]
}
}
},
{
"id": "msi2",
"pkg": {
"desiredState": "INSTALLED",
"msi": {
"source": {
"allowInsecure": true,
"remote": {
"uri": "https://remote.uri.com/package.msi",
"sha256Checksum": "3bbfd1043cd7afdb78cf9afec36c0c5370d2fea98166537b4e67f3816f256025"
},
"sha256Checksum": "3bbfd1043cd7afdb78cf9afec36c0c5370d2fea98166537b4e67f3816f256025"
}
}
}
},
{
"id": "msi3",
"pkg": {
"desiredState": "INSTALLED",
"msi": {
"source": {
"gcs": {
"bucket": "test-bucket",
"object": "test-object",
"generation": 1
}
}
}
}
}
]
}
Expand All @@ -220,13 +41,6 @@
}
}
],
"exclusionLabels": [
{
"labels": {
"label-two": "value-two"
}
}
],
"inventories": [
{
"osShortName": "centos",
Expand All @@ -236,7 +50,7 @@
},
"rollout": {
"disruptionBudget": {
"fixed": 1
"fixed": 100
},
"minWaitDuration": "3.5s"
}
Expand Down
Loading

0 comments on commit c18b98d

Please sign in to comment.