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
6888fcc2
Unverified
Commit
6888fcc2
authored
Nov 17, 2020
by
Ivan Vandot
Committed by
GitHub
Nov 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix all set-env and add-path (#948)
parent
77dd5628
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
11 deletions
+6
-11
beekeeper.yml
.github/workflows/beekeeper.yml
+2
-2
go.yml
.github/workflows/go.yml
+1
-6
schedule.yaml
.github/workflows/schedule.yaml
+2
-2
slash-beekeeper.yml
.github/workflows/slash-beekeeper.yml
+1
-1
No files found.
.github/workflows/beekeeper.yml
View file @
6888fcc2
...
@@ -99,7 +99,7 @@ jobs:
...
@@ -99,7 +99,7 @@ jobs:
cp $(k3d get-kubeconfig --name='k3s-default') ~/.kube/config
cp $(k3d get-kubeconfig --name='k3s-default') ~/.kube/config
-
name
:
Increase REPLICA to
5
-
name
:
Increase REPLICA to
5
run
:
|
run
:
|
echo "
::set-env name=REPLICA::5"
echo "
REPLICA=5" >> $GITHUB_ENV
-
name
:
Set testing cluster (Node connection) 5 bee nodes
-
name
:
Set testing cluster (Node connection) 5 bee nodes
run
:
|
run
:
|
echo -e "127.0.0.10\tregistry.localhost" | sudo tee -a /etc/hosts
echo -e "127.0.0.10\tregistry.localhost" | sudo tee -a /etc/hosts
...
@@ -122,7 +122,7 @@ jobs:
...
@@ -122,7 +122,7 @@ jobs:
docker push ethersphere/bee:latest
docker push ethersphere/bee:latest
-
name
:
Set IMAGE_DIGEST variable
-
name
:
Set IMAGE_DIGEST variable
if
:
success()
if
:
success()
run
:
echo "
::set-env name=IMAGE_DIGEST::$(docker inspect --format='{{index .RepoDigests 0}}' ethersphere/bee:latest | cut -d'@' -f 2 | tr -d '\n')"
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
:
success()
if
:
success()
uses
:
peter-evans/repository-dispatch@v1
uses
:
peter-evans/repository-dispatch@v1
...
...
.github/workflows/go.yml
View file @
6888fcc2
...
@@ -18,14 +18,9 @@ jobs:
...
@@ -18,14 +18,9 @@ jobs:
os
:
[
ubuntu-latest
,
macos-latest
,
windows-latest
]
os
:
[
ubuntu-latest
,
macos-latest
,
windows-latest
]
steps
:
steps
:
-
name
:
Setup Go
-
name
:
Setup Go
uses
:
actions/setup-go@v
1
uses
:
actions/setup-go@v
2
with
:
with
:
go-version
:
${{ matrix.go }}
go-version
:
${{ matrix.go }}
-
name
:
Setup env
run
:
|
echo "::set-env name=GOPATH::$(go env GOPATH)"
echo "::add-path::$(go env GOPATH)/bin"
shell
:
bash
-
name
:
Set git to use LF
-
name
:
Set git to use LF
# make sure that line endings are not converted on windows
# make sure that line endings are not converted on windows
# as gofmt linter will report that they need to be changed
# as gofmt linter will report that they need to be changed
...
...
.github/workflows/schedule.yaml
View file @
6888fcc2
...
@@ -17,10 +17,10 @@ jobs:
...
@@ -17,10 +17,10 @@ jobs:
if [ $DAYS -eq 0 ]; then
if [ $DAYS -eq 0 ]; then
echo "There are new commits..."
echo "There are new commits..."
echo "Last commit from $AUTHOR, URL => $URL"
echo "Last commit from $AUTHOR, URL => $URL"
echo
::set-env name=GHA_REPO_RUN::true
echo
"GHA_REPO_RUN=true" >> $GITHUB_ENV
else
else
echo "No new commits, exiting..."
echo "No new commits, exiting..."
echo
::set-env name=GHA_REPO_RUN::false
echo
"GHA_REPO_RUN=false" >> $GITHUB_ENV
fi
fi
-
name
:
Trigger ArgoCD
-
name
:
Trigger ArgoCD
if
:
env.GHA_REPO_RUN == 'true'
if
:
env.GHA_REPO_RUN == 'true'
...
...
.github/workflows/slash-beekeeper.yml
View file @
6888fcc2
...
@@ -101,7 +101,7 @@ jobs:
...
@@ -101,7 +101,7 @@ jobs:
cp $(k3d get-kubeconfig --name='k3s-default') ~/.kube/config
cp $(k3d get-kubeconfig --name='k3s-default') ~/.kube/config
-
name
:
Increase REPLICA to
5
-
name
:
Increase REPLICA to
5
run
:
|
run
:
|
echo "
::set-env name=REPLICA::5"
echo "
REPLICA=5" >> $GITHUB_ENV
-
name
:
Set testing cluster (Node connection) 5 bee nodes
-
name
:
Set testing cluster (Node connection) 5 bee nodes
run
:
|
run
:
|
echo -e "127.0.0.10\tregistry.localhost" | sudo tee -a /etc/hosts
echo -e "127.0.0.10\tregistry.localhost" | sudo tee -a /etc/hosts
...
...
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