Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

hassbian-config: Adds function to test PR's #203

Merged
merged 2 commits into from
Oct 23, 2018
Merged

hassbian-config: Adds function to test PR's #203

merged 2 commits into from
Oct 23, 2018

Conversation

ludeeus
Copy link
Member

@ludeeus ludeeus commented Oct 23, 2018

Description:

This will give us an easy way of testing future PR's
Notes:

  • This will only work on active PR's
  • I have not included a documentation change.

Checklist (Required):

If pertinent:

  • Script has validation check of the job.
  • Created/Updated documentation at /docs

Testrun:

pi@hassbian:~ $ sudo hassbian-config developer-test-pr 202
Cloning into '/tmp/hassbian_config_install_202'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 1859 (delta 26), reused 50 (delta 21), pack-reused 1795
Receiving objects: 100% (1859/1859), 302.28 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1006/1006), done.
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), done.
From https://github.com/home-assistant/hassbian-scripts
 * branch            refs/pull/202/merge -> FETCH_HEAD
Note: checking out 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f279563... Merge d1431efe9d837d21999f05b4d5b3b4a012172ccb into 2ee5a9f8332188c342288c914eb1592d658e437c
dpkg-deb: building package 'hassbian-scripts' in 'package.deb'.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'hassbian-scripts' instead of '/tmp/hassbian_config_install_202/package.deb'
The following packages will be upgraded:
  hassbian-scripts
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/24.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /tmp/hassbian_config_install_202/package.deb hassbian-scripts all 0.10.0 [24.1 kB]
apt-listchanges: Reading changelogs...
(Reading database ... 46241 files and directories currently installed.)
Preparing to unpack .../package.deb ...
Unpacking hassbian-scripts (0.10.0) over (0.9.3) ...
Setting up hassbian-scripts (0.10.0) ...
pi@hassbian:~ $ sudo hassbian-config developer-test-pr 202
usage: hassbian-config [command] [suite] [options]
run 'hassbian-config --help' to see all options

@ludeeus ludeeus requested a review from Landrash October 23, 2018 18:21
@ludeeus ludeeus changed the title Developer test pr hassbian-config: Adds function to test PR's Oct 23, 2018
@Landrash Landrash merged commit c13bb38 into home-assistant:dev Oct 23, 2018
@ludeeus ludeeus deleted the developer-test-pr branch October 23, 2018 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants