Skip to content
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

Migrate testing to Github Actions and add support for installing on SUSE #207

Merged
merged 7 commits into from Feb 28, 2020

Conversation

xorima
Copy link
Contributor

@xorima xorima commented Feb 28, 2020

Description

Moves testing of linux to github actions
Creates a template for Windows testing

Issues Resolved

Check List

They are faster and why not

Signed-off-by: Jason Field <jason@avon-lea.co.uk>
Signed-off-by: Jason Field <jason@avon-lea.co.uk>
Signed-off-by: Jason Field <jason@avon-lea.co.uk>
This commit removes the travis config file
Changes the README to have the new badges
Removed the pr and issue templates so they inherit from the community health repo (.github repo)

Signed-off-by: Jason Field <jason@avon-lea.co.uk>
Signed-off-by: Jason Field <jason@avon-lea.co.uk>
- Windows 2016
- Ubuntu 16.04+
- Debian 9+
- Windows 2016+

### Habitat

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The line under this has - Habitat version: 0.88.0 is this correct?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not. We are currently pinned to 1.5.0. I plan to update that to current soon but, wanted to have a discussion about allowing it to always install current unless otherwise specified.
@jonlives @tas50 I'd like your thoughts on that. I think we should be pushing latest and leave it on the customer to decide what version they want to pin to. Do we have some caveats to that?

Signed-off-by: Jason Field <jason@avon-lea.co.uk>
@sam1el
Copy link
Collaborator

sam1el commented Feb 28, 2020

looks like the dokken image for opensuse-15 is missing some dependencies required for install.

@xorima
Copy link
Contributor Author

xorima commented Feb 28, 2020

So from a local test I get this:

dokken login config-chef-13-auth-opensuse-leap-15
Directory: /
Fri Feb 28 21:05:06 UTC 2020
dokken:/ # curl https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9420  100  9420    0     0  30387      0 --:--:-- --:--:-- --:--:-- 30289
--> hab-install: Installing Habitat 'hab' program
--> hab-install: Downloading via wget: https://packages.chef.io/files/stable/habitat/latest/hab-x86_64-linux.tar.gz
--> hab-install: Downloading via wget: https://packages.chef.io/files/stable/habitat/latest/hab-x86_64-linux.tar.gz.sha256sum
renamed '/var/tmp/tmp.CatK7xKucD/hab-latest.tar.gz' -> 'hab-x86_64-linux.tar.gz'
renamed '/var/tmp/tmp.CatK7xKucD/hab-latest.tar.gz.sha256sum' -> 'hab-x86_64-linux.tar.gz.sha256sum'
--> hab-install: GnuPG tooling found, downloading signatures
--> hab-install: Downloading via wget: https://packages.chef.io/files/stable/habitat/latest/hab-x86_64-linux.tar.gz.sha256sum.asc
--> hab-install: Downloading via wget: https://packages.chef.io/chef.asc
--> hab-install: GnuPG tooling found, verifying the shasum digest is properly signed
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: assuming signed data in 'hab-x86_64-linux.tar.gz.sha256sum'
gpg: Signature made Tue Feb 11 17:04:36 2020 UTC
gpg:                using DSA key 11685DB92F03640A2FFE7CA82940ABA983EF826A
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: Good signature from "CHEF Packages <packages@chef.io>" [unknown]
gpg:                 aka "Opscode Packages <packages@opscode.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 1168 5DB9 2F03 640A 2FFE  7CA8 2940 ABA9 83EF 826A
--> hab-install: Verifying the shasum digest matches the downloaded archive
hab-x86_64-linux.tar.gz: OK
--> hab-install: Extracting hab-x86_64-linux.tar.gz
xxx hab-install: Required command 'zcat' not found on PATH

What do I need to do to get it working @sam1el?

Signed-off-by: Jason Field <jason@avon-lea.co.uk>
@xorima xorima marked this pull request as ready for review February 28, 2020 21:47
@xorima xorima requested review from sam1el and tas50 February 28, 2020 21:47
@tas50 tas50 changed the title Feature/migrate to actions Migrate testing to Github Actions and add support for installing on SUSE Feb 28, 2020
@tas50 tas50 merged commit 344b003 into master Feb 28, 2020
chef-expeditor bot pushed a commit that referenced this pull request Feb 28, 2020
Obvious fix; these changes are the result of automation not creative thinking.
@xorima xorima deleted the feature/migrate-to-actions branch February 28, 2020 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants