-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test initial workflows for kubefirst-api * trigger ci * new template ref for output macro version * fix template input value * trigger ci after macro chart bump * trigger ci after macro chart bump * Update .github/workflows/main.yaml --------- Co-authored-by: Jared Edwards <[email protected]>
- Loading branch information
1 parent
74d5691
commit a884e9e
Showing
3 changed files
with
93 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,75 +43,75 @@ jobs: | |
-p shortSha="${GITHUB_SHA_SHORT}" \ | ||
--wait --log | ||
- run: echo "⭐️ the kubefirst open source platform is powered by github stars. give kubefirst one today https://github.com/kubefirst/kubefirst" | ||
development: | ||
needs: publish | ||
runs-on: self-hosted | ||
steps: | ||
- name: Setup Runner for Argo | ||
run: | | ||
cd $HOME | ||
echo "Install argo" | ||
# Download the binary | ||
curl -sLO https://github.com/argoproj/argo-workflows/releases/download/${ARGO_VERSION}/argo-linux-amd64.gz | ||
# Unzip | ||
gunzip argo-linux-amd64.gz | ||
# Make binary executable | ||
chmod +x argo-linux-amd64 | ||
# Move binary to path | ||
sudo mv ./argo-linux-amd64 /usr/local/bin/argo | ||
# Test installation | ||
argo version --short | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Inject slug/short variables | ||
uses: rlespinasse/github-slug-action@v4 | ||
- name: development | ||
run: | | ||
echo "commit sha $GITHUB_SHA" | ||
argo version --short | ||
argo submit .argo/deploy.yaml \ | ||
--generate-name="${GITHUB_REPOSITORY_NAME_PART}-development-${GITHUB_SHA_SHORT}-" \ | ||
-p appName="${GITHUB_REPOSITORY_NAME_PART}" \ | ||
-p branch="${GITHUB_REF_NAME}" \ | ||
-p clusterName="mgmt-20-kubefirst-com" \ | ||
-p environment="development" \ | ||
-p gitUrlNoProtocol="[email protected]:${GITHUB_REPOSITORY_OWNER_PART_SLUG}" \ | ||
-p shortSha="${GITHUB_SHA_SHORT}" \ | ||
--wait --log | ||
- run: echo "⭐️ the kubefirst open source platform is powered by github stars. give kubefirst one today https://github.com/kubefirst/kubefirst" | ||
staging: | ||
needs: development | ||
runs-on: self-hosted | ||
steps: | ||
- name: Setup Runner for Argo | ||
run: | | ||
cd $HOME | ||
echo "Install argo" | ||
# Download the binary | ||
curl -sLO https://github.com/argoproj/argo-workflows/releases/download/${ARGO_VERSION}/argo-linux-amd64.gz | ||
# Unzip | ||
gunzip argo-linux-amd64.gz | ||
# Make binary executable | ||
chmod +x argo-linux-amd64 | ||
# Move binary to path | ||
sudo mv ./argo-linux-amd64 /usr/local/bin/argo | ||
# Test installation | ||
argo version --short | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Inject slug/short variables | ||
uses: rlespinasse/github-slug-action@v4 | ||
- name: staging | ||
run: | | ||
echo "commit sha $GITHUB_SHA" | ||
argo version --short | ||
argo submit .argo/deploy.yaml \ | ||
--generate-name="${GITHUB_REPOSITORY_NAME_PART}-staging-${GITHUB_SHA_SHORT}-" \ | ||
-p appName="${GITHUB_REPOSITORY_NAME_PART}" \ | ||
-p branch="${GITHUB_REF_NAME}" \ | ||
-p clusterName="mgmt-20-kubefirst-com" \ | ||
-p environment="staging" \ | ||
-p gitUrlNoProtocol="[email protected]:${GITHUB_REPOSITORY_OWNER_PART_SLUG}" \ | ||
-p shortSha="${GITHUB_SHA_SHORT}" \ | ||
--wait --log | ||
- run: echo "⭐️ the kubefirst open source platform is powered by github stars. give kubefirst one today https://github.com/kubefirst/kubefirst" | ||
# development: | ||
# needs: publish | ||
# runs-on: self-hosted | ||
# steps: | ||
# - name: Setup Runner for Argo | ||
# run: | | ||
# cd $HOME | ||
# echo "Install argo" | ||
# # Download the binary | ||
# curl -sLO https://github.com/argoproj/argo-workflows/releases/download/${ARGO_VERSION}/argo-linux-amd64.gz | ||
# # Unzip | ||
# gunzip argo-linux-amd64.gz | ||
# # Make binary executable | ||
# chmod +x argo-linux-amd64 | ||
# # Move binary to path | ||
# sudo mv ./argo-linux-amd64 /usr/local/bin/argo | ||
# # Test installation | ||
# argo version --short | ||
# - name: Check out repository code | ||
# uses: actions/checkout@v3 | ||
# - name: Inject slug/short variables | ||
# uses: rlespinasse/github-slug-action@v4 | ||
# - name: development | ||
# run: | | ||
# echo "commit sha $GITHUB_SHA" | ||
# argo version --short | ||
# argo submit .argo/deploy.yaml \ | ||
# --generate-name="${GITHUB_REPOSITORY_NAME_PART}-development-${GITHUB_SHA_SHORT}-" \ | ||
# -p appName="${GITHUB_REPOSITORY_NAME_PART}" \ | ||
# -p branch="${GITHUB_REF_NAME}" \ | ||
# -p clusterName="mgmt-20-kubefirst-com" \ | ||
# -p environment="development" \ | ||
# -p gitUrlNoProtocol="[email protected]:${GITHUB_REPOSITORY_OWNER_PART_SLUG}" \ | ||
# -p shortSha="${GITHUB_SHA_SHORT}" \ | ||
# --wait --log | ||
# - run: echo "⭐️ the kubefirst open source platform is powered by github stars. give kubefirst one today https://github.com/kubefirst/kubefirst" | ||
# staging: | ||
# needs: development | ||
# runs-on: self-hosted | ||
# steps: | ||
# - name: Setup Runner for Argo | ||
# run: | | ||
# cd $HOME | ||
# echo "Install argo" | ||
# # Download the binary | ||
# curl -sLO https://github.com/argoproj/argo-workflows/releases/download/${ARGO_VERSION}/argo-linux-amd64.gz | ||
# # Unzip | ||
# gunzip argo-linux-amd64.gz | ||
# # Make binary executable | ||
# chmod +x argo-linux-amd64 | ||
# # Move binary to path | ||
# sudo mv ./argo-linux-amd64 /usr/local/bin/argo | ||
# # Test installation | ||
# argo version --short | ||
# - name: Check out repository code | ||
# uses: actions/checkout@v3 | ||
# - name: Inject slug/short variables | ||
# uses: rlespinasse/github-slug-action@v4 | ||
# - name: staging | ||
# run: | | ||
# echo "commit sha $GITHUB_SHA" | ||
# argo version --short | ||
# argo submit .argo/deploy.yaml \ | ||
# --generate-name="${GITHUB_REPOSITORY_NAME_PART}-staging-${GITHUB_SHA_SHORT}-" \ | ||
# -p appName="${GITHUB_REPOSITORY_NAME_PART}" \ | ||
# -p branch="${GITHUB_REF_NAME}" \ | ||
# -p clusterName="mgmt-20-kubefirst-com" \ | ||
# -p environment="staging" \ | ||
# -p gitUrlNoProtocol="[email protected]:${GITHUB_REPOSITORY_OWNER_PART_SLUG}" \ | ||
# -p shortSha="${GITHUB_SHA_SHORT}" \ | ||
# --wait --log | ||
# - run: echo "⭐️ the kubefirst open source platform is powered by github stars. give kubefirst one today https://github.com/kubefirst/kubefirst" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters