1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

33 Commits

Author SHA1 Message Date
Rafael Fonseca
6039d415ec tooling: add gci tool to standardize import order
The imports are ordered in 4 sections:
 - standard lib
 - default imports
 - prefix(github.com/openshift)
 - blank imports (_ <import_path>)
2022-12-13 15:40:57 +01:00
Guang Ya Liu
97f2171fb6 Document: podman was needed by local dev environment.
We need to mention podman was requested by local development.

Fixed https://github.com/openshift/installer/issues/2508
2019-10-15 19:12:50 -07:00
W. Trevor King
0d5741682d CONTRIBUTING: Drop CoreOS disclosure anchor
I'd missed this when removing the consuming text in dfa406b23b
(CONTRIBUTING: Update the security contact for CoreOS -> Red Hat,
2018-10-24, #531).
2019-09-03 11:04:50 -07:00
staebler
825a3972bf hack: script to generate mocks
Create a script for generating test mocks.
2018-12-20 14:08:04 -05:00
staebler
355cad8811 .: describe how to run unit tests in CONTRIBUTING.md 2018-12-14 19:21:06 -05:00
W. Trevor King
80f820831a Revert "hack/yaml-lint: No-op this script"
This reverts commit 8ff1cee1ce
(2018-09-28, #370).

We moved from Glide to dep in 1f455431 (vendor: switch from glide to
dep, 2018-09-28, #380), so we no longer need to worry about yamllint
vs. Glide.yaml.
2018-11-07 21:26:17 -08:00
W. Trevor King
dfa406b23b CONTRIBUTING: Update the security contact for CoreOS -> Red Hat
The text is based on [1], although I've used different link text
instead of repeating the URL.

[1]: https://github.com/openshift/origin/tree/v3.11.0#security-response
2018-10-24 15:13:17 -07:00
W. Trevor King
8ff1cee1ce hack/yaml-lint: No-op this script
Temporarily make the script a no-op while we work out whether we want
to keep this.  It's currently complaining about the YAML output from
Glide in the previous commit [1]:

  ./glide.yaml
    1:1       warning  missing document start "---"  (document-start)
    3:1       error    wrong indentation: expected 2 but found 0  (indentation)
    5:1       error    wrong indentation: expected 2 but found 0  (indentation)
    38:1      error    wrong indentation: expected 2 but found 0  (indentation)

Dropping the script entirely would break CI [2].  Alex is ok dropping
yamllint entirely, but I'm half-interested in keeping it around in
case we decide to move any static YAML assets
(e.g. pkg/asset/manifests/content/tectonic/rbac/role-user.go) over
into data/data.

[1]: https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_installer/370/pull-ci-openshift-installer-yaml-lint/636/build-log.txt
[2]: d7ea5b36da/ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml (L354)
2018-09-28 13:50:16 -07:00
Alex Crawford
b6c0d8c1e7 installer: remove package
This is the last of the old installer code. It's no longer used and can
be removed.
2018-09-27 22:57:28 -07:00
Russell Bryant
4278ba3fa7 docs/libvirt-howto: Add dependency installation.
Add a few things to the libvirt howto after my first pass running it:

 - Add dependency installation
 - Start libvirtd
 - Show how to create the default libvirt storage pool
 - Renumber sections after inserting new sections
 - Fix rhcos image name
 - Clarify that when running the --permanent commands for firewalld are
   in addition to running the same commands without the flag
 - change reference to ../libvirt.yaml to libvirt.yaml to match where
   the file will be based on past instructions
2018-09-27 12:53:39 -04:00
Alex Crawford
feb41e9d8b docs: rework documentation
This updates the documentation to reflect the new installer.
2018-09-26 09:53:24 -07:00
W. Trevor King
0581e4757f CONTRIBUTING: Drop stale structure-check references
They haven't worked since d61abd48 (*: cleanup bazel rules,
2018-03-26, coreos/tectonic-installer#3137).  Recommend out new hack/*
scripts instead.
2018-09-13 11:08:58 -07:00
W. Trevor King
62f87acb46 OWNERS_ALIASES: Define aliases for reviewers and approvers
This will make it easier to add special-case OWNERS files to
openshift/release while still getting the members slurped up with the
populate-owners tooling.  That tooling pulls OWNERS_ALIASES since
openshift/release@e1f993fb (populate-owners: Also slurp
OWNERS_ALIASES, 2018-08-25, openshift/release#1285).
2018-08-30 14:26:45 -07:00
W. Trevor King
416f617540 MAINTAINERS: Drop stale file
MAINTAINERS is obsolete since 49779c3e (OWNERS: Configure Prow with
approver and reviewer information, 2018-07-25, #71).  I've also
dropped the email/IRC section, since as far as I know there are
currently no public lists or IRC channels for installer discussion.
Folks outside of Red Hat should communicate via GitHub issues and pull
requests, and I think that's the expectation for projects that don't
give alternatives in their CONTRIBUTING file.
2018-08-01 16:27:13 -07:00
W. Trevor King
49779c3eaa OWNERS: Configure Prow with approver and reviewer information
Most of the folks I've listed here are under Aaron in Red Hat, with
Yifan being the installer lead.  I've also included Alex and Clayton,
who are higher up in Red Hat but still members of
@openshift/installer.  I'm guessing about roles, but we can always
adjust later as we see fit.

Approvers can also /lgtm [1], so there's no need to list them under
'reviewers' as well.

The docs link in OWNERS is from [2].

While updating CONTRIBUTING.md to mention OWNERS (using wording based
on [3]), I've also:

* Added a line to make it clear that filing issues is helpful to (for
  folks who don't have the time or inclination to work up a PR).
* Turned the unordered list into an ordered list.  These entries
  happen sequentially, and an ordered list makes that more obvious.
* Made "below" a link, to make finding the referenced content more
  convenient.
* Shuffled words in the commit message format title to make it
  shorter.

The references to 'make structure-check' are stale since d61abd48 (*:
cleanup bazel rules, 2018-03-26, coreos/tectonic-installer#3137), but
I've left fixing that to follow-up work.

[1]: 4c0c2e9e65/contributors/guide/owners.md (quirks-of-the-process)
[2]: https://github.com/kubernetes/kubernetes-template-project/pull/15
[3]: 16f1588e6d/CONTRIBUTING.md (L10)
2018-07-25 15:35:05 -07:00
W. Trevor King
85ef23a859 Documentation/variables: Drop stale docs
These used to be generated with terraform-docs, but the associated
Makefile rule was removed without replacement in d61abd48 (*: cleanup
bazel rules, 2018-03-26, coreos/tectonic-installer#3137).
terraform-examples seems to have been similar, and its last Makefile
reference was also removed in d61abd48.  We may want to return to
autogenerating examples/*.yaml at some point, but for now, stop
claiming that we are autogenerating these.
2018-07-23 09:37:14 -07:00
W. Trevor King
ed9a89fd04 docs: Consistent sh vs. console syntax highlighting
GitHub uses Linuguist for syntax highlighting [1], and Linuguist
defines two related grammars:

* Shell (alias 'sh') [2], which applies to POSIX and similar shell
  languages.

* ShellSession (alias 'console') [3], which extends the Shell grammar
  with support for prompts and command output as you would usually see
  in an interactive shell session.

This commit consistently uses 'sh' to highlight blocks which contain
only shell commands (without prompts or output).  And it uses
'console' to highlight blocks which contain prompts, commands, and
output.

I've also removed prompts blocks which contain no output, because in
the no-output cases that approach seemed more popular within this
repository.

I've also standardised on the 'sh' alias, where this repository
previously used both 'sh' and 'shell'.

I've also added continuation prompts (PS2) to the long
describe-auto-scaling-groups example, to keep the continued command
from being marked up as output.  And I've replaced the terminal \
continuation there with a terminal |; we need a pipe anyway so we
might as well save a character ;).

[1]: https://help.github.com/articles/creating-and-highlighting-code-blocks/#syntax-highlighting
[2]: https://github.com/github/linguist/blob/v6.2.0/lib/linguist/languages.yml#L4317-L4378
[3]: https://github.com/github/linguist/blob/v6.2.0/lib/linguist/languages.yml#L4379-L4390
2018-07-06 13:58:22 -07:00
paulfantom
8696d7a2f2 update some names 2018-07-06 18:48:42 +02:00
André Carvalho
095e604493 contributing: rewrite code style recommendation (#2842)
As per https://github.com/coreos/docs/pull/1142, coreos golang code
style has been removed from cores/docs. This commit rewrites the
code style recommendation to link to the one maintained by
the go community.
2018-02-14 17:38:24 +01:00
Sergiusz Urbaniak
0440e662e4 */terraform-examples: add terraform-examples in contrib (#2537)
This used to be hosted in a private repo, but should be part of the installer.

Fixes INST-126
2017-12-13 13:21:52 +01:00
Everett Toews
0957d93928 contributing: Make the instructions a bit more explicit for docs and examples (#1469)
* contributing: Make the instructions a bit more explicit for docs and examples

* Be more explicit that you must commit the generated files
2017-07-28 15:29:26 +02:00
Hart Hoover
54932ea7de CONTRIBUTING: adds basic make commands to run before submitting a PR (#1179)
From an idea in https://github.com/coreos/tectonic-installer/pull/1122#issuecomment-309531602,
as a new contributor I didn't know from reading the CONTRIBUTING
document that I was expected to run certain make commands. This
commit spells it out for contributors that come after me. As tests
are added this list should be expanded.
2017-06-30 09:37:48 +02:00
beth wright
5a9698fa3f Merge branch 'master' into modify-installer 2017-06-15 15:30:20 -07:00
Beth Wright
fafbcfa0e2 docs: adding security vulnerability reporting. 2017-06-07 13:17:13 -07:00
Beth Wright
2552c0950f docs: adding links. 2017-06-07 10:48:21 -07:00
Beth Wright
327c5b3b52 docs: first draft for modifying installer params. 2017-05-19 15:06:34 -07:00
Jonathan Boulle
6dbd00837f CONTRIBUTING: fix line wrapping 2015-10-14 08:48:41 -07:00
Jonathan Boulle
f1dd30f4ac CONTRIBUTING: add reference to golang style guide 2015-10-13 18:27:11 -07:00
Brandon Philips
774cf34827 CONTRIBUTING: add a section about not emailing maintainers
Setup some expectation for etiquette.
2014-06-18 18:38:28 -07:00
Brandon Philips
92df44276d CONTRIBUTING: remove the subject verbs
After talking to a few people on the team we have decided that the
feat/fix/etc tags aren't adding much value. Use a simpler format
instead.
2014-06-18 18:36:00 -07:00
Jonathan Boulle
2e4ea503b0 chore(contributing): clean up CONTRIBUTING.md and split out DCO 2014-04-04 10:40:37 -07:00
Brian Waldon
c4605160c5 fix(CONTRIBUTING.md): Fix title case 2014-02-05 15:51:24 -08:00
Brandon Philips
054de85da2 feat(*): initial commit 2014-01-19 12:25:11 -08:00