From efc58afdda6fe17810640ac469ea828fb5f78bc0 Mon Sep 17 00:00:00 2001 From: 1881R <115949665+1881R@users.noreply.github.com> Date: Sat, 22 Oct 2022 13:37:07 -0700 Subject: [PATCH 1/8] Create trunk --- trunk | 1 + 1 file changed, 1 insertion(+) create mode 100644 trunk diff --git a/trunk b/trunk new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/trunk @@ -0,0 +1 @@ + From 39f9fffcdb86980a68294b11ab69465522f18a83 Mon Sep 17 00:00:00 2001 From: 1881R <115949665+1881R@users.noreply.github.com> Date: Wed, 26 Oct 2022 00:05:53 -0700 Subject: [PATCH 2/8] Google.yml --- .github/workflows/google.yml | 91 ++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 .github/workflows/google.yml diff --git a/.github/workflows/google.yml b/.github/workflows/google.yml new file mode 100644 index 0000000..c60c33a --- /dev/null +++ b/.github/workflows/google.yml @@ -0,0 +1,91 @@ +# This workflow will build a docker container, publish it to Google Container Registry, and deploy it to GKE when there is a push to the "master" branch. +# +# To configure this workflow: +# +# 1. Ensure that your repository contains the necessary configuration for your Google Kubernetes Engine cluster, including deployment.yml, kustomization.yml, service.yml, etc. +# +# 2. Create and configure a Workload Identity Provider for GitHub (https://github.com/google-github-actions/auth#setting-up-workload-identity-federation) +# +# 3. Change the values for the GAR_LOCATION, GKE_ZONE, GKE_CLUSTER, IMAGE, REPOSITORY and DEPLOYMENT_NAME environment variables (below). +# +# For more support on how to run the workflow, please visit https://github.com/google-github-actions/setup-gcloud/tree/master/example-workflows/gke-kustomize + +name: Build and Deploy to GKE + +on: + push: + branches: [ "master" ] + +env: + PROJECT_ID: ${{ secrets.GKE_PROJECT }} + GAR_LOCATION: us-central1 # TODO: update region of the Artifact Registry + GKE_CLUSTER: cluster-1 # TODO: update to cluster name + GKE_ZONE: us-central1-c # TODO: update to cluster zone + DEPLOYMENT_NAME: gke-test # TODO: update to deployment name + REPOSITORY: samples # TODO: update to Artifact Registry docker repository + IMAGE: static-site + +jobs: + setup-build-publish-deploy: + name: Setup, Build, Publish, and Deploy + runs-on: ubuntu-latest + environment: production + + permissions: + contents: 'read' + id-token: 'write' + + steps: + - name: Checkout + uses: actions/checkout@v3 + + # Configure Workload Identity Federation and generate an access token. + - id: 'auth' + name: 'Authenticate to Google Cloud' + uses: 'google-github-actions/auth@v0' + with: + token_format: 'access_token' + workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' + service_account: 'my-service-account@my-project.iam.gserviceaccount.com' + + # Alternative option - authentication via credentials json + # - id: 'auth' + # uses: 'google-github-actions/auth@v0' + # with: + # credentials_json: '${{ secrets.GCP_CREDENTIALS }}' + + - name: Docker configuration + run: |- + echo ${{steps.auth.outputs.access_token}} | docker login -u oauth2accesstoken --password-stdin https://$GAR_LOCATION-docker.pkg.dev + # Get the GKE credentials so we can deploy to the cluster + - name: Set up GKE credentials + uses: google-github-actions/get-gke-credentials@v0 + with: + cluster_name: ${{ env.GKE_CLUSTER }} + location: ${{ env.GKE_ZONE }} + + # Build the Docker image + - name: Build + run: |- + docker build \ + --tag "$GAR_LOCATION-docker.pkg.dev/$PROJECT_ID/$REPOSITORY/$IMAGE:$GITHUB_SHA" \ + --build-arg GITHUB_SHA="$GITHUB_SHA" \ + --build-arg GITHUB_REF="$GITHUB_REF" \ + . + # Push the Docker image to Google Artifact Registry + - name: Publish + run: |- + docker push "$GAR_LOCATION-docker.pkg.dev/$PROJECT_ID/$REPOSITORY/$IMAGE:$GITHUB_SHA" + # Set up kustomize + - name: Set up Kustomize + run: |- + curl -sfLo kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64 + chmod u+x ./kustomize + # Deploy the Docker image to the GKE cluster + - name: Deploy + run: |- + # replacing the image name in the k8s template + ./kustomize edit set image LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY/IMAGE:TAG=$GAR_LOCATION-docker.pkg.dev/$PROJECT_ID/$REPOSITORY/$IMAGE:$GITHUB_SHA + ./kustomize build . | kubectl apply -f - + kubectl rollout status deployment/$DEPLOYMENT_NAME + kubectl get services -o wide From 9c6ae726d18819fe7d1c958ebbfeb7a30e02ad8c Mon Sep 17 00:00:00 2001 From: 1881R <115949665+1881R@users.noreply.github.com> Date: Fri, 11 Nov 2022 12:17:56 -0800 Subject: [PATCH 3/8] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..078b2d2 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,24 @@ +# Xcode +# Build, test, and archive an Xcode workspace on macOS. +# Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/xcode + +trigger: +- master + +pool: + vmImage: 'macos-latest' + +steps: +- task: Xcode@5 + inputs: + actions: 'build' + scheme: '' + sdk: 'iphoneos' + configuration: 'Release' + xcWorkspacePath: '**/*.xcodeproj/project.xcworkspace' +- task: Xcode@5 + inputs: + actions: 'build' + packageApp: false + xcodeVersion: 'default' # Options: 8, 9, 10, 11, 12, default, specifyPath From e5b21cb40ce6a3f052e55b316b9702f6336760f8 Mon Sep 17 00:00:00 2001 From: 1881R <115949665+1881R@users.noreply.github.com> Date: Mon, 5 Dec 2022 02:10:38 -0800 Subject: [PATCH 4/8] Created file with oXygen XML Web Author. --- XHTML 5.xhtml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 XHTML 5.xhtml diff --git a/XHTML 5.xhtml b/XHTML 5.xhtml new file mode 100644 index 0000000..9f70f69 --- /dev/null +++ b/XHTML 5.xhtml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file From bf6e262d30c61fa7404ed848c2bb138f555042a2 Mon Sep 17 00:00:00 2001 From: 1881R <115949665+1881R@users.noreply.github.com> Date: Thu, 8 Dec 2022 10:20:31 -0800 Subject: [PATCH 5/8] Created file with oXygen XML Web Author. --- cs-puppet-ci/XHTML 5.xhtml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 cs-puppet-ci/XHTML 5.xhtml diff --git a/cs-puppet-ci/XHTML 5.xhtml b/cs-puppet-ci/XHTML 5.xhtml new file mode 100644 index 0000000..9f70f69 --- /dev/null +++ b/cs-puppet-ci/XHTML 5.xhtml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file From f254dce9561ba7c4296bd99010026cc253605e6d Mon Sep 17 00:00:00 2001 From: 1881R <115949665+1881R@users.noreply.github.com> Date: Thu, 8 Dec 2022 10:24:55 -0800 Subject: [PATCH 6/8] Created file with oXygen XML Web Author. --- cs-puppet-ci/XHTML 5.xhtml | 58 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/cs-puppet-ci/XHTML 5.xhtml b/cs-puppet-ci/XHTML 5.xhtml index 9f70f69..1fec433 100644 --- a/cs-puppet-ci/XHTML 5.xhtml +++ b/cs-puppet-ci/XHTML 5.xhtml @@ -2,8 +2,62 @@ - + ELEGY VIII + THE COMPARISON - + AS the sweet sweat of roses in a still, +As that which from chafed musk cat's pores doth trill, +As the almighty balm of th' early east, +Such are the sweat drops of my mistress' breast ; +And on her neck her skin such lustre sets, +They seem no sweat drops, but pearl carcanets. +Rank sweaty froth thy mistress' brow defiles, +Like spermatic issue of ripe menstruous boils, +Or like the scum, which, by need's lawless law +Enforced, Sanserra's starvèd men did draw +From parboil'd shoes and boots, and all the rest +Which were with any sovereign fatness blest ; +And like vile lying stones in saffron'd tin, +Or warts, or wheals, it hangs upon her skin. +Round as the world's her head, on every side, +Like to the fatal ball which fell on Ide ; +Or that whereof God had such jealousy, +As for the ravishing thereof we die. +Thy head is like a rough-hewn statue of jet, +Where marks for eyes, nose, mouth, are yet scarce set ; +Like the first chaos, or flat seeming face +Of Cynthia, when th' earth's shadows her embrace. +Like Proserpine's white beauty-keeping chest, +Or Jove's best fortune's urn, is her fair breast. +Thine's like worm-eaten trunks, clothed in seal's skin, +Or grave, that's dust without, and stink within. +And like that slender stalk, at whose end stands +The woodbine quivering, are her arms and hands. +Like rough-bark'd elm-boughs, or the russet skin +Of men late scourged for madness, or for sin, +Like sun-parch'd quarters on the city gate, +Such is thy tann'd skin's lamentable state ; +And like a bunch of ragged carrots stand +The short swollen fingers of thy gouty hand. +Then like the chemic's masculine equal fire, +Which in the limbec's warm womb doth inspire +Into th' earth's worthless dirt a soul of gold, +Such cherishing heat her best loved part doth hold. +Thine's like the dread mouth of a fired gun, +Or like hot liquid metals newly run +Into clay moulds, or like to that Ætna, +Where round about the grass is burnt away. +Are not your kisses then as filthy, and more, +As a worm sucking an envenom'd sore? +Doth not thy fearful hand in feeling quake, +As one which gathering flowers still fears a snake? +Is not your last act harsh and violent, +As when a plough a stony ground doth rent? +So kiss good turtles, so devoutly nice +Are priests in handling reverent sacrifice, +And such in searching wounds the surgeon is, +As we, when we embrace, or touch, or kiss. +Leave her, and I will leave comparing thus, +She and comparisons are odious. \ No newline at end of file From 90cbbaf1fe23c0fbd3d0a6ee26d9df2a60596216 Mon Sep 17 00:00:00 2001 From: 1881R <115949665+1881R@users.noreply.github.com> Date: Thu, 8 Dec 2022 10:34:33 -0800 Subject: [PATCH 7/8] Created file with oXygen XML Web Author. --- cs-puppet-ci/XHTML 5.xhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cs-puppet-ci/XHTML 5.xhtml b/cs-puppet-ci/XHTML 5.xhtml index 1fec433..65c34bd 100644 --- a/cs-puppet-ci/XHTML 5.xhtml +++ b/cs-puppet-ci/XHTML 5.xhtml @@ -2,8 +2,8 @@ - ELEGY VIII - THE COMPARISON + .ELEGELEGELEGYELEGELEGELEGYELEGYELEGELEGELEGYELEGELEGELEGYELEGYELEGYELEGY VIII THE +COMPARISON AS the sweet sweat of roses in a still, As that which from chafed musk cat's pores doth trill, From 45259e63175f49cc5808fc611d6d32b8d9db50a1 Mon Sep 17 00:00:00 2001 From: 1881R <115949665+1881R@users.noreply.github.com> Date: Thu, 8 Dec 2022 10:35:01 -0800 Subject: [PATCH 8/8] Created file with oXygen XML Web Author.