Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
aramovic79 committed Aug 15, 2024
1 parent c7f4bfc commit cd778e7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/github-actions-apeiora-ows3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,42 +49,42 @@ jobs:
- name: Check and install brew, gardenctl and kubelogin; publish afterwards
run: |
if ! command -v brew &> /dev/null
then
echo "brew could not be found, installing..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/runner/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
echo 'export PATH="${BREW_ROOT:-$HOME/linuxbrew/.linuxbrew}/bin:$PATH"' >> $GITHUB_ENV
echo 'export PATH="${BREW_ROOT:-$HOME/linuxbrew/.linuxbrew}/sbin:$PATH"' >> $GITHUB_ENV
else
echo "brew is already installed"
fi
# if ! command -v brew &> /dev/null
# then
# echo "brew could not be found, installing..."
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/runner/.bashrc
# eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# echo 'export PATH="${BREW_ROOT:-$HOME/linuxbrew/.linuxbrew}/bin:$PATH"' >> $GITHUB_ENV
# echo 'export PATH="${BREW_ROOT:-$HOME/linuxbrew/.linuxbrew}/sbin:$PATH"' >> $GITHUB_ENV
# else
# echo "brew is already installed"
# fi
if ! command -v gardenctl &> /dev/null
then
echo "gardenctl could not be found, installing..."
brew install gardener/tap/gardenctl-v2
echo 'export PATH="${GARDENCTL_ROOT:-$HOME/linuxbrew/.linuxbrew}/bin/gardenctl:$PATH"' >> $GITHUB_ENV
else
echo "gardenctl is already installed"
fi
# if ! command -v gardenctl &> /dev/null
# then
# echo "gardenctl could not be found, installing..."
# brew install gardener/tap/gardenctl-v2
# echo 'export PATH="${GARDENCTL_ROOT:-$HOME/linuxbrew/.linuxbrew}/bin/gardenctl:$PATH"' >> $GITHUB_ENV
# else
# echo "gardenctl is already installed"
# fi
if ! command -v gardenlogin &> /dev/null
then
echo "gardenlogin could not be found, installing..."
brew install gardener/tap/gardenlogin
else
echo "gardenlogin is already installed"
fi
# if ! command -v gardenlogin &> /dev/null
# then
# echo "gardenlogin could not be found, installing..."
# brew install gardener/tap/gardenlogin
# else
# echo "gardenlogin is already installed"
# fi
if ! command -v kubelogin &> /dev/null
then
echo "kubelogin could not be found, installing..."
brew install int128/kubelogin/kubelogin
else
echo "kubelogin is already installed"
fi
# if ! command -v kubelogin &> /dev/null
# then
# echo "kubelogin could not be found, installing..."
# brew install int128/kubelogin/kubelogin
# else
# echo "kubelogin is already installed"
# fi
# if ! command -v w3m &> /dev/null
# then
Expand All @@ -94,7 +94,7 @@ jobs:
# echo "w3m is already installed"
# fi
make k8
# make k8
env:
GARDEN_OWS3_PATH: ${{ secrets.GARDEN_OWS3_PATH }}
K8_CLUSTER_PATH: ${{ secrets.K8_CLUSTER_PATH }}
Expand Down
2 changes: 1 addition & 1 deletion misc/mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- image: mysql
imagePullPolicy: IfNotPresent
imagePullPolicy: Always
name: mysql
ports:
- containerPort: 3306
Expand Down

0 comments on commit cd778e7

Please sign in to comment.