Commit graph

19 commits

Author SHA1 Message Date
Matthew Seaman 2fd8287ead Change the rebuild schedule to Mondays, Wednesdays and Fridays only
Let's make at least a token attempt to economize on those build
minutes.
2023-10-13 15:07:41 +01:00
Matthew Seaman a2a7dadf13
Ooops. Turns out we do actually want the arm64 images (#2)
Since that what several of the laptops run on.
2023-10-13 14:52:31 +01:00
Matthew Seaman f24bc0a9e0
Update README.md (#1)
* Update README.md

* We don't want to use the netbox-community pull-request template

* Update container building workflow

* Only build amd64 images
* Add our 'oxcert' branch as equivalent to upstream's 'release' branch

* Tag the version of the container as OxCERT's modification

This is just for the netbox container: the underlying netbox version
will come from upstream

* Build own own images and push to ghcr.io

* Only build amd64 images
* Only push images to GitHub Container Registry for the OxCERT organization

* Refer to our private copy in the GitHub Container Registry ghcr.io

* Use ghcr.io/oxcert/netbox for all netbox images

Build and push to this repo. Read from it with docker-compose

* Make releases relative to the 'oxcert' branch

rather than upstream's 'release' branch.  This is a different workflow
than used in any of our other repos, where PRs, changes, etc. are
first merged into a 'develop' branch, and the release process is to
merge accumulated changes into the main 'oxcert' branch.

Tag names for releases should follow whatever upstream is using with
"-oxcert" appended.

* Re-add the pull-request template

But in a very cut-down form.  We don't have an issue tracker on this
repo, and we assume the intentions and motivations for any PR will
have been discussed within the team already.  We do, however, want all
PRs to be against the 'develop' branch, in parallel to upstream's
workflow.

* On second thoughts, set container version to 1.0.0

This is OxCERT's version 1.0.0 of the containerized Netbox image which
is basically the same as the 2.7.0 netbox-community equivalent.

* Fix typo from upstream

Function should have been called `git_rebase()` rather than
duplicating the name of `git_merge()`
2023-10-13 11:34:37 +01:00
Tobias Genannt eef45c8197 Using new GITHUB_OUTPUT method 2023-01-28 15:49:13 +01:00
Tobias Genannt f2b0375d5b Using GITHUB_TOKEN for API 2023-01-28 13:38:28 +01:00
renovate[bot] c0063a6573
Update docker/setup-buildx-action action to v2 2022-07-16 08:23:01 +00:00
renovate[bot] 8aec402ea2
Update docker/setup-qemu-action action to v2 2022-07-15 18:36:01 +00:00
Tobias Genannt cee1b5b079 Build ARM64 images 2022-07-15 15:06:16 +02:00
Renovate Bot ed8b42fbde
Update docker/login-action action to v2 2022-05-05 19:01:27 +00:00
Renovate Bot 2c20771682
Update actions/checkout action to v3 2022-03-01 19:06:16 +00:00
Tobias Genannt 2456a642b7 Fixed release action workflow 2021-12-09 11:23:30 +01:00
cimnine 4cc7f13b6e Push to ghcr.io 2021-10-18 11:42:59 +02:00
Tobias Genannt 5b34df1471 Build feature branch
The branch for the next version of Netbox is now called "feature".
2021-04-26 09:44:52 +02:00
Robin Schneider ee40e339c8
NetBox should always be referred to as NetBox
Fix all instances of "Netbox".

```Shell
git ls-files -z . | xargs --null -I '{}' find './{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's#Netbox#NetBox#g;'
```

Ref: https://netbox.readthedocs.io/en/stable/development/style-guide/#branding
2021-02-04 21:48:08 +01:00
Christian Mäder b92c652d99 Add quay.io as fallback registry 2020-12-15 00:41:01 +01:00
Tobias Genannt a217ce8ffd Changed "build-branches.sh" to "build-next.sh"
The old version of "build-branches.sh" skipped the pushing of images when one of
them didn't change its sources. When looking at the Netbox branches I noticed
that the "master" branch only changes when there is a new release. Because we
build the new releases anyway in "build-latest.sh" that leaves "develop" and
"develop-*" which change regularly. The new script "build-next.sh" is responsible
for building "develop-*" as the next major release of Netbox. The build of
"develop" is moved to the Github Action build matrix. This has the additional
advantage of being faster because more builds are done in parallel.
2020-04-08 22:11:37 +02:00
Christian Mäder 9229b45dc2 Fix build status badge 2020-01-23 09:35:30 +01:00
Christian Mäder dd0aee081a Fix failing GH Action 2020-01-17 18:46:30 +01:00
Christian Mäder b118cd5812 Building the Docker image with Github Actions 2019-12-23 18:21:08 +01:00