Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,14 @@
.git/
bin/
testbin/
.idea/
.kustomize/
.github/
hack/
doc/
assets/
examples/
helm-charts/
sidecar/
test/
config/
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### Expected behavior

What do you want to achieve?

### Actual behavior

What is happening?

### Steps to reproduce the behavior

Describe step by step what you've done to get to this behavior

### Environment

How are the pieces configured?
* Tarantool Operator version
* Tarantool version
* Cartridge version
* Kubernetes version
* Helm chart configuration used
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### All Submissions:

* [ ] Have you opened an Issue before filing this PR?
* [ ] Is linter passing?
* [ ] Are the tests passing?
* [ ] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: gomod
directory: "/"
schedule:
interval: weekly
day: monday
reviewers:
- "kluevandrew"
24 changes: 0 additions & 24 deletions .github/workflows/destroy-deployment.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint

on:
pull_request:
branches:
- master

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go 1.19.3
uses: actions/setup-go@v3
with:
go-version: 1.19.3
- name: Lint the code
uses: golangci/golangci-lint-action@v3
with:
args: -v --timeout 2m --config .golangci.yml
version: v1.50.1
51 changes: 0 additions & 51 deletions .github/workflows/pull-translation.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/push-translation.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Release operator

on:
release:
types:
- published
push:
branches:
- master

jobs:
push_to_registry:
name: Push Docker image to Docker registry
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3

- name: Log in to Docker Registry
uses: docker/login-action@v2
with:
registry: ${{ secrets.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: tarantool/tarantool-operator

- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Loading