Skip to content

Instantly share code, notes, and snippets.

@Noordsestern
Last active August 22, 2023 09:22
Show Gist options
  • Save Noordsestern/e9e67971640f8afef7435ad18ca34ed8 to your computer and use it in GitHub Desktop.
Save Noordsestern/e9e67971640f8afef7435ad18ca34ed8 to your computer and use it in GitHub Desktop.
Deploy Wtih Score with wget
Deploy With Score:
stage: deploy
image: golang:1.19
variables:
HUMANITEC_ORG: noordsestern
APPLICATION_ID: score-cronjob
TARGET_ENVIRONMENT: development
before_script:
- wget https://github.com/score-spec/score-humanitec/releases/download/0.6.0/score-humanitec_0.6.0_linux_amd64.tar.gz
- tar -xvzf score-humanitec_0.6.0_linux_amd64.tar.gz
- chmod a+x score-humanitec
script:
- score-humanitec delta
--org $HUMANITEC_ORG
--app $APPLICATION_ID
--env $TARGET_ENVIRONMENT
--token $HUMANITEC_TOKEN
--file score.yaml
--deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment