Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
ec08b89b
Unverified
Commit
ec08b89b
authored
Mar 01, 2021
by
Ivan Vandot
Committed by
GitHub
Mar 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge beekeeper and slash-beekeeper (#1348)
parent
4a598b6f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
151 deletions
+12
-151
beekeeper.yml
.github/workflows/beekeeper.yml
+12
-4
slash-beekeeper.yml
.github/workflows/slash-beekeeper.yml
+0
-147
No files found.
.github/workflows/beekeeper.yml
View file @
ec08b89b
...
@@ -2,20 +2,28 @@ name: Beekeeper
...
@@ -2,20 +2,28 @@ name: Beekeeper
on
:
on
:
repository_dispatch
:
repository_dispatch
:
types
:
[
trigger-beekeeper
]
types
:
[
trigger-beekeeper
,
beekeeper
]
pull_request
:
pull_request
:
types
:
[
ready_for_review
]
types
:
[
ready_for_review
]
jobs
:
jobs
:
beekeeper
:
beekeeper
:
name
:
Infra tests
env
:
env
:
REPLICA
:
3
REPLICA
:
3
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v2
uses
:
actions/checkout@v2
if
:
github.event.repository_dispatch != 'beekeeper'
with
:
with
:
fetch-depth
:
1
fetch-depth
:
1
-
name
:
Checkout
uses
:
actions/checkout@v2
if
:
github.event.repository_dispatch == 'beekeeper'
with
:
ref
:
${{ github.event.client_payload.ref }}
fetch-depth
:
1
-
name
:
Cache
-
name
:
Cache
uses
:
actions/cache@v2
uses
:
actions/cache@v2
with
:
with
:
...
@@ -121,16 +129,16 @@ jobs:
...
@@ -121,16 +129,16 @@ jobs:
docker tag registry.localhost:5000/ethersphere/bee:latest ghcr.io/ethersphere/bee
docker tag registry.localhost:5000/ethersphere/bee:latest ghcr.io/ethersphere/bee
docker push ghcr.io/ethersphere/bee
docker push ghcr.io/ethersphere/bee
-
name
:
Retag Docker image and push
-
name
:
Retag Docker image and push
if
:
github.ref == 'refs/heads/master' && success()
if
:
github.ref == 'refs/heads/master' &&
github.event.repository_dispatch != 'beekeeper' &&
success()
run
:
|
run
:
|
docker tag registry.localhost:5000/ethersphere/bee:latest ethersphere/bee:latest
docker tag registry.localhost:5000/ethersphere/bee:latest ethersphere/bee:latest
printf ${{ secrets.DOCKERHUB_PASSWORD }} | docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
printf ${{ secrets.DOCKERHUB_PASSWORD }} | docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
docker push ethersphere/bee:latest
docker push ethersphere/bee:latest
-
name
:
Set IMAGE_DIGEST variable
-
name
:
Set IMAGE_DIGEST variable
if
:
github.ref == 'refs/heads/master' && success()
if
:
github.ref == 'refs/heads/master' &&
github.event.repository_dispatch != 'beekeeper' &&
success()
run
:
echo "IMAGE_DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ethersphere/bee:latest | cut -d'@' -f 2 | tr -d '\n')" >> $GITHUB_ENV
run
:
echo "IMAGE_DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ethersphere/bee:latest | cut -d'@' -f 2 | tr -d '\n')" >> $GITHUB_ENV
-
name
:
Trigger ArgoCD
-
name
:
Trigger ArgoCD
if
:
github.ref == 'refs/heads/master' && success()
if
:
github.ref == 'refs/heads/master' &&
github.event.repository_dispatch != 'beekeeper' &&
success()
uses
:
peter-evans/repository-dispatch@v1
uses
:
peter-evans/repository-dispatch@v1
with
:
with
:
token
:
${{ secrets.REPO_GHA_PAT }}
token
:
${{ secrets.REPO_GHA_PAT }}
...
...
.github/workflows/slash-beekeeper.yml
deleted
100644 → 0
View file @
4a598b6f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment