-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Allow yml and yaml files * -q * Use self refrence to build the builder * add back json * revert test action change * Remove debug * Adjust ARG
- Loading branch information
Showing
5 changed files
with
140 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: 'Test' | ||
name: "Test" | ||
|
||
on: | ||
pull_request: | ||
|
@@ -10,12 +10,12 @@ jobs: | |
outputs: | ||
architectures: ${{ steps.info.outputs.architectures }} | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected] | ||
- name: Checkout the repository | ||
uses: actions/[email protected] | ||
|
||
- name: Get information | ||
id: info | ||
uses: home-assistant/actions/helpers/info@master | ||
- name: Get information | ||
id: info | ||
uses: home-assistant/actions/helpers/info@master | ||
|
||
build: | ||
name: Test action build | ||
|
@@ -26,23 +26,23 @@ jobs: | |
matrix: | ||
architecture: ${{ fromJson(needs.init.outputs.architectures) }} | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected] | ||
- name: Checkout the repository | ||
uses: actions/[email protected] | ||
|
||
- name: Build the builder | ||
uses: home-assistant/builder@master | ||
with: | ||
args: | | ||
--test \ | ||
--amd64 \ | ||
--target /data \ | ||
--generic latest | ||
- name: Build the builder | ||
uses: home-assistant/builder@master | ||
with: | ||
args: | | ||
--test \ | ||
--amd64 \ | ||
--target /data \ | ||
--generic latest | ||
- name: Test ${{ matrix.architecture }} builder | ||
uses: ./ | ||
with: | ||
args: | | ||
--test \ | ||
--${{ matrix.architecture }} \ | ||
--target /data \ | ||
--generic ${{ github.sha }} | ||
- name: Test ${{ matrix.architecture }} builder | ||
uses: ./ | ||
with: | ||
args: | | ||
--test \ | ||
--${{ matrix.architecture }} \ | ||
--target /data \ | ||
--generic ${{ github.sha }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
{ | ||
"image": "homeassistant/{arch}-builder", | ||
"shadow_repository": "ghcr.io/home-assistant", | ||
"build_from": { | ||
"aarch64": "ghcr.io/home-assistant/aarch64-base:3.13", | ||
"armv7": "ghcr.io/home-assistant/armv7-base:3.13", | ||
"armhf": "ghcr.io/home-assistant/armhf-base:3.13", | ||
"amd64": "ghcr.io/home-assistant/amd64-base:3.13", | ||
"i386": "ghcr.io/home-assistant/i386-base:3.13" | ||
}, | ||
"args": { | ||
"VCN_VERSION": "0.9.6" | ||
}, | ||
"labels": { | ||
"io.hass.type": "builder", | ||
"org.opencontainers.image.source": "https://github.com/home-assistant/builder" | ||
} | ||
} | ||
"image": "homeassistant/{arch}-builder", | ||
"shadow_repository": "ghcr.io/home-assistant", | ||
"build_from": { | ||
"aarch64": "ghcr.io/home-assistant/aarch64-base:3.13", | ||
"armv7": "ghcr.io/home-assistant/armv7-base:3.13", | ||
"armhf": "ghcr.io/home-assistant/armhf-base:3.13", | ||
"amd64": "ghcr.io/home-assistant/amd64-base:3.13", | ||
"i386": "ghcr.io/home-assistant/i386-base:3.13" | ||
}, | ||
"args": { | ||
"VCN_VERSION": "0.9.6", | ||
"YQ_VERSION": "v4.13.2" | ||
}, | ||
"labels": { | ||
"io.hass.type": "builder", | ||
"org.opencontainers.image.source": "https://github.com/home-assistant/builder" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
image: "homeassistant/{arch}-builder" | ||
shadow_repository: "ghcr.io/home-assistant" | ||
build_from: | ||
aarch64: "ghcr.io/home-assistant/aarch64-base:3.13" | ||
armv7: "ghcr.io/home-assistant/armv7-base:3.13" | ||
armhf: "ghcr.io/home-assistant/armhf-base:3.13" | ||
amd64: "ghcr.io/home-assistant/amd64-base:3.13" | ||
i386: "ghcr.io/home-assistant/i386-base:3.13" | ||
args: | ||
VCN_VERSION: "0.9.6" | ||
YQ_VERSION: "v4.13.2" | ||
labels: | ||
io.hass.type: builder | ||
org.opencontainers.image.source: "https://github.com/home-assistant/builder" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters