Skip to content

Commit

Permalink
Merge pull request #217 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 8.1.0
  • Loading branch information
andyone authored Jul 6, 2024
2 parents 7b5903f + 2573063 commit 833776d
Show file tree
Hide file tree
Showing 21 changed files with 399 additions and 343 deletions.
48 changes: 0 additions & 48 deletions .docker/centos7.docker

This file was deleted.

48 changes: 0 additions & 48 deletions .docker/ol7.docker

This file was deleted.

7 changes: 2 additions & 5 deletions .docker/ol8.docker
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG REGISTRY="docker.io"

## BUILDER #####################################################################

FROM ${REGISTRY}/essentialkaos/oraclelinux:8 as builder
FROM ${REGISTRY}/essentialkaos/golang:ol8 as builder

RUN mkdir -p "/go/src" && chmod -R 777 "/go"

Expand All @@ -14,10 +14,7 @@ WORKDIR /go/src/github.com/essentialkaos/bibop

COPY . .

# hadolint ignore=DL3031,DL3041
RUN dnf -y -q install https://pkgs.kaos.st/kaos-repo-latest.el8.noarch.rpm && \
dnf -y install make golang git && \
dnf clean all && make deps && make all
RUN make deps && make all

## FINAL IMAGE #################################################################

Expand Down
9 changes: 3 additions & 6 deletions .docker/ol9.docker
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG REGISTRY="docker.io"

## BUILDER #####################################################################

FROM ${REGISTRY}/essentialkaos/oraclelinux:8 as builder
FROM ${REGISTRY}/essentialkaos/golang:ol9 as builder

RUN mkdir -p "/go/src" && chmod -R 777 "/go"

Expand All @@ -14,14 +14,11 @@ WORKDIR /go/src/github.com/essentialkaos/bibop

COPY . .

# hadolint ignore=DL3031,DL3041
RUN dnf -y -q install https://pkgs.kaos.st/kaos-repo-latest.el9.noarch.rpm && \
dnf -y install make golang git && \
dnf clean all && make deps && make all
RUN make deps && make all

## FINAL IMAGE #################################################################

FROM ${REGISTRY}/essentialkaos/oraclelinux:8
FROM ${REGISTRY}/essentialkaos/oraclelinux:9

LABEL org.opencontainers.image.title="bibop" \
org.opencontainers.image.description="Utility for testing command-line tools, daemons, and packages" \
Expand Down
51 changes: 0 additions & 51 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

64 changes: 64 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: ❗ Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["issue • bug"]
assignees:
- andyone

body:
- type: markdown
attributes:
value: |
> [!IMPORTANT]
> Before you open an issue, search GitHub Issues for a similar bug reports. If so, please add a 👍 reaction to the existing issue.
- type: textarea
attributes:
label: Verbose application info
description: Output of `bibop -vv` command
render: shell
validations:
required: true

- type: dropdown
id: version
attributes:
label: Install tools
description: How did you install this application
options:
- From Sources
- RPM Package
- Prebuilt Binary
default: 0
validations:
required: true

- type: textarea
attributes:
label: Steps to reproduce
description: Short guide on how to reproduce this problem on our site
placeholder: |
1. [First Step]
2. [Second Step]
3. [and so on...]
validations:
required: true

- type: textarea
attributes:
label: Expected behavior
description: What you expected to happen
validations:
required: true

- type: textarea
attributes:
label: Actual behavior
description: What actually happened
validations:
required: true

- type: textarea
attributes:
label: Additional info
description: Include gist of relevant config, logs, etc.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: ❓ Question
description: Question about application, configuration or code
title: "[Question]: "
labels: ["issue • question"]
assignees:
- andyone

body:
- type: markdown
attributes:
value: |
> [!IMPORTANT]
> Before you open an issue, search GitHub Issues for a similar question. If so, please add a 👍 reaction to the existing issue.
- type: textarea
attributes:
label: Question
description: Detailed question
validations:
required: true

- type: textarea
attributes:
label: Related version application info
description: Output of `bibop -vv` command
render: shell
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/suggestion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: ➕ Suggestion
description: Suggest new feature or improvement
title: "[Suggestion]: "
labels: ["issue • suggestion"]
assignees:
- andyone

body:
- type: markdown
attributes:
value: |
> [!IMPORTANT]
> Before you open an issue, search GitHub Issues for a similar feature requests. If so, please add a 👍 reaction to the existing issue.
>
> Opening a feature request kicks off a discussion. Requests may be closed if we're not actively planning to work on them.
- type: textarea
attributes:
label: Proposal
description: Description of the feature
validations:
required: true

- type: textarea
attributes:
label: Current behavior
description: What currently happens
validations:
required: true

- type: textarea
attributes:
label: Desired behavior
description: What you would like to happen
validations:
required: true

- type: textarea
attributes:
label: Use case
description: Why is this important (helps with prioritizing requests)
validations:
required: true
4 changes: 4 additions & 0 deletions .github/images/separator.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Docker Push"
name: "CD (Release)"

on:
release:
Expand All @@ -22,13 +22,13 @@ env:
LATEST_IMAGE: ol8

jobs:
Docker:
name: Docker Build & Publish
BuildImage:
name: Image Build & Publish
runs-on: ubuntu-latest

strategy:
matrix:
image: [ 'centos7', 'ol7', 'ol8', 'ol9' ]
image: [ 'ol8', 'ol9' ]

steps:
- name: Checkout
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
git checkout "$tag"
- name: Prepare metadata for build
- name: Prepare metadata for the build
id: metadata
run: |
rev=$(git rev-list --tags --max-count=1)
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Check if build/rebuild is required
id: build_check
run: |
if [[ "${{github.event_name}}" == "release" ]] ; then
if [[ "$GITHUB_EVENT_NAME" == "release" ]] ; then
echo "build=true" >> $GITHUB_OUTPUT
exit 0
fi
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
- name: Build and push Docker images (Docker)
if: ${{ steps.build_check.outputs.build == 'true' }}
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
context: .
Expand All @@ -160,7 +160,7 @@ jobs:

- name: Build and push Docker images (GHCR)
if: ${{ steps.build_check.outputs.build == 'true' }}
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
context: .
Expand Down
Loading

0 comments on commit 833776d

Please sign in to comment.