Skip to content

Commit 9cb8b09

Browse files
authored
Brand new version of tarantool-operator (#139)
Brand new version of tarantool-operator
1 parent d4ef52f commit 9cb8b09

File tree

247 files changed

+14712
-25706
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+14712
-25706
lines changed

.dockerignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,14 @@
33
.git/
44
bin/
55
testbin/
6+
.idea/
7+
.kustomize/
8+
.github/
9+
hack/
10+
doc/
11+
assets/
12+
examples/
13+
helm-charts/
14+
sidecar/
15+
test/
16+
config/

.github/ISSUE_TEMPLATE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
### Expected behavior
2+
3+
What do you want to achieve?
4+
5+
### Actual behavior
6+
7+
What is happening?
8+
9+
### Steps to reproduce the behavior
10+
11+
Describe step by step what you've done to get to this behavior
12+
13+
### Environment
14+
15+
How are the pieces configured?
16+
* Tarantool Operator version
17+
* Tarantool version
18+
* Cartridge version
19+
* Kubernetes version
20+
* Helm chart configuration used

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
### All Submissions:
2+
3+
* [ ] Have you opened an Issue before filing this PR?
4+
* [ ] Is linter passing?
5+
* [ ] Are the tests passing?
6+
* [ ] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gomod
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
day: monday
8+
reviewers:
9+
- "kluevandrew"

.github/workflows/destroy-deployment.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
lint:
10+
name: lint
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
- name: Set up Go 1.19.3
16+
uses: actions/setup-go@v3
17+
with:
18+
go-version: 1.19.3
19+
- name: Lint the code
20+
uses: golangci/golangci-lint-action@v3
21+
with:
22+
args: -v --timeout 2m --config .golangci.yml
23+
version: v1.50.1

.github/workflows/pull-translation.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/push-translation.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Release operator
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
push_to_registry:
13+
name: Push Docker image to Docker registry
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Check out the repository
17+
uses: actions/checkout@v3
18+
19+
- name: Log in to Docker Registry
20+
uses: docker/login-action@v2
21+
with:
22+
registry: ${{ secrets.DOCKER_REGISTRY }}
23+
username: ${{ secrets.DOCKER_USERNAME }}
24+
password: ${{ secrets.DOCKER_PASSWORD }}
25+
26+
- name: Extract metadata (tags, labels) for Docker
27+
id: meta
28+
uses: docker/metadata-action@v4
29+
with:
30+
images: tarantool/tarantool-operator
31+
32+
- name: Build and push Docker image
33+
uses: docker/build-push-action@v3
34+
with:
35+
context: .
36+
push: true
37+
tags: ${{ steps.meta.outputs.tags }}
38+
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)