[FIX] Fixed Oasis

This commit is contained in:
Dunemask 2024-02-14 21:40:14 -07:00
parent e8f5a00cef
commit 636bb98d2f

View file

@ -29,11 +29,9 @@ runs:
- name: Setup Enviornment Variables - name: Setup Enviornment Variables
shell: bash shell: bash
run: | run: |
echo "PARENT GOT ENV ^^^^"
echo "GOT ENV BELOW vvvv"
env
echo CI_NAMESPACE=ci-$SHORT_COMMIT_SHA >> $GITHUB_ENV echo CI_NAMESPACE=ci-$SHORT_COMMIT_SHA >> $GITHUB_ENV
echo DEVOPS_GITEA_ELYSIUM_ORG_READ_TOKEN=${{ inputs.gitea-token }} >> $GITHUB_ENV echo DEVOPS_GITEA_ELYSIUM_ORG_READ_TOKEN=${{ inputs.gitea-token }} >> $GITHUB_ENV
echo "Checking out Oasis"
# Checkout Oasis # Checkout Oasis
- name: Checkout Oasis - name: Checkout Oasis
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -62,6 +60,7 @@ runs:
curl -sL https://get.garden.io/install.sh | bash -s -- $tag_param curl -sL https://get.garden.io/install.sh | bash -s -- $tag_param
echo PATH=$PATH:$HOME/.garden/bin >> $GITHUB_ENV echo PATH=$PATH:$HOME/.garden/bin >> $GITHUB_ENV
git config --global --add safe.directory $HOME/.garden/bin/static git config --global --add safe.directory $HOME/.garden/bin/static
echo "Finished intalling Garden!"
# Configure K&S # Configure K&S
- name: Configure K8S - name: Configure K8S
run: | run: |
@ -69,6 +68,7 @@ runs:
mkdir -p ~/.kube && mkdir -p ~/.kube &&
echo ${{ inputs.kubeconfig }} | base64 -d > ~/.kube/config && echo ${{ inputs.kubeconfig }} | base64 -d > ~/.kube/config &&
chmod 700 ~/.kube/config chmod 700 ~/.kube/config
echo "Finished setting up kubeconfig"
- name: Export Envars - name: Export Envars
shell: bash shell: bash
run: | run: |